#include <nitro/vx.h>
extern void* VX_Malloc ( u32 size );
extern void VX_Free ( void* mem_p );
Allocator/Deallocator functions VX_Malloc and VX_Free are used to perform any dynamic allocation/deallocation done in the libVX library. VX_Malloc and VX_Free are not implemented in the libVX library, but instead declared extern. You must provide an implementation to these functions in your program !!! This gives you freedom to use classic malloc/free functions or any custom allocation routines you may have. VX_Malloc is used only byVX_OpenMovieFromMemoryandVX_OpenMovieFromFilefunctions. VX_Free is used only byVX_CloseMoviefunction.
Same as malloc/free standard functions
Same as malloc/free standard functions
02/15/2006 Added list of functions who are calling VX_Malloc/VX_Free in libVX 10/26/2005 Initial Version