GLUS
Functions
glus_memory.c File Reference
#include "GL/glus.h"

Functions

void *GLUSAPIENTRY glusMemoryMalloc (size_t size)
 Allocate memory block. More...
 
void GLUSAPIENTRY glusMemoryFree (void *pointer)
 Deallocate memory block. More...
 

Function Documentation

void GLUSAPIENTRY glusMemoryFree ( void *  pointer)

Deallocate memory block.

Parameters
pointerPointer to a memory block previously allocated with glusMalloc.
void* GLUSAPIENTRY glusMemoryMalloc ( size_t  size)

Allocate memory block.

Parameters
sizeSize of the memory block in bytes.
Returns
Returns on success the pointer to allocated memory. Otherwise null is returned.