From 85b0db24804e6a8a66f557ac8917596db5fc5d9f Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Mon, 21 Jul 2025 16:53:37 +0200 Subject: refactor: Better types --- log.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'log.h') diff --git a/log.h b/log.h index 51ce333..a2744f1 100644 --- a/log.h +++ b/log.h @@ -1,7 +1,10 @@ + +#include "types.h" + typedef enum { INFO } LogLevel; typedef struct { LogLevel level; } Logger; -void info(Logger l, const char *name, const char *str, ...); +void info(Logger l, const byte *name, const byte *str, ...); -- cgit v1.3