cocos2d-x  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CrtAllocator Class Reference

C-runtime library allocator. More...

#include <rapidjson.h>

Inheritance diagram for CrtAllocator:
Allocator

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)
local Free ( local ptr)

Static Public Attributes

static const bool kNeedFree = true
var 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)
inlinestatic
var Free ( var  ptr)
inlinestatic
local Free ( local  ptr)
inlinestatic
void* Malloc ( size_t  size)
inline
var Malloc ( var  size)
inline
local Malloc ( local  size)
inline
void* Realloc ( void *  originalPtr,
size_t  originalSize,
size_t  newSize 
)
inline
var Realloc ( var  originalPtr,
var  originalSize,
var  newSize 
)
inline
local Realloc ( local  originalPtr,
local  originalSize,
local  newSize 
)
inline

Member Data Documentation

const bool kNeedFree = true
static
var kNeedFree = true
static
local kNeedFree = true
static

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