TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Memory.h File Reference
#include "DetourAlloc.h"
+ Include dependency graph for Memory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void * dtCustomAlloc (int size, dtAllocHint)
 
void dtCustomFree (void *ptr)
 

Function Documentation

void* dtCustomAlloc ( int  size,
dtAllocHint   
)
inline
10 {
11  return (void*)new unsigned char[size];
12 }

+ Here is the caller graph for this function:

void dtCustomFree ( void *  ptr)
inline
15 {
16  delete [] (unsigned char*)ptr;
17 }

+ Here is the caller graph for this function: