Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
CrtAllocator Class Reference

C-runtime library allocator. More...

`#include <allocators.h>`

Inheritance diagram for CrtAllocator:

## Public Member Functions
void * | Malloc (size_t size)
void * | Realloc (void *originalPtr, size_t originalSize, size_t newSize)

## Static Public Member Functions
static void | Free (void *ptr)

## Static Public Attributes
static const bool | kNeedFree = true

## Detailed Description

C-runtime library allocator.

This class is just wrapper for standard C library memory routines.

## Member Function Documentation

static void Free | ( | void * | ptr | ) |
| inline static

void* Malloc | ( | size_t | size | ) |
| inline

void* Realloc | ( | void * | originalPtr,
|  | size_t | originalSize,
|  | size_t | newSize
| ) |  |
| inline

## Member Data Documentation

const bool kNeedFree = true
| static

The documentation for this class was generated from the following file:

- persistence/rapidjson/include/rapidjson/allocators.h