This commit is contained in:
Jcw87
2023-10-10 02:24:45 -07:00
parent a1db9f3938
commit 735e4c169e
4 changed files with 484 additions and 73 deletions
+4
View File
@@ -223,6 +223,10 @@ inline JKRHeap* JKRGetCurrentHeap() {
return JKRHeap::getCurrentHeap();
}
inline JKRHeap* JKRSetCurrentHeap(JKRHeap* heap) {
return heap->becomeCurrentHeap();
}
inline u32 JKRGetMemBlockSize(JKRHeap* heap, void* block) {
return JKRHeap::getSize(block, heap);
}