summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pso/THeap.h3
-rw-r--r--src/pso/THeap.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/pso/THeap.h b/include/pso/THeap.h
index f906dd0..b248bd7 100644
--- a/include/pso/THeap.h
+++ b/include/pso/THeap.h
@@ -9,6 +9,9 @@
void *heap_xfree(void *ptr);
void *heap_xmalloc(size_t size);
+extern THeap *obj_heap;
+extern THeap *alt_heap;
+
class THeap {
public:
u8 *heap;
diff --git a/src/pso/THeap.cpp b/src/pso/THeap.cpp
index 2ed961a..3967f95 100644
--- a/src/pso/THeap.cpp
+++ b/src/pso/THeap.cpp
@@ -8,6 +8,9 @@
static const int heap_offset = 8;
+THeap *obj_heap;
+THeap *alt_heap;
+
void xfree(void *ptr) {
}