mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-23 02:35:17 -05:00
23 lines
771 B
C
23 lines
771 B
C
#ifndef POKEPLATINUM_UNK_02017E74_H
|
|
#define POKEPLATINUM_UNK_02017E74_H
|
|
|
|
#include <nnsys.h>
|
|
|
|
#include "constants/heap.h"
|
|
|
|
#include "struct_defs/struct_02017E74.h"
|
|
|
|
BOOL Heap_Create(u32 parent, u32 child, u32 size);
|
|
BOOL Heap_CreateAtEnd(u32 parent, u32 child, u32 size);
|
|
void Heap_Destroy(u32 heapID);
|
|
void *Heap_AllocFromHeap(u32 heapID, u32 size);
|
|
void *Heap_AllocFromHeapAtEnd(u32 heapID, u32 size);
|
|
void Heap_FreeToHeap(void *ptr);
|
|
void Heap_FreeToHeapExplicit(u32 heapID, void *ptr);
|
|
u32 Heap_FndGetTotalFreeSizeForExpHeap(u32 heapID);
|
|
void Heap_FndInitAllocatorForExpHeap(NNSFndAllocator *pAllocator, u32 heapID, int alignment);
|
|
void Heap_ReallocFromHeap(void *ptr, u32 newSize);
|
|
BOOL GF_heap_c_dummy_return_true(u32 heapID);
|
|
|
|
#endif // POKEPLATINUM_UNK_02017E74_H
|