diff options
Diffstat (limited to 'src/arch/log.h')
-rw-r--r-- | src/arch/log.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/log.h b/src/arch/log.h new file mode 100644 index 0000000..6365c20 --- /dev/null +++ b/src/arch/log.h @@ -0,0 +1,7 @@ +#pragma once +#include <stddef.h> + +void log_write(const char *buf, size_t len); + +// used for static strings +#define log_const(str) log_write(str, sizeof(str) - 1) |