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

Memory functions. More...

#include "stb_memory.h"
#include "dtvstring.h"
#include <string.h>

Go to the source code of this file.

Macros

#define SYS_Alloc   STB_MemAlloc
 
#define SYS_Free   STB_MemFree
 
#define DSMAlloc   STB_MemAlloc
 
#define DSMFree   STB_MemFree
 
#define FT2_MemAlloc   STB_MemAlloc
 
#define FT2_MemFree   STB_MemFree
 
#define MHEG5getMem   STB_MemAlloc
 
#define MHEG5freeMem   STB_MemFree
 
#define OSD_MemAlloc   STB_MemAlloc
 
#define OSD_MemFree   STB_MemFree
 

Functions

BOOLEAN MH5GlueMemoryInitialise (void)
 
void MH5GlueMemoryTerminate (void)
 
void MHEG5freeMemFunc (void *what)
 Free some memory allocated by a call to MHEG5getMemFunc. More...
 
unsigned char * STR_DataAlloc (unsigned int size)
 
S_STRING MH5GlueStringAlloc (U32BIT size)
 
S_STRING MH5GlueStringCreate (U32BIT size, U8BIT *data)
 
S_STRING MH5GlueStringCopy (S_STRING source)
 
S_STRING MH5GlueStringConcat (S_STRING src1, S_STRING src2)
 
void STR_Shutdown (void)
 
void STR_TidyUp (void)
 
void STR_DataFree (unsigned char *data, unsigned int size)
 
void MH5GlueStringFree (S_STRING *pStr)
 

Detailed Description

Memory functions.

Date
18 October 2011
Author
Adam Sturtridge

Function Documentation

void MHEG5freeMemFunc ( void *  what)

Free some memory allocated by a call to MHEG5getMemFunc.

Parameters
whatPointer to allocated memory.
Returns
void