aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/macro.h
blob: 63699d0d26a0bf79b0a4f4e0361d623f71a90a27 (plain)
1
2
3
4
5
6
7
8
9

#pragma once

// KPL specific macros

#include "color.h"
#include "type.h"

#define KPL_PRINT_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)