summaryrefslogtreecommitdiffstats
path: root/src/fakerw
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-18 14:19:03 +0100
committeraap <aap@papnet.eu>2020-12-18 14:19:03 +0100
commitf3a356375e084caf50eed38b06ca6885d2d92b9d (patch)
tree53300108969fc1cc9efe48d8f24d8853974465ba /src/fakerw
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-f3a356375e084caf50eed38b06ca6885d2d92b9d.tar
re3-f3a356375e084caf50eed38b06ca6885d2d92b9d.tar.gz
re3-f3a356375e084caf50eed38b06ca6885d2d92b9d.tar.bz2
re3-f3a356375e084caf50eed38b06ca6885d2d92b9d.tar.lz
re3-f3a356375e084caf50eed38b06ca6885d2d92b9d.tar.xz
re3-f3a356375e084caf50eed38b06ca6885d2d92b9d.tar.zst
re3-f3a356375e084caf50eed38b06ca6885d2d92b9d.zip
Diffstat (limited to 'src/fakerw')
-rw-r--r--src/fakerw/rwplcore.h6
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);