// Generated by gir (https://github.com/gtk-rs/gir @ a97e6087cf6b) // from gir-files (https://github.com/vhdirk/gir-files @ 5c5c482b7f4a) // 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) JSC_CHECK_SYNTAX_MODE_MODULE); PRINT_CONSTANT((gint) JSC_CHECK_SYNTAX_MODE_SCRIPT); PRINT_CONSTANT((gint) JSC_CHECK_SYNTAX_RESULT_IRRECOVERABLE_ERROR); PRINT_CONSTANT((gint) JSC_CHECK_SYNTAX_RESULT_OUT_OF_MEMORY_ERROR); PRINT_CONSTANT((gint) JSC_CHECK_SYNTAX_RESULT_RECOVERABLE_ERROR); PRINT_CONSTANT((gint) JSC_CHECK_SYNTAX_RESULT_STACK_OVERFLOW_ERROR); PRINT_CONSTANT((gint) JSC_CHECK_SYNTAX_RESULT_SUCCESS); PRINT_CONSTANT((gint) JSC_CHECK_SYNTAX_RESULT_UNTERMINATED_LITERAL_ERROR); PRINT_CONSTANT(JSC_MAJOR_VERSION); PRINT_CONSTANT(JSC_MICRO_VERSION); PRINT_CONSTANT(JSC_MINOR_VERSION); PRINT_CONSTANT(JSC_OPTIONS_USE_DFG); PRINT_CONSTANT(JSC_OPTIONS_USE_FTL); PRINT_CONSTANT(JSC_OPTIONS_USE_JIT); PRINT_CONSTANT(JSC_OPTIONS_USE_LLINT); PRINT_CONSTANT((gint) JSC_OPTION_BOOLEAN); PRINT_CONSTANT((gint) JSC_OPTION_DOUBLE); PRINT_CONSTANT((gint) JSC_OPTION_INT); PRINT_CONSTANT((gint) JSC_OPTION_RANGE_STRING); PRINT_CONSTANT((gint) JSC_OPTION_SIZE); PRINT_CONSTANT((gint) JSC_OPTION_STRING); PRINT_CONSTANT((gint) JSC_OPTION_UINT); PRINT_CONSTANT((guint) JSC_VALUE_PROPERTY_CONFIGURABLE); PRINT_CONSTANT((guint) JSC_VALUE_PROPERTY_ENUMERABLE); PRINT_CONSTANT((guint) JSC_VALUE_PROPERTY_WRITABLE); return 0; }