diff options
author | aap <aap@papnet.eu> | 2020-11-28 16:16:15 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-28 17:05:57 +0100 |
commit | a8035b64662e9b9fe6689ec60e5087ff95bc2672 (patch) | |
tree | 31f809fff530c5b7b8ea2a4714766d3284b0caf5 /src/rw/MemoryMgr.h | |
parent | Merge branch 'master' of github.com:GTAmodding/re3 (diff) | |
download | re3-a8035b64662e9b9fe6689ec60e5087ff95bc2672.tar re3-a8035b64662e9b9fe6689ec60e5087ff95bc2672.tar.gz re3-a8035b64662e9b9fe6689ec60e5087ff95bc2672.tar.bz2 re3-a8035b64662e9b9fe6689ec60e5087ff95bc2672.tar.lz re3-a8035b64662e9b9fe6689ec60e5087ff95bc2672.tar.xz re3-a8035b64662e9b9fe6689ec60e5087ff95bc2672.tar.zst re3-a8035b64662e9b9fe6689ec60e5087ff95bc2672.zip |
Diffstat (limited to 'src/rw/MemoryMgr.h')
-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); |