// 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) ALSATIMER_CLASS_CARD); PRINT_CONSTANT((gint) ALSATIMER_CLASS_GLOBAL); PRINT_CONSTANT((gint) ALSATIMER_CLASS_NONE); PRINT_CONSTANT((gint) ALSATIMER_CLASS_PCM); PRINT_CONSTANT((guint) ALSATIMER_DEVICE_INFO_FLAG_SLAVE); PRINT_CONSTANT((gint) ALSATIMER_EVENT_TYPE_REAL_TIME); PRINT_CONSTANT((gint) ALSATIMER_EVENT_TYPE_TICK_TIME); PRINT_CONSTANT((guint) ALSATIMER_INSTANCE_PARAM_FLAG_AUTO); PRINT_CONSTANT((guint) ALSATIMER_INSTANCE_PARAM_FLAG_EARLY_EVENT); PRINT_CONSTANT((guint) ALSATIMER_INSTANCE_PARAM_FLAG_EXCLUSIVE); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_CONTINUE); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_EARLY); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_MCONTINUE); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_MPAUSE); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_MRESUME); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_MSTART); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_MSTOP); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_MSUSPEND); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_PAUSE); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_RESOLUTION); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_RESUME); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_START); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_STOP); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_SUSPEND); PRINT_CONSTANT((gint) ALSATIMER_REAL_TIME_EVENT_TYPE_TICK); PRINT_CONSTANT((gint) ALSATIMER_SLAVE_CLASS_APPLICATION); PRINT_CONSTANT((gint) ALSATIMER_SLAVE_CLASS_NONE); PRINT_CONSTANT((gint) ALSATIMER_SLAVE_CLASS_SEQUENCER); PRINT_CONSTANT((gint) ALSATIMER_SPECIFIC_GLOBAL_DEVICE_HRTIMER); PRINT_CONSTANT((gint) ALSATIMER_SPECIFIC_GLOBAL_DEVICE_SYSTEM); PRINT_CONSTANT((gint) ALSATIMER_USER_INSTANCE_ERROR_ATTACHED); PRINT_CONSTANT((gint) ALSATIMER_USER_INSTANCE_ERROR_FAILED); PRINT_CONSTANT((gint) ALSATIMER_USER_INSTANCE_ERROR_NOT_ATTACHED); PRINT_CONSTANT((gint) ALSATIMER_USER_INSTANCE_ERROR_TIMER_NOT_FOUND); return 0; }