diff options
author | aap <aap@papnet.eu> | 2020-11-25 22:49:50 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-25 22:49:50 +0100 |
commit | 4ddc35634160da5779c46ab63a5b3d351af50b83 (patch) | |
tree | 9e38a65296bb049d0292948c135ef8f3a939df9b /src/fakerw/rwplcore.h | |
parent | implemented CMemoryHeap, not used or tested yet (diff) | |
download | re3-4ddc35634160da5779c46ab63a5b3d351af50b83.tar re3-4ddc35634160da5779c46ab63a5b3d351af50b83.tar.gz re3-4ddc35634160da5779c46ab63a5b3d351af50b83.tar.bz2 re3-4ddc35634160da5779c46ab63a5b3d351af50b83.tar.lz re3-4ddc35634160da5779c46ab63a5b3d351af50b83.tar.xz re3-4ddc35634160da5779c46ab63a5b3d351af50b83.tar.zst re3-4ddc35634160da5779c46ab63a5b3d351af50b83.zip |
Diffstat (limited to 'src/fakerw/rwplcore.h')
-rw-r--r-- | src/fakerw/rwplcore.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fakerw/rwplcore.h b/src/fakerw/rwplcore.h index 79c745b6..511f7678 100644 --- a/src/fakerw/rwplcore.h +++ b/src/fakerw/rwplcore.h @@ -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); |