heap/ExpHeap: Declare getAllocatedSize

This commit is contained in:
Léo Lam 2022-03-27 19:24:34 +02:00
parent a6f37367d2
commit 3a206f92c8
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 3 additions and 0 deletions

View File

@ -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;