From 8e9425f7d4e75a207a0fd05ab67a935f5cd3d650 Mon Sep 17 00:00:00 2001 From: James Benton Date: Sun, 17 Jul 2016 22:29:27 +0100 Subject: [PATCH] Add some comments to coreinit/baseheap.h --- include/coreinit/baseheap.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/coreinit/baseheap.h b/include/coreinit/baseheap.h index fd83ee8..3993c2e 100644 --- a/include/coreinit/baseheap.h +++ b/include/coreinit/baseheap.h @@ -20,12 +20,21 @@ typedef enum MEMBaseHeapType MEM_BASE_HEAP_FG = 8, } MEMBaseHeapType; +/** + * Get which memory area a heap belongs to. + */ MEMBaseHeapType MEMGetArena(MEMHeapHandle handle); +/** + * Get base heap for memory area. + */ MEMHeapHandle MEMGetBaseHeapHandle(MEMBaseHeapType type); +/** + * Set base heap for memory area. + */ MEMHeapHandle MEMSetBaseHeapHandle(MEMBaseHeapType type, MEMHeapHandle handle);