aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kpl/macro.h')
-rw-r--r--include/kpl/macro.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/kpl/macro.h b/include/kpl/macro.h
new file mode 100644
index 0000000..f682a30
--- /dev/null
+++ b/include/kpl/macro.h
@@ -0,0 +1,9 @@
+
+#pragma once
+
+// KPL specific macros
+
+#include "color.h"
+#include "type.h"
+
+#define KPL_TODO(MESSAGE) printf(KPL_COLOR2(BOLD, LIGHT_YELLOW) "TODO " KPL_COLOR(RESET) KPL_COLOR(BOLD) "%s" KPL_COLOR(RESET) ":" KPL_COLOR(LIGHT_BLUE) "%s" KPL_COLOR(RESET) ":" KPL_COLOR(LIGHT_MAGENTA) "%d" KPL_COLOR(RESET) "::" KPL_COLOR(LIGHT_YELLOW) "%s\n" KPL_COLOR(RESET), __FILE__, __FUNCTION__, __LINE__, MESSAGE)