diff options
Diffstat (limited to 'arm9/lib/include/OS_alloc.h')
-rw-r--r-- | arm9/lib/include/OS_alloc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arm9/lib/include/OS_alloc.h b/arm9/lib/include/OS_alloc.h index 08fb3224..74b7b0e5 100644 --- a/arm9/lib/include/OS_alloc.h +++ b/arm9/lib/include/OS_alloc.h @@ -32,7 +32,10 @@ typedef struct { HeapDesc* heapArray; } OSHeapInfo; -void OS_FreeToHeap(OSArenaId id, OSHeapHandle heap, void *ptr); +Cell* DLAddFront(Cell* list, Cell* cell); +Cell* DLExtract(Cell* list, Cell* cell); +Cell *DLInsert(Cell *original, Cell *inserted); void* OS_AllocFromHeap(OSArenaId id, OSHeapHandle heap, u32 size); +void OS_FreeToHeap(OSArenaId id, OSHeapHandle heap, void *ptr); #endif //POKEDIAMOND_OS_ALLOC_H |