#include <gul_types.h>
Static Public Methods | |
void * | allocate (size_t n) |
void | deallocate (void *p, size_t n) |
|
Definition at line 1943 of file gul_types.h. References gust::PreferPoolAlloc().
01944 { 01945 size_t dummy; 01946 void *p = gust::PreferPoolAlloc( n, &dummy ); 01947 if( p == 0 ) throw gul::AllocError(); 01948 return p; 01949 } |
|
Definition at line 1950 of file gul_types.h. References gust::PreferPoolFree().
01951 { 01952 gust::PreferPoolFree( p, n ); 01953 } |