summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/PreRender.h5
-rw-r--r--include/listalloc.h13
2 files changed, 9 insertions, 9 deletions
diff --git a/include/PreRender.h b/include/PreRender.h
index 48d9c39..cc54950 100644
--- a/include/PreRender.h
+++ b/include/PreRender.h
@@ -4,11 +4,6 @@
#include "ultra64.h"
#include "unk.h"
-typedef struct ListAlloc {
- /* 0x0 */ struct ListAlloc* prev;
- /* 0x4 */ struct ListAlloc* next;
-} ListAlloc; // size = 0x8
-
typedef struct PreRender {
/* 0x00 */ u16 unk_00;
/* 0x02 */ u16 unk_02;
diff --git a/include/listalloc.h b/include/listalloc.h
index 9e3e0f4..e4ca07f 100644
--- a/include/listalloc.h
+++ b/include/listalloc.h
@@ -3,9 +3,14 @@
#include "ultra64.h"
-// void func_800D6390_jp();
-// void func_800D63A4_jp();
-// void func_800D6410_jp();
-// void func_800D6490_jp();
+typedef struct ListAlloc {
+ /* 0x0 */ struct ListAlloc* prev;
+ /* 0x4 */ struct ListAlloc* next;
+} ListAlloc; // size = 0x8
+
+ListAlloc* ListAlloc_Init(ListAlloc* this);
+void* ListAlloc_Alloc(ListAlloc* this, size_t size);
+void ListAlloc_Free(ListAlloc* this, void* data);
+void ListAlloc_FreeAll(ListAlloc* this);
#endif