diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-10-11 15:08:32 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-10-11 15:08:32 -0400 |
| commit | e0a04d4171e03ae64b874b7229d25ce940afa301 (patch) | |
| tree | 930830d645138e25d07d91313c5d723396169b3b /src/stdlib/datatypes.h | |
| parent | 5b2acc934ee1cda4a514b617a56b43fc4ddf6a0f (diff) | |
Bugfix for optional paths and converting path type into an actual enum
instead of a struct wrapped around an enum
Diffstat (limited to 'src/stdlib/datatypes.h')
| -rw-r--r-- | src/stdlib/datatypes.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 { |
