Shinobi Library - Memory Management Function

syMalloc

Allocates the memory

FORMAT

Void *syMalloc( size )
Uint32 size

PARAMETER

 size  Requested size(bytes) 

RETURN

Pointer to allocated area

DESCRIPTION

Allocates the memory.

This function is the same as the standard C function malloc(size).

If the return value is NULL, securing memory has failed.

This function always allocates memory in alignment with 32-byte boundaries. Defining the data size in alignment with 32-byte boundaries permits efficient allocation of memory.


REFERENCE

syMallocInit()
syMallocStat()

syMalloc
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999