diff options
author | aap <aap@papnet.eu> | 2020-12-18 14:19:03 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-18 14:19:03 +0100 |
commit | f3a356375e084caf50eed38b06ca6885d2d92b9d (patch) | |
tree | 53300108969fc1cc9efe48d8f24d8853974465ba /src/rw/MemoryMgr.h | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
download | re3-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 '')
-rw-r--r-- | src/rw/MemoryMgr.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rw/MemoryMgr.h b/src/rw/MemoryMgr.h new file mode 100644 index 00000000..e2962806 --- /dev/null +++ b/src/rw/MemoryMgr.h @@ -0,0 +1,12 @@ +#pragma once + +extern RwMemoryFunctions memFuncs; +void InitMemoryMgr(void); + +void *MemoryMgrMalloc(size_t size); +void *MemoryMgrRealloc(void *ptr, size_t size); +void *MemoryMgrCalloc(size_t num, size_t size); +void MemoryMgrFree(void *ptr); + +void *RwMallocAlign(RwUInt32 size, RwUInt32 align); +void RwFreeAlign(void *mem); |