diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-10-03 08:50:07 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-10-03 08:50:07 -0400 |
| commit | de65adbc1b2d1b3efdbe6a023bb7435f84b2f3a7 (patch) | |
| tree | 2851060d2cf464146d0fb67a50dc52f710076e05 /include/kpl/macro.h | |
| parent | 2e908a7be31558cc98a9f0e97556e49ee5748c16 (diff) | |
redesign
Diffstat (limited to 'include/kpl/macro.h')
| -rw-r--r-- | include/kpl/macro.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/kpl/macro.h b/include/kpl/macro.h deleted file mode 100644 index e0b59e5..0000000 --- a/include/kpl/macro.h +++ /dev/null @@ -1,15 +0,0 @@ - -#pragma once - -// KPL specific macros - -#include "color.h" -#include "type.h" - -#define _KPL_PRINT_(MESSAGE_COLOR, MESSAGE) printf(KPL_COLOR2(BOLD, MESSAGE_COLOR) "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(MESSAGE_COLOR) "%s\n" KPL_COLOR(RESET), __FILE__, __FUNCTION__, __LINE__, MESSAGE) - -#define KPL_PRINT_TODO(MESSAGE) _KPL_PRINT_(LIGHT_YELLOW, MESSAGE) - -#define KPL_PRINT_ERROR(MESSAGE) _KPL_PRINT_(LIGHT_RED, MESSAGE) - -#define KPL_PAGE_SIZE_ROUND(SIZE) ((SIZE + (getpagesize() - 1)) & ~(getpagesize() - 1)) |
