// Generated by gir (https://github.com/gtk-rs/gir @ 0e476ab5c1de) // from // from gir-files (https://github.com/gtk-rs/gir-files.git @ cfc0305f903b) // DO NOT EDIT #include "manual.h" #include #define PRINT_CONSTANT(CONSTANT_NAME) \ printf("%s;", #CONSTANT_NAME); \ printf(_Generic((CONSTANT_NAME), \ char *: "%s", \ const char *: "%s", \ char: "%c", \ signed char: "%hhd", \ unsigned char: "%hhu", \ short int: "%hd", \ unsigned short int: "%hu", \ int: "%d", \ unsigned int: "%u", \ long: "%ld", \ unsigned long: "%lu", \ long long: "%lld", \ unsigned long long: "%llu", \ float: "%f", \ double: "%f", \ long double: "%ld"), \ CONSTANT_NAME); \ printf("\n"); int main() { PRINT_CONSTANT((gint) LFB_EVENT_END_REASON_EXPIRED); PRINT_CONSTANT((gint) LFB_EVENT_END_REASON_EXPLICIT); PRINT_CONSTANT((gint) LFB_EVENT_END_REASON_NATURAL); PRINT_CONSTANT((gint) LFB_EVENT_END_REASON_NOT_FOUND); PRINT_CONSTANT((gint) LFB_EVENT_STATE_ENDED); PRINT_CONSTANT((gint) LFB_EVENT_STATE_ERRORED); PRINT_CONSTANT((gint) LFB_EVENT_STATE_NONE); PRINT_CONSTANT((gint) LFB_EVENT_STATE_RUNNING); return 0; }