Skip to content

Commit a16d91f

Browse files
committed
Fix Microslop build
1 parent 8b9e2dd commit a16d91f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nob.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ typedef enum {
220220
extern Nob_Log_Level nob_minimal_log_level;
221221

222222
typedef void (Nob_Log_Handler)(Nob_Log_Level level, const char *fmt, va_list args);
223-
typedef Nob_Log_Handler nob_log_handler NOB_DEPRECATED("Uncapitalized nob_log_handler type is deprecated. Use Nob_Log_Handler instead. It's just when we were releasing the log handler feature we forgot that we had a convention that all the types must be capitalized like that. Sorry about it!");
223+
NOB_DEPRECATED("Uncapitalized nob_log_handler type is deprecated. Use Nob_Log_Handler instead. It's just when we were releasing the log handler feature we forgot that we had a convention that all the types must be capitalized like that. Sorry about it!")
224+
typedef Nob_Log_Handler nob_log_handler;
224225

225226
NOBDEF void nob_set_log_handler(Nob_Log_Handler *handler);
226227
NOBDEF Nob_Log_Handler *nob_get_log_handler(void);

0 commit comments

Comments
 (0)