MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Functions
stb_memory.h File Reference

System Memory allocation interface. More...

#include "techtype.h"

Go to the source code of this file.

Functions

void * STB_MemAlloc (U32BIT memSize)
 Allocates the specified number of bytes. More...
 
void STB_MemFree (void *ptr)
 Releases previously allocated memory. More...
 

Detailed Description

System Memory allocation interface.

Date
31/01/2014
Author
Adam Sturtridge

Function Documentation

void* STB_MemAlloc ( U32BIT  memSize)

Allocates the specified number of bytes.

Parameters
sizeRequired size of new memory block.
Returns
Pointer to memory location.
void STB_MemFree ( void *  ptr)

Releases previously allocated memory.

Parameters
ptrPointer to the memory block to be freed