initial commit

This commit is contained in:
klein panic
2025-04-13 02:27:22 -04:00
commit cf50b5a377
18 changed files with 1920 additions and 0 deletions

16
include/debug.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef DEBUG_H
#define DEBUG_H
#include <stdio.h>
extern int g_debug; // Global debug flag
#define DEBUG_LOG(fmt, ...) \
do { \
if (g_debug) { \
fprintf(stderr, "[DEBUG] " fmt "\n", ##__VA_ARGS__); \
} \
} while (0)
#endif // DEBUG_H