| Internal API Reference - Memory Management | 
| Desktop Apps Training - Policy Kit | ||||||||||||||||||||||
 Synopsis
 Detailskit_malloc ()void* kit_malloc (size_t bytes); Allocate memory 
 
 kit_malloc0 ()void* kit_malloc0 (size_t bytes); Allocate memory and zero it. 
 
 kit_realloc ()void* kit_realloc (void *memory, Reallocate memory; like realloc(3). 
 
 kit_free ()void kit_free (void *memory); Free memory allocated by kit_malloc() + friends. 
 
 kit_new()#define kit_new(type, count) ((type*)kit_malloc (sizeof (type) * (count))); Allocate memory for count structures of type type. 
 
  |