If _USE_RAK_MEMORY_OVERRIDE is defined, memory allocations go through rakMalloc, rakRealloc, and rakFree.
More...
Namespaces |
| namespace | RakNet |
| | Simple class to send changes between directories. In essence, a simple autopatcher that can be used for transmitting levels, skins, etc.
|
Functions |
| void * | RakNet::_DLMallocDirectMMap (size_t size) |
| void * | RakNet::_DLMallocMMap (size_t size) |
| int | RakNet::_DLMallocMUnmap (void *p, size_t size) |
| void | RakNet::_RakFree (void *p) |
| void | RakNet::_RakFree_Ex (void *p, const char *file, unsigned int line) |
| void * | RakNet::_RakMalloc (size_t size) |
| void * | RakNet::_RakMalloc_Ex (size_t size, const char *file, unsigned int line) |
| void * | RakNet::_RakRealloc (void *p, size_t size) |
| void * | RakNet::_RakRealloc_Ex (void *p, size_t size, const char *file, unsigned int line) |
| void | FreeRakNetFixedHeap (void) |
| template<class Type > |
| void | RakNet::OP_DELETE (Type *buff, const char *file, unsigned int line) |
| template<class Type > |
| void | RakNet::OP_DELETE_ARRAY (Type *buff, const char *file, unsigned int line) |
| template<class Type > |
| Type * | RakNet::OP_NEW (const char *file, unsigned int line) |
| template<class Type , class P1 > |
| Type * | RakNet::OP_NEW_1 (const char *file, unsigned int line, const P1 &p1) |
| template<class Type , class P1 , class P2 > |
| Type * | RakNet::OP_NEW_2 (const char *file, unsigned int line, const P1 &p1, const P2 &p2) |
| template<class Type , class P1 , class P2 , class P3 > |
| Type * | RakNet::OP_NEW_3 (const char *file, unsigned int line, const P1 &p1, const P2 &p2, const P3 &p3) |
| template<class Type , class P1 , class P2 , class P3 , class P4 > |
| Type * | RakNet::OP_NEW_4 (const char *file, unsigned int line, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4) |
| template<class Type > |
| Type * | RakNet::OP_NEW_ARRAY (const int count, const char *file, unsigned int line) |
| void | SetDLMallocDirectMMap (void *(*userFunction)(size_t size)) |
| void | SetDLMallocMMap (void *(*userFunction)(size_t size)) |
| void | SetDLMallocMUnmap (int(*userFunction)(void *ptr, size_t size)) |
| void | SetFree (void(*userFunction)(void *p)) |
| void | SetFree_Ex (void(*userFunction)(void *p, const char *file, unsigned int line)) |
| void | SetMalloc (void *(*userFunction)(size_t size)) |
| void | SetMalloc_Ex (void *(*userFunction)(size_t size, const char *file, unsigned int line)) |
| void | SetNotifyOutOfMemory (void(*userFunction)(const char *file, const long line)) |
| void | SetRealloc (void *(*userFunction)(void *p, size_t size)) |
| void | SetRealloc_Ex (void *(*userFunction)(void *p, size_t size, const char *file, unsigned int line)) |
| void | UseRaknetFixedHeap (size_t initialCapacity, void *(*yourMMapFunction)(size_t size)=RakNet::_DLMallocMMap, void *(*yourDirectMMapFunction)(size_t size)=RakNet::_DLMallocDirectMMap, int(*yourMUnmapFunction)(void *p, size_t size)=RakNet::_DLMallocMUnmap) |
Variables |
| void *(* | dlMallocDirectMMap )(size_t size) |
| void *(* | dlMallocMMap )(size_t size) |
| int(* | dlMallocMUnmap )(void *ptr, size_t size) |
| void *(*)(size_t size) | GetDLMallocDirectMMap () |
| void *(*)(size_t size) | GetDLMallocMMap () |
| int(*)(void *ptr, size_t size) | GetDLMallocMUnmap () |
| void(*)(void *p) | GetFree () |
void(*)(void *p, const char
*file, unsigned int line) | GetFree_Ex () |
| void *(*)(size_t size) | GetMalloc () |
void *(*)(size_t size, const
char *file, unsigned int line) | GetMalloc_Ex () |
| void *(*)(void *p, size_t size) | GetRealloc () |
void *(*)(void *p, size_t size,
const char *file, unsigned int
line) | GetRealloc_Ex () |
| void(* | notifyOutOfMemory )(const char *file, const long line) |
| void(* | rakFree )(void *p) |
| void(* | rakFree_Ex )(void *p, const char *file, unsigned int line) |
| void *(* | rakMalloc )(size_t size) |
| void *(* | rakMalloc_Ex )(size_t size, const char *file, unsigned int line) |
| void *(* | rakRealloc )(void *p, size_t size) |
| void *(* | rakRealloc_Ex )(void *p, size_t size, const char *file, unsigned int line) |
This file is part of RakNet Copyright 2003 Jenkins Software LLC
Usage of RakNet is subject to the appropriate license agreement.
Definition in file RakMemoryOverride.h.