summaryrefslogtreecommitdiff
path: root/arm9/lib/include/NNS_FND_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/lib/include/NNS_FND_allocator.h')
-rw-r--r--arm9/lib/include/NNS_FND_allocator.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/arm9/lib/include/NNS_FND_allocator.h b/arm9/lib/include/NNS_FND_allocator.h
deleted file mode 100644
index 48df282a..00000000
--- a/arm9/lib/include/NNS_FND_allocator.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef GUARD_NNS_FND_ALLOCATOR_H
-#define GUARD_NNS_FND_ALLOCATOR_H
-
-#include "NNS_FND_heapcommon.h"
-
-typedef struct NNSFndAllocator NNSFndAllocator;
-
-typedef void* (*NNSFndFuncAllocatorAlloc)(
- NNSFndAllocator* pAllocator,
- u32 size);
-
-typedef void (*NNSFndFuncAllocatorFree)(
- NNSFndAllocator* pAllocator,
- void* memBlock);
-
-typedef struct NNSFndAllocatorFunc NNSFndAllocatorFunc;
-
-struct NNSFndAllocatorFunc
-{
- NNSFndFuncAllocatorAlloc pfAlloc;
- NNSFndFuncAllocatorFree pfFree;
-};
-
-struct NNSFndAllocator
-{
- NNSFndAllocatorFunc const * pFunc;
- void* pHeap;
- u32 heapParam1;
- u32 heapParam2;
-};
-
-void NNS_FndInitAllocatorForExpHeap(NNSFndAllocator * pAllocator, NNSFndHeapHandle heap, int alignment);
-
-#endif //GUARD_NNS_FND_ALLOCATOR_H