make working classes && add vscode config && add lua submodule

This commit is contained in:
2025-04-05 17:27:29 +05:00
parent 896579518c
commit 273e9edfc7
14 changed files with 337 additions and 241 deletions

23
src/debug.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef __DEBUG_H__
#define __DEBUG_H__
#ifdef NDEBUG
#include <sys/ksys.h>
/**
* Debug out, enabled
*/
#define DEBUG_PRINT(msg) _ksys_debug_puts(msg)
#else
/**
* Debug out, disabled
*/
#define DEBUG_PRINT(msg)
#endif
#define DEBUG_LINE(msg) DEBUG_PRINT(msg); DEBUG_PRINT("\n")
#endif // __DEBUG_H__