Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
XMemUtils.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "XMemUtils.h"
#include "Util.h"

Macros

#define ALIGN(value, alignment)   (((value)+(alignment-1))&~(alignment-1))
 

Functions

void_aligned_malloc (size_t s, size_t alignTo)
 
void _aligned_free (void *p)
 
void GlobalMemoryStatusEx (LPMEMORYSTATUSEX lpBuffer)
 

Macro Definition Documentation

◆ ALIGN

#define ALIGN (   value,
  alignment 
)    (((value)+(alignment-1))&~(alignment-1))

Function Documentation

◆ _aligned_free()

void _aligned_free ( void p)

◆ _aligned_malloc()

void * _aligned_malloc ( size_t  s,
size_t  alignTo 
)

◆ GlobalMemoryStatusEx()

void GlobalMemoryStatusEx ( LPMEMORYSTATUSEX  lpBuffer)