Static Public Methods | |
void * | get (size_t size) |
void * | resize (void *ptr, size_t size) |
void | free (void *ptr) |
malloc
, realloc
, and free
. Using these allocation routines instead of new
or delete
is more efficient on some platforms.
|
This function makes memory previously allocated by the get() or resize() functions available for further allocation. |
|
This function gets a block of memory of the specified size in bytes and returns a pointer to it. The allocation is made by making a call to
|
|
This function resizes a block of memory specified by ptr to the specified size in bytes and returns a pointer to the new block of memory. The memory is resized by making a call to
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.