update print

This commit is contained in:
Gatsby Van
2024-01-29 18:47:28 +08:00
parent 0496e6a2f6
commit 2f0ee92e33
10 changed files with 111 additions and 106 deletions
+2 -1
View File
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <inttypes.h>
#include <assert.h>
#include "util.h"
#include "error.h"
@@ -39,7 +40,7 @@
/* Stringify */
#define STR(x) #x
// #define _DEBUG_LEVEL 3
#define _DEBUG_LEVEL 3
#if _DEBUG_LEVEL > 0
#define DBG_PRINT(...) printf(__VA_ARGS__)