Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

gul::pool_bytealloc Class Reference

#include <gul_types.h>

List of all members.

Static Public Methods

void * allocate (size_t n)
void deallocate (void *p, size_t n)


Member Function Documentation

void* gul::pool_bytealloc::allocate size_t    n [inline, static]
 

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   }

void gul::pool_bytealloc::deallocate void *    p,
size_t    n
[inline, static]
 

Definition at line 1950 of file gul_types.h.

References gust::PreferPoolFree().

01951   {
01952     gust::PreferPoolFree( p, n );
01953   }


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 04:17:59 2002 for GUL 0.6 - Geometry Utility Library by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001