#include <stdlib.h>
#include <gandalf/common/misc_defs.h>
Go to the source code of this file.
Defines | |
#define | obj_type int x |
Typedefs | |
typedef void(* | Gan_FreeFunc )(void *) |
Generic free function type. | |
typedef void *(* | Gan_CopyFunc )(void *) |
Generic copy function type. | |
Functions | |
void * | gan_malloc_object (TYPE obj_type) |
Macro: Allocate an object of a specific type using malloc() . | |
void * | gan_malloc_array (TYPE obj_type, unsigned size) |
Macro: Allocate an array of objects of a specific type using malloc() . | |
void * | gan_realloc_array (TYPE obj_type, void *ptr, unsigned size) |
Macro: Reallocate an array of objects using realloc() . |
Part of: Gandalf Library