aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/macro.h
blob: f682a3089e1f46c32a43309f45a8052d62bcd60e (plain)
1
2
3
4
5
6
7
8
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)