1 #ifndef CalendarError_D_H 2 #define CalendarError_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 CalendarError { 15 CalendarError_Unknown = 0, 16 CalendarError_OutOfRange = 1, 17 CalendarError_UnknownEra = 2, 18 CalendarError_UnknownMonthCode = 3, 19 } CalendarError; 20 21 typedef struct CalendarError_option {union { CalendarError ok; }; bool is_ok; } CalendarError_option; 22 23 24 25 #endif // CalendarError_D_H 26