36#include <Inventor/C/basic.h>
44 typedef struct cc_memalloc cc_memalloc;
45 typedef int cc_memalloc_strategy_cb(
const int numunits_allocated);
49 COIN_DLL_API cc_memalloc * cc_memalloc_construct(
const unsigned int unitsize);
50 COIN_DLL_API
void cc_memalloc_destruct(cc_memalloc * allocator);
51 COIN_DLL_API
void * cc_memalloc_allocate(cc_memalloc * allocator);
52 COIN_DLL_API
void cc_memalloc_deallocate(cc_memalloc * allocator,
void * ptr);
53 COIN_DLL_API
void cc_memalloc_clear(cc_memalloc * allocator);
54 COIN_DLL_API
void cc_memalloc_set_strategy(cc_memalloc * allocator, cc_memalloc_strategy_cb * cb);