flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 12:43:06 -05:00
commit 996151a56a
521 changed files with 46722 additions and 0 deletions

34
tjp/core/debug/Debug.h Executable file
View File

@@ -0,0 +1,34 @@
// License: Modified MIT (NON-AI)
// See the LICENSE file in the root directory for license information.
// Copyright 2025 Timothy Prepscius
#pragma once
#include "../system/Debug.h"
#if defined(_DEBUG) || defined(DEBUG)
#define xDebugLine() { int x = 0; (void)x; }
#define IS_DEBUG() 1
#ifndef _DEBUG
#define _DEBUG
#endif
#ifndef DEBUG
#define DEBUG
#endif
#else
#define xDebugLine() (void)0;
#define IS_DEBUG() 0
#ifndef NDEBUG
#define NDEBUG
#endif
#endif
#if defined(DEBUG)
#define DEBUG_ONLY(...) __VA_ARGS__
#else
#define DEBUG_ONLY(...)
#endif