diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2024-11-08 02:27:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-07 17:27:19 -0800 |
| commit | fcc5cf828ded5d362b2e63a8868374a50df405ed (patch) | |
| tree | 530d7d6d8690599593f6588b04d10441e364b5c7 /include/stackcheck.h | |
| parent | 9cd9099a0431b369be39f111bf57051f544bead3 (diff) | |
libu64 (#1705)
* libu64
* libu64 -O2
* Add libu64.md
Diffstat (limited to 'include/stackcheck.h')
| -rw-r--r-- | include/stackcheck.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/stackcheck.h b/include/stackcheck.h deleted file mode 100644 index aeb55df28..000000000 --- a/include/stackcheck.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef STACKCHECK_H -#define STACKCHECK_H - -#include "ultra64.h" - -typedef enum StackStatus { - /* 0 */ STACK_STATUS_OK, - /* 1 */ STACK_STATUS_WARNING, - /* 2 */ STACK_STATUS_OVERFLOW -} StackStatus; - -typedef struct StackEntry { - /* 0x00 */ struct StackEntry* next; - /* 0x04 */ struct StackEntry* prev; - /* 0x08 */ void* head; - /* 0x0C */ void* tail; - /* 0x10 */ u32 initValue; - /* 0x14 */ s32 minSpace; - /* 0x18 */ const char* name; -} StackEntry; // size = 0x1C - -void StackCheck_Init(StackEntry* entry, void* stackBottom, void* stackTop, u32 initValue, s32 minSpace, const char* name); -void StackCheck_Cleanup(StackEntry* entry); -u32 StackCheck_Check(StackEntry* entry); - -#endif |
