Files
af/include/libu64/stackcheck.h
T
Anghelo Carvajal fd54debbf2 libu64.a identification (#43)
* identify debug

* identify gfxprint.c and gfxprint_data.c

* pad.c

* fix

* stackcheck

* loadfragment and logseverity

* mtxconv

* comment

* Revert "loadfragment and logseverity"

This reverts commit 34d8214aa3.

* review

* fix

* another fix

* fix
2023-08-09 21:21:12 -04:00

23 lines
626 B
C

#ifndef LIBU64_STACK_CHECK_H
#define LIBU64_STACK_CHECK_H
#include "ultra64.h"
typedef struct StackEntry {
/* 0x00 */ struct StackEntry* next;
/* 0x04 */ struct StackEntry* prev;
/* 0x08 */ u32 head;
/* 0x0C */ u32 tail;
/* 0x10 */ u32 initValue;
/* 0x14 */ s32 minSpace;
/* 0x18 */ const char* name;
} StackEntry; // size = 0x1C
void StackCheck_Init(StackEntry* entry, void* stackTop, void* stackBottom, u32 initValue, s32 minSpace, const char* name);
// void StackCheck_Cleanup();
// void StackCheck_GetState();
// void StackCheck_CheckAll();
void StackCheck_Check(StackEntry* entry);
#endif