SCT_allocator_s Struct Reference
This structure is used to provide an interface to a memory management system. User can set their own, custom one by calling SCT_SetAllocator. The Init and Close fields are optional, and if set, are called in SCT_Init and SCT_Close respectively.
More...
#include <scotty.h>
|
Data Fields |
void(* | Init )(void) |
void(* | Close )(void) |
void *(* | Alloc )(size_t size) |
void(* | Free )(void *ptr) |
Detailed Description
This structure is used to provide an interface to a memory management system. User can set their own, custom one by calling SCT_SetAllocator. The Init and Close fields are optional, and if set, are called in SCT_Init and SCT_Close respectively.
- See also:
- SCT_SetAllocator
The documentation for this struct was generated from the following file:
Generated on Mon Jan 21 09:33:28 2008 for libscotty by
1.5.4