From 38e008cccbfc5861c412541e8888f6cdc674eddf Mon Sep 17 00:00:00 2001 From: Caden Miller Date: Mon, 22 May 2023 11:45:52 -0400 Subject: [PATCH] Little cleanup --- Include/noodle.h | 3 ++- Source/noodle.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/noodle.h b/Include/noodle.h index 4cd3ce5..1c9c56e 100644 --- a/Include/noodle.h +++ b/Include/noodle.h @@ -17,8 +17,9 @@ #define NOODLE_FALSE false #endif +// Any value prefixed with this can be set to NULL or 0 #ifndef NOODLE_NULLABLE -#define NOODLE_NULLABLE // Any value prefixed with this can be set to NULL/0 +#define NOODLE_NULLABLE #endif #ifndef NOODLE_MALLOC diff --git a/Source/noodle.c b/Source/noodle.c index 2bc00cb..af77680 100644 --- a/Source/noodle.c +++ b/Source/noodle.c @@ -118,7 +118,6 @@ typedef struct NoodleLexer_t - char* noodleStringDuplicate(const char* str); const char* noodleStringFromTokenKind(NoodleTokenKind_t kind);