An enum can implicitly convert to int in C but not C++
typedef enum {
/**
* If set, then the space above/below metrics specified in the font will be
* ignored and set to zero. You can still manually set them later.
*/
FONTLIB_IGNORE_LINE_SPACING = 0x01
} fontlib_load_options_t;
bool fontlib_LoadFont(const fontlib_font_t *font_data, fontlib_load_options_t flags);
fontlib_LoadFont(my_font, 0);
An
enumcan implicitly convert tointin C but not C++