From 3a206f92c8b9f75f7ef7f428bea3e09ca5534758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 27 Mar 2022 19:24:34 +0200 Subject: [PATCH] heap/ExpHeap: Declare getAllocatedSize --- lib/sead/include/heap/seadExpHeap.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sead/include/heap/seadExpHeap.h b/lib/sead/include/heap/seadExpHeap.h index e8d81930..1ed58def 100644 --- a/lib/sead/include/heap/seadExpHeap.h +++ b/lib/sead/include/heap/seadExpHeap.h @@ -66,6 +66,9 @@ public: AllocMode getAllocMode() const { return mAllocMode; } void setAllocMode(AllocMode mode) { mAllocMode = mode; } + // XXX: this isn't const-correct... + size_t getAllocatedSize(void* object); + void dumpFreeList() const; void dumpUseList() const;