// Generated by gir (https://github.com/gtk-rs/gir @ 3f715d99469c) // from ../gir-files (@ 6525c06593ee) // 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) GI_ARRAY_TYPE_ARRAY); PRINT_CONSTANT((gint) GI_ARRAY_TYPE_BYTE_ARRAY); PRINT_CONSTANT((gint) GI_ARRAY_TYPE_C); PRINT_CONSTANT((gint) GI_ARRAY_TYPE_PTR_ARRAY); PRINT_CONSTANT((gint) GI_DIRECTION_IN); PRINT_CONSTANT((gint) GI_DIRECTION_INOUT); PRINT_CONSTANT((gint) GI_DIRECTION_OUT); PRINT_CONSTANT((guint) GI_FIELD_IS_READABLE); PRINT_CONSTANT((guint) GI_FIELD_IS_WRITABLE); PRINT_CONSTANT((guint) GI_FUNCTION_IS_CONSTRUCTOR); PRINT_CONSTANT((guint) GI_FUNCTION_IS_GETTER); PRINT_CONSTANT((guint) GI_FUNCTION_IS_METHOD); PRINT_CONSTANT((guint) GI_FUNCTION_IS_SETTER); PRINT_CONSTANT((guint) GI_FUNCTION_THROWS); PRINT_CONSTANT((guint) GI_FUNCTION_WRAPS_VFUNC); PRINT_CONSTANT((gint) GI_INFO_TYPE_ARG); PRINT_CONSTANT((gint) GI_INFO_TYPE_BOXED); PRINT_CONSTANT((gint) GI_INFO_TYPE_CALLBACK); PRINT_CONSTANT((gint) GI_INFO_TYPE_CONSTANT); PRINT_CONSTANT((gint) GI_INFO_TYPE_ENUM); PRINT_CONSTANT((gint) GI_INFO_TYPE_FIELD); PRINT_CONSTANT((gint) GI_INFO_TYPE_FLAGS); PRINT_CONSTANT((gint) GI_INFO_TYPE_FUNCTION); PRINT_CONSTANT((gint) GI_INFO_TYPE_INTERFACE); PRINT_CONSTANT((gint) GI_INFO_TYPE_INVALID); PRINT_CONSTANT((gint) GI_INFO_TYPE_INVALID_0); PRINT_CONSTANT((gint) GI_INFO_TYPE_OBJECT); PRINT_CONSTANT((gint) GI_INFO_TYPE_PROPERTY); PRINT_CONSTANT((gint) GI_INFO_TYPE_SIGNAL); PRINT_CONSTANT((gint) GI_INFO_TYPE_STRUCT); PRINT_CONSTANT((gint) GI_INFO_TYPE_TYPE); PRINT_CONSTANT((gint) GI_INFO_TYPE_UNION); PRINT_CONSTANT((gint) GI_INFO_TYPE_UNRESOLVED); PRINT_CONSTANT((gint) GI_INFO_TYPE_VALUE); PRINT_CONSTANT((gint) GI_INFO_TYPE_VFUNC); PRINT_CONSTANT(GI_MAJOR_VERSION); PRINT_CONSTANT((gint) GI_SCOPE_TYPE_ASYNC); PRINT_CONSTANT((gint) GI_SCOPE_TYPE_CALL); PRINT_CONSTANT((gint) GI_SCOPE_TYPE_FOREVER); PRINT_CONSTANT((gint) GI_SCOPE_TYPE_INVALID); PRINT_CONSTANT((gint) GI_SCOPE_TYPE_NOTIFIED); PRINT_CONSTANT((gint) GI_TRANSFER_CONTAINER); PRINT_CONSTANT((gint) GI_TRANSFER_EVERYTHING); PRINT_CONSTANT((gint) GI_TRANSFER_NOTHING); PRINT_CONSTANT((gint) GI_TYPE_TAG_ARRAY); PRINT_CONSTANT((gint) GI_TYPE_TAG_BOOLEAN); PRINT_CONSTANT((gint) GI_TYPE_TAG_DOUBLE); PRINT_CONSTANT((gint) GI_TYPE_TAG_ERROR); PRINT_CONSTANT((gint) GI_TYPE_TAG_FILENAME); PRINT_CONSTANT((gint) GI_TYPE_TAG_FLOAT); PRINT_CONSTANT((gint) GI_TYPE_TAG_GHASH); PRINT_CONSTANT((gint) GI_TYPE_TAG_GLIST); PRINT_CONSTANT((gint) GI_TYPE_TAG_GSLIST); PRINT_CONSTANT((gint) GI_TYPE_TAG_GTYPE); PRINT_CONSTANT((gint) GI_TYPE_TAG_INT16); PRINT_CONSTANT((gint) GI_TYPE_TAG_INT32); PRINT_CONSTANT((gint) GI_TYPE_TAG_INT64); PRINT_CONSTANT((gint) GI_TYPE_TAG_INT8); PRINT_CONSTANT((gint) GI_TYPE_TAG_INTERFACE); PRINT_CONSTANT(GI_TYPE_TAG_N_TYPES); PRINT_CONSTANT((gint) GI_TYPE_TAG_UINT16); PRINT_CONSTANT((gint) GI_TYPE_TAG_UINT32); PRINT_CONSTANT((gint) GI_TYPE_TAG_UINT64); PRINT_CONSTANT((gint) GI_TYPE_TAG_UINT8); PRINT_CONSTANT((gint) GI_TYPE_TAG_UNICHAR); PRINT_CONSTANT((gint) GI_TYPE_TAG_UTF8); PRINT_CONSTANT((gint) GI_TYPE_TAG_VOID); PRINT_CONSTANT((guint) GI_VFUNC_MUST_CHAIN_UP); PRINT_CONSTANT((guint) GI_VFUNC_MUST_NOT_OVERRIDE); PRINT_CONSTANT((guint) GI_VFUNC_MUST_OVERRIDE); PRINT_CONSTANT((guint) GI_VFUNC_THROWS); PRINT_CONSTANT((gint) G_INVOKE_ERROR_ARGUMENT_MISMATCH); PRINT_CONSTANT((gint) G_INVOKE_ERROR_FAILED); PRINT_CONSTANT((gint) G_INVOKE_ERROR_SYMBOL_NOT_FOUND); PRINT_CONSTANT((gint) G_IREPOSITORY_ERROR_LIBRARY_NOT_FOUND); PRINT_CONSTANT((gint) G_IREPOSITORY_ERROR_NAMESPACE_MISMATCH); PRINT_CONSTANT((gint) G_IREPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT); PRINT_CONSTANT((gint) G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND); PRINT_CONSTANT((guint) G_IREPOSITORY_LOAD_FLAG_LAZY); return 0; }