// This file was generated by gir (https://github.com/gtk-rs/gir) // from // from gir-files (https://github.com/gtk-rs/gir-files) // 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) ALSARAWMIDI_STREAM_DIRECTION_INPUT); PRINT_CONSTANT((gint) ALSARAWMIDI_STREAM_DIRECTION_OUTPUT); PRINT_CONSTANT((gint) ALSARAWMIDI_STREAM_PAIR_ERROR_DISCONNECTED); PRINT_CONSTANT((gint) ALSARAWMIDI_STREAM_PAIR_ERROR_FAILED); PRINT_CONSTANT((gint) ALSARAWMIDI_STREAM_PAIR_ERROR_UNREADABLE); PRINT_CONSTANT((guint) ALSARAWMIDI_STREAM_PAIR_INFO_FLAG_DUPLEX); PRINT_CONSTANT((guint) ALSARAWMIDI_STREAM_PAIR_INFO_FLAG_INPUT); PRINT_CONSTANT((guint) ALSARAWMIDI_STREAM_PAIR_INFO_FLAG_OUTPUT); return 0; }