1 #ifndef LocaleParseError_D_H 2 #define LocaleParseError_D_H 3 4 #include <stdio.h> 5 #include <stdint.h> 6 #include <stddef.h> 7 #include <stdbool.h> 8 #include "diplomat_runtime.h" 9 10 11 12 13 14 typedef enum LocaleParseError { 15 LocaleParseError_Unknown = 0, 16 LocaleParseError_Language = 1, 17 LocaleParseError_Subtag = 2, 18 LocaleParseError_Extension = 3, 19 } LocaleParseError; 20 21 typedef struct LocaleParseError_option {union { LocaleParseError ok; }; bool is_ok; } LocaleParseError_option; 22 23 24 25 #endif // LocaleParseError_D_H 26