// This file was generated by gir (https://github.com/gtk-rs/gir) // from gir-files (https://github.com/gtk-rs/gir-files) // from webkit-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) WEBKIT_CONSOLE_MESSAGE_LEVEL_DEBUG); PRINT_CONSTANT((gint) WEBKIT_CONSOLE_MESSAGE_LEVEL_ERROR); PRINT_CONSTANT((gint) WEBKIT_CONSOLE_MESSAGE_LEVEL_INFO); PRINT_CONSTANT((gint) WEBKIT_CONSOLE_MESSAGE_LEVEL_LOG); PRINT_CONSTANT((gint) WEBKIT_CONSOLE_MESSAGE_LEVEL_WARNING); PRINT_CONSTANT((gint) WEBKIT_CONSOLE_MESSAGE_SOURCE_CONSOLE_API); PRINT_CONSTANT((gint) WEBKIT_CONSOLE_MESSAGE_SOURCE_JAVASCRIPT); PRINT_CONSTANT((gint) WEBKIT_CONSOLE_MESSAGE_SOURCE_NETWORK); PRINT_CONSTANT((gint) WEBKIT_CONSOLE_MESSAGE_SOURCE_OTHER); PRINT_CONSTANT((gint) WEBKIT_CONSOLE_MESSAGE_SOURCE_SECURITY); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_BOLD); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_COPY); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_COPY_AUDIO_LINK_TO_CLIPBOARD); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_COPY_VIDEO_LINK_TO_CLIPBOARD); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_CUSTOM); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_CUT); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_DELETE); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_AUDIO_TO_DISK); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_FONT_MENU); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_GO_BACK); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_IGNORE_GRAMMAR); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_INSERT_EMOJI); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_INSPECT_ELEMENT); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_ITALIC); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_LEARN_SPELLING); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_MEDIA_MUTE); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PAUSE); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PLAY); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_OPEN_AUDIO_IN_NEW_WINDOW); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_OPEN_VIDEO_IN_NEW_WINDOW); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_OUTLINE); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_PASTE); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_PASTE_AS_PLAIN_TEXT); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_RELOAD); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_STOP); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_CONTROLS); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_LOOP); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE); PRINT_CONSTANT((gint) WEBKIT_CONTEXT_MENU_ACTION_UNICODE); PRINT_CONSTANT((guint) WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT); PRINT_CONSTANT((guint) WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE); PRINT_CONSTANT((guint) WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE); PRINT_CONSTANT((guint) WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK); PRINT_CONSTANT((guint) WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA); PRINT_CONSTANT((guint) WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBAR); PRINT_CONSTANT((guint) WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION); PRINT_CONSTANT((gint) WEBKIT_USER_MESSAGE_UNHANDLED_MESSAGE); return 0; }