mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-16 21:38:07 -04:00
GameState_, GameAlloc_, SystemArena_ & ZeldaArena_
This commit is contained in:
+10
-10
@@ -987,13 +987,13 @@ void Lights_GlowCheck(GlobalContext* globalCtx);
|
||||
void Lights_DrawGlow(GlobalContext* globalCtx);
|
||||
void ZeldaArena_CheckPointer(void* ptr, size_t size, const char* name, const char* action);
|
||||
void* ZeldaArena_Malloc(size_t size);
|
||||
void* ZeldaArena_MallocDebug(size_t size, const char* file, s32 line);
|
||||
void* ZeldaArena_MallocDebug(size_t size);
|
||||
void* ZeldaArena_MallocR(size_t size);
|
||||
void* ZeldaArena_MallocRDebug(size_t size, const char* file, s32 line);
|
||||
void* ZeldaArena_MallocRDebug(size_t size);
|
||||
void* ZeldaArena_Realloc(void* ptr, size_t newSize);
|
||||
void* ZeldaArena_ReallocDebug(void* ptr, size_t newSize, const char* file, s32 line);
|
||||
void* ZeldaArena_ReallocDebug(void* ptr, size_t newSize);
|
||||
void ZeldaArena_Free(void* ptr);
|
||||
void ZeldaArena_FreeDebug(void* ptr, const char* file, s32 line);
|
||||
void ZeldaArena_FreeDebug(void* ptr);
|
||||
void* ZeldaArena_Calloc(size_t num, size_t size);
|
||||
void ZeldaArena_Display();
|
||||
void ZeldaArena_GetSizes(u32* outMaxFree, u32* outFree, u32* outAlloc);
|
||||
@@ -1600,9 +1600,9 @@ void GameState_Init(GameState* gameState, GameStateFunc init, GraphicsContext* g
|
||||
void GameState_Destroy(GameState* gameState);
|
||||
GameStateFunc GameState_GetInit(GameState* gameState);
|
||||
u32 GameState_IsRunning(GameState* gameState);
|
||||
void* GameState_Alloc(GameState* gameState, size_t size, char* file, s32 line);
|
||||
void* GameState_Alloc(GameState* gameState, size_t size);
|
||||
void func_800C55D0(GameAlloc* this);
|
||||
void* GameAlloc_MallocDebug(GameAlloc* this, size_t size, const char* file, s32 line);
|
||||
void* GameAlloc_MallocDebug(GameAlloc* this, size_t size);
|
||||
void* GameAlloc_Malloc(GameAlloc* this, size_t size);
|
||||
void GameAlloc_Free(GameAlloc* this, void* data);
|
||||
void GameAlloc_Cleanup(GameAlloc* this);
|
||||
@@ -2175,13 +2175,13 @@ f32 roundf(f32 x);
|
||||
f32 nearbyintf(f32 x);*/
|
||||
void SystemArena_CheckPointer(void* ptr, size_t size, const char* name, const char* action);
|
||||
void* SystemArena_Malloc(size_t size);
|
||||
void* SystemArena_MallocDebug(size_t size, const char* file, s32 line);
|
||||
void* SystemArena_MallocDebug(size_t size);
|
||||
void* SystemArena_MallocR(size_t size);
|
||||
void* SystemArena_MallocRDebug(size_t size, const char* file, s32 line);
|
||||
void* SystemArena_MallocRDebug(size_t size);
|
||||
void* SystemArena_Realloc(void* ptr, size_t newSize);
|
||||
void* SystemArena_ReallocDebug(void* ptr, size_t newSize, const char* file, s32 line);
|
||||
void* SystemArena_ReallocDebug(void* ptr, size_t newSize);
|
||||
void SystemArena_Free(void* ptr);
|
||||
void SystemArena_FreeDebug(void* ptr, const char* file, s32 line);
|
||||
void SystemArena_FreeDebug(void* ptr);
|
||||
void* SystemArena_Calloc(size_t num, size_t size);
|
||||
void SystemArena_Display(void);
|
||||
void SystemArena_GetSizes(u32* outMaxFree, u32* outFree, u32* outAlloc);
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
#define LOG_FLOAT(exp, value) ((void)0)
|
||||
#endif
|
||||
|
||||
// LogUtils as macro
|
||||
// LogUtils
|
||||
#ifndef NDEBUG
|
||||
#define LOG_POINTER(val, max, ptr, name) LogUtils_LogPointer(val, max, ptr, name, __FILE__, __LINE__)
|
||||
#define LOG_CHECK_BOUNDARY(name, value, unk) LogUtils_CheckBoundary(name, value, unk, __FILE__, __LINE__)
|
||||
|
||||
Reference in New Issue
Block a user