// This file was generated by gir (https://github.com/gtk-rs/gir) // from /nix/store/39vgdpiqy94qwa8rraha7q4wcd8hdwcj-dbusmenu-gtk3-gir // from /nix/store/ahri9v0b3c1jyls6691sjfzf2s461fzz-source // 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(DBUSMENU_CLIENT_PROP_DBUS_NAME); PRINT_CONSTANT(DBUSMENU_CLIENT_PROP_DBUS_OBJECT); PRINT_CONSTANT(DBUSMENU_CLIENT_PROP_GROUP_EVENTS); PRINT_CONSTANT(DBUSMENU_CLIENT_PROP_STATUS); PRINT_CONSTANT(DBUSMENU_CLIENT_PROP_TEXT_DIRECTION); PRINT_CONSTANT(DBUSMENU_CLIENT_SIGNAL_EVENT_RESULT); PRINT_CONSTANT(DBUSMENU_CLIENT_SIGNAL_ICON_THEME_DIRS_CHANGED); PRINT_CONSTANT(DBUSMENU_CLIENT_SIGNAL_ITEM_ACTIVATE); PRINT_CONSTANT(DBUSMENU_CLIENT_SIGNAL_LAYOUT_UPDATED); PRINT_CONSTANT(DBUSMENU_CLIENT_SIGNAL_NEW_MENUITEM); PRINT_CONSTANT(DBUSMENU_CLIENT_SIGNAL_ROOT_CHANGED); PRINT_CONSTANT(DBUSMENU_CLIENT_TYPES_DEFAULT); PRINT_CONSTANT(DBUSMENU_CLIENT_TYPES_IMAGE); PRINT_CONSTANT(DBUSMENU_CLIENT_TYPES_SEPARATOR); PRINT_CONSTANT(DBUSMENU_MENUITEM_CHILD_DISPLAY_SUBMENU); PRINT_CONSTANT(DBUSMENU_MENUITEM_DISPOSITION_ALERT); PRINT_CONSTANT(DBUSMENU_MENUITEM_DISPOSITION_INFORMATIVE); PRINT_CONSTANT(DBUSMENU_MENUITEM_DISPOSITION_NORMAL); PRINT_CONSTANT(DBUSMENU_MENUITEM_DISPOSITION_WARNING); PRINT_CONSTANT(DBUSMENU_MENUITEM_EVENT_ACTIVATED); PRINT_CONSTANT(DBUSMENU_MENUITEM_EVENT_CLOSED); PRINT_CONSTANT(DBUSMENU_MENUITEM_EVENT_OPENED); PRINT_CONSTANT(DBUSMENU_MENUITEM_ICON_NAME_BLANK); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_ACCESSIBLE_DESC); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_CHILD_DISPLAY); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_DISPOSITION); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_ENABLED); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_ICON_DATA); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_ICON_NAME); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_LABEL); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_SHORTCUT); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_TOGGLE_STATE); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_TYPE); PRINT_CONSTANT(DBUSMENU_MENUITEM_PROP_VISIBLE); PRINT_CONSTANT(DBUSMENU_MENUITEM_SHORTCUT_ALT); PRINT_CONSTANT(DBUSMENU_MENUITEM_SHORTCUT_CONTROL); PRINT_CONSTANT(DBUSMENU_MENUITEM_SHORTCUT_SHIFT); PRINT_CONSTANT(DBUSMENU_MENUITEM_SHORTCUT_SUPER); PRINT_CONSTANT(DBUSMENU_MENUITEM_SIGNAL_ABOUT_TO_SHOW); PRINT_CONSTANT(DBUSMENU_MENUITEM_SIGNAL_CHILD_ADDED); PRINT_CONSTANT(DBUSMENU_MENUITEM_SIGNAL_CHILD_MOVED); PRINT_CONSTANT(DBUSMENU_MENUITEM_SIGNAL_CHILD_REMOVED); PRINT_CONSTANT(DBUSMENU_MENUITEM_SIGNAL_EVENT); PRINT_CONSTANT(DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED); PRINT_CONSTANT(DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED); PRINT_CONSTANT(DBUSMENU_MENUITEM_SIGNAL_REALIZED); PRINT_CONSTANT(DBUSMENU_MENUITEM_SIGNAL_SHOW_TO_USER); PRINT_CONSTANT(DBUSMENU_MENUITEM_TOGGLE_CHECK); PRINT_CONSTANT(DBUSMENU_MENUITEM_TOGGLE_RADIO); PRINT_CONSTANT(DBUSMENU_MENUITEM_TOGGLE_STATE_CHECKED); PRINT_CONSTANT(DBUSMENU_MENUITEM_TOGGLE_STATE_UNCHECKED); PRINT_CONSTANT(DBUSMENU_MENUITEM_TOGGLE_STATE_UNKNOWN); PRINT_CONSTANT(DBUSMENU_SERVER_PROP_DBUS_OBJECT); PRINT_CONSTANT(DBUSMENU_SERVER_PROP_ROOT_NODE); PRINT_CONSTANT(DBUSMENU_SERVER_PROP_STATUS); PRINT_CONSTANT(DBUSMENU_SERVER_PROP_TEXT_DIRECTION); PRINT_CONSTANT(DBUSMENU_SERVER_PROP_VERSION); PRINT_CONSTANT(DBUSMENU_SERVER_SIGNAL_ID_PROP_UPDATE); PRINT_CONSTANT(DBUSMENU_SERVER_SIGNAL_ID_UPDATE); PRINT_CONSTANT(DBUSMENU_SERVER_SIGNAL_ITEM_ACTIVATION); PRINT_CONSTANT(DBUSMENU_SERVER_SIGNAL_LAYOUT_UPDATED); PRINT_CONSTANT((gint) DBUSMENU_STATUS_NORMAL); PRINT_CONSTANT((gint) DBUSMENU_STATUS_NOTICE); PRINT_CONSTANT((gint) DBUSMENU_TEXT_DIRECTION_LTR); PRINT_CONSTANT((gint) DBUSMENU_TEXT_DIRECTION_NONE); PRINT_CONSTANT((gint) DBUSMENU_TEXT_DIRECTION_RTL); return 0; }