diff options
Diffstat (limited to 'ttt.jai')
| -rw-r--r-- | ttt.jai | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -1,9 +1,6 @@ -DEBUG_MEMORY :: true; -#if DEBUG_MEMORY { -#import "Basic"()(MEMORY_DEBUGGER=true); // TODO Remove after final debug sessions. This takes up ~30MB of RAM. -} else { -#import "Basic"; -} +DEBUG :: false; + +#import "Basic"()(MEMORY_DEBUGGER=DEBUG); // Enabling memory debug adds ~30MB of RAM. #import "System"; #import "Sort"; #import "Math"; @@ -25,7 +22,6 @@ DB_FILE_SIGN_STR :: "TTT:B:02"; ASSERT_NOT_NULL :: "Parameter '%' is null."; ASSERT_NOT_EMPTY :: "Parameter '%' is empty."; -ASSERT_NOT_CONTAIN :: "'%' does not contain '%'."; ASSERT_INVALID_INDEX:: "Invalid index '%'."; SECONDS_IN_MINUTE :: cast(s64)60; @@ -1168,9 +1164,7 @@ prompt_user_key :: (y: int, message: string) -> TUI.Key { main :: () { -#if DEBUG_MEMORY { - defer report_memory_leaks(); // TODO Remove after final debug sessions. -} + #if DEBUG { defer report_memory_leaks(); } context.logger = print_error; |
