From b26f27d9e3fd44ec5775accdc3666a339684be4c Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Mon, 1 Aug 2022 20:03:12 -0400 Subject: large changes to bitmap structure --- debug.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debug.h') diff --git a/debug.h b/debug.h index 4a6891e..45fa718 100644 --- a/debug.h +++ b/debug.h @@ -1,6 +1,6 @@ #if DEBUG -global_variable int32 *debugnull = NULL; +static int32 *debugnull = NULL; #define Assert(Expression) if(!(Expression)) {*debugnull = 21;} enum valtype { @@ -32,7 +32,7 @@ struct project_debug bool32 ToggleRenders; }; -global_variable project_debug Debug; +static project_debug Debug; #if ARM #define DEBUG_CycleCountStart(ID) @@ -42,7 +42,7 @@ global_variable project_debug Debug; #define DEBUG_CycleCountEnd(ID) Debug.EndCycleCount[ID] += __rdtsc() - Debug.CycleCount[ID]; Debug.ExecutionAmount[ID]++; #endif -internal void +static void DebugWatchVar(char *Name, void *Address, valtype Type) { uint32 i = Debug.WatchedProperties; Debug.String[i] = Name; @@ -73,7 +73,7 @@ struct project_debug #define DEBUG_CycleCountStart(ID) #define DEBUG_CycleCountEnd(ID) -internal void +static void DebugWatchVar(char *Name, void *Address, valtype Type) { } #endif -- cgit v1.2.3