diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-01 20:03:12 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-01 20:04:43 -0400 |
commit | b26f27d9e3fd44ec5775accdc3666a339684be4c (patch) | |
tree | e5c7b8b48f5597904190529f90d71a8526ca9800 /debug.h | |
parent | 7d3dcee5b370c05065eb409ad5c21d0bc64790b1 (diff) |
large changes to bitmap structure
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |