mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-20 17:09:25 +00:00
added MemoryHeap from III, MemoryMgr
This commit is contained in:
parent
55cf1a37cb
commit
f3a356375e
12 changed files with 855 additions and 47 deletions
|
@ -141,15 +141,15 @@ RwUInt8 RwObjectGetType(const RwObject *obj);
|
|||
***********************************************
|
||||
*/
|
||||
|
||||
struct RwMemoryFunctions;
|
||||
/*
|
||||
struct RwMemoryFunctions
|
||||
{
|
||||
// NB: from RW 3.6 on the allocating functions take
|
||||
// a hint parameter!
|
||||
void *(*rwmalloc)(size_t size);
|
||||
void (*rwfree)(void *mem);
|
||||
void *(*rwrealloc)(void *mem, size_t newSize);
|
||||
void *(*rwcalloc)(size_t numObj, size_t sizeObj);
|
||||
};
|
||||
*/
|
||||
|
||||
void *RwMalloc(size_t size);
|
||||
void RwFree(void *mem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue