Memory allocator class.
More...
#include <TDynamicBuffer.h>
|
| typedef int | handle_t |
| | Dummy type for allocators which need handles.
|
| |
|
| static void * | allocmem (handle_t &, size_t sz) |
| | Allocates the memory for a dynamic buffer.
|
| |
| static void * | reallocmem (handle_t &, void *p, size_t sz) |
| | Reallocates the memory for a dynamic buffer.
|
| |
| static void | freemem (handle_t, void *&p) |
| | Frees the memory for a dynamic buffer.
|
| |
◆ handle_t
Dummy type for allocators which need handles.
◆ allocmem()
| static void * sf::Allocator::allocmem |
( |
handle_t & |
, |
|
|
size_t |
sz |
|
) |
| |
|
inlinestatic |
Allocates the memory for a dynamic buffer.
◆ freemem()
| static void sf::Allocator::freemem |
( |
handle_t |
, |
|
|
void *& |
p |
|
) |
| |
|
inlinestatic |
Frees the memory for a dynamic buffer.
◆ reallocmem()
| static void * sf::Allocator::reallocmem |
( |
handle_t & |
, |
|
|
void * |
p, |
|
|
size_t |
sz |
|
) |
| |
|
inlinestatic |
Reallocates the memory for a dynamic buffer.
The documentation for this struct was generated from the following file: