From e0a04d4171e03ae64b874b7229d25ce940afa301 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 11 Oct 2025 15:08:32 -0400 Subject: Bugfix for optional paths and converting path type into an actual enum instead of a struct wrapped around an enum --- src/stdlib/datatypes.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/stdlib/datatypes.h') diff --git a/src/stdlib/datatypes.h b/src/stdlib/datatypes.h index 0ac97019..dbb321b0 100644 --- a/src/stdlib/datatypes.h +++ b/src/stdlib/datatypes.h @@ -101,9 +101,7 @@ typedef struct Text_s { }; } Text_t; -typedef struct { - enum { PATH_NONE, PATH_RELATIVE, PATH_ABSOLUTE, PATH_HOME } $tag; -} PathType_t; +typedef enum PathEnum { PATH_NONE, PATH_RELATIVE, PATH_ABSOLUTE, PATH_HOME } PathType_t; #define OptionalPathType_t PathType_t typedef struct { -- cgit v1.2.3