diff --git a/atk/src/auto/util.rs b/atk/src/auto/util.rs index ae9f89b75ee6..d5657bf34034 100644 --- a/atk/src/auto/util.rs +++ b/atk/src/auto/util.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/atk/src/auto/versions.txt b/atk/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/atk/src/auto/versions.txt +++ b/atk/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/atk/sys/tests/abi.rs b/atk/sys/tests/abi.rs index 3a05b11a254d..e411c3db1754 100644 --- a/atk/sys/tests/abi.rs +++ b/atk/sys/tests/abi.rs @@ -5,6 +5,7 @@ use atk_sys::*; use std::env; use std::error::Error; +use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; use std::process::Command; @@ -22,6 +23,8 @@ impl Compiler { pub fn new() -> Result> { let mut args = get_var("CC", "cc")?; args.push("-Wno-deprecated-declarations".to_owned()); + // For _Generic + args.push("-std=c11".to_owned()); // For %z support in printf when using MinGW. args.push("-D__USE_MINGW_ANSI_STDIO".to_owned()); args.extend(get_var("CFLAGS", "")?); @@ -30,14 +33,6 @@ impl Compiler { Ok(Compiler { args }) } - pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { - let arg = match val.into() { - None => format!("-D{}", var), - Some(val) => format!("-D{}={}", var, val), - }; - self.args.push(arg); - } - pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box> { let mut cmd = self.to_command(); cmd.arg(src); @@ -69,7 +64,8 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { if packages.is_empty() { return Ok(Vec::new()); } - let mut cmd = Command::new("pkg-config"); + let pkg_config = env::var_os("PKG_CONFIG").unwrap_or_else(|| OsString::from("pkg-config")); + let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); let out = cmd.output()?; @@ -92,8 +88,6 @@ struct Results { passed: usize, /// Total number of failed tests (including those that failed to compile). failed: usize, - /// Number of tests that failed to compile. - failed_to_compile: usize, } impl Results { @@ -103,15 +97,8 @@ impl Results { fn record_failed(&mut self) { self.failed += 1; } - fn record_failed_to_compile(&mut self) { - self.failed += 1; - self.failed_to_compile += 1; - } fn summary(&self) -> String { - format!( - "{} passed; {} failed (compilation errors: {})", - self.passed, self.failed, self.failed_to_compile - ) + format!("{} passed; {} failed", self.passed, self.failed) } fn expect_total_success(&self) { if self.failed == 0 { @@ -124,111 +111,94 @@ impl Results { #[test] fn cross_validate_constants_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_constants: Vec<(String, String)> = Vec::new(); - assert_eq!( - "1", - get_c_value(tmpdir.path(), &cc, "1").expect("C constant"), - "failed to obtain correct constant value for 1" - ); + for l in get_c_output("constant").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let value = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse value"); + c_constants.push((name, value)); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() { - match get_c_value(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(ref c_value) => { - if rust_value == c_value { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_value, c_value - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("constants ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_value), (c_name, c_value)) in + RUST_CONSTANTS.iter().zip(c_constants.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; + } + + if rust_value != c_value { + results.record_failed(); + eprintln!( + "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_value, &c_value + ); + continue; } + + results.record_passed(); } + results.expect_total_success(); } #[test] fn cross_validate_layout_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_layouts = Vec::new(); - assert_eq!( - Layout { - size: 1, - alignment: 1 - }, - get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"), - "failed to obtain correct layout for char type" - ); + for l in get_c_output("layout").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let size = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse size"); + let alignment = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse alignment"); + c_layouts.push((name, Layout { size, alignment })); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() { - match get_c_layout(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(c_layout) => { - if rust_layout == c_layout { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Layout mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_layout, &c_layout - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("layout ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_layout), (c_name, c_layout)) in RUST_LAYOUTS.iter().zip(c_layouts.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; } - } - results.expect_total_success(); -} -fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("layout"); - let mut cc = cc.clone(); - cc.define("ABI_TYPE_NAME", name); - cc.compile(Path::new("tests/layout.c"), &exe)?; + if rust_layout != c_layout { + results.record_failed(); + eprintln!( + "Layout mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_layout, &c_layout + ); + continue; + } - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into()); + results.record_passed(); } - let stdout = str::from_utf8(&output.stdout)?; - let mut words = stdout.trim().split_whitespace(); - let size = words.next().unwrap().parse().unwrap(); - let alignment = words.next().unwrap().parse().unwrap(); - Ok(Layout { size, alignment }) + results.expect_total_success(); } -fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("constant"); - let mut cc = cc.clone(); - cc.define("ABI_CONSTANT_NAME", name); - cc.compile(Path::new("tests/constant.c"), &exe)?; +fn get_c_output(name: &str) -> Result> { + let tmpdir = Builder::new().prefix("abi").tempdir()?; + let exe = tmpdir.path().join(name); + let c_file = Path::new("tests").join(name).with_extension("c"); + + let cc = Compiler::new().expect("configured compiler"); + cc.compile(&c_file, &exe)?; let mut abi_cmd = Command::new(exe); let output = abi_cmd.output()?; @@ -236,16 +206,7 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result +#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", \ + double: "%f", \ + long double: "%ld"), \ + CONSTANT_NAME); \ + printf("\n"); + int main() { - printf(_Generic((ABI_CONSTANT_NAME), - char *: "###gir test###%s###gir test###\n", - const char *: "###gir test###%s###gir test###\n", - char: "###gir test###%c###gir test###\n", - signed char: "###gir test###%hhd###gir test###\n", - unsigned char: "###gir test###%hhu###gir test###\n", - short int: "###gir test###%hd###gir test###\n", - unsigned short int: "###gir test###%hu###gir test###\n", - int: "###gir test###%d###gir test###\n", - unsigned int: "###gir test###%u###gir test###\n", - long: "###gir test###%ld###gir test###\n", - unsigned long: "###gir test###%lu###gir test###\n", - long long: "###gir test###%lld###gir test###\n", - unsigned long long: "###gir test###%llu###gir test###\n", - double: "###gir test###%f###gir test###\n", - long double: "###gir test###%ld###gir test###\n"), - ABI_CONSTANT_NAME); + PRINT_CONSTANT((guint) ATK_HYPERLINK_IS_INLINE); + PRINT_CONSTANT((gint) ATK_KEY_EVENT_LAST_DEFINED); + PRINT_CONSTANT((gint) ATK_KEY_EVENT_PRESS); + PRINT_CONSTANT((gint) ATK_KEY_EVENT_RELEASE); + PRINT_CONSTANT((gint) ATK_LAYER_BACKGROUND); + PRINT_CONSTANT((gint) ATK_LAYER_CANVAS); + PRINT_CONSTANT((gint) ATK_LAYER_INVALID); + PRINT_CONSTANT((gint) ATK_LAYER_MDI); + PRINT_CONSTANT((gint) ATK_LAYER_OVERLAY); + PRINT_CONSTANT((gint) ATK_LAYER_POPUP); + PRINT_CONSTANT((gint) ATK_LAYER_WIDGET); + PRINT_CONSTANT((gint) ATK_LAYER_WINDOW); + PRINT_CONSTANT((gint) ATK_RELATION_CONTROLLED_BY); + PRINT_CONSTANT((gint) ATK_RELATION_CONTROLLER_FOR); + PRINT_CONSTANT((gint) ATK_RELATION_DESCRIBED_BY); + PRINT_CONSTANT((gint) ATK_RELATION_DESCRIPTION_FOR); + PRINT_CONSTANT((gint) ATK_RELATION_DETAILS); + PRINT_CONSTANT((gint) ATK_RELATION_DETAILS_FOR); + PRINT_CONSTANT((gint) ATK_RELATION_EMBEDDED_BY); + PRINT_CONSTANT((gint) ATK_RELATION_EMBEDS); + PRINT_CONSTANT((gint) ATK_RELATION_ERROR_FOR); + PRINT_CONSTANT((gint) ATK_RELATION_ERROR_MESSAGE); + PRINT_CONSTANT((gint) ATK_RELATION_FLOWS_FROM); + PRINT_CONSTANT((gint) ATK_RELATION_FLOWS_TO); + PRINT_CONSTANT((gint) ATK_RELATION_LABELLED_BY); + PRINT_CONSTANT((gint) ATK_RELATION_LABEL_FOR); + PRINT_CONSTANT((gint) ATK_RELATION_LAST_DEFINED); + PRINT_CONSTANT((gint) ATK_RELATION_MEMBER_OF); + PRINT_CONSTANT((gint) ATK_RELATION_NODE_CHILD_OF); + PRINT_CONSTANT((gint) ATK_RELATION_NODE_PARENT_OF); + PRINT_CONSTANT((gint) ATK_RELATION_NULL); + PRINT_CONSTANT((gint) ATK_RELATION_PARENT_WINDOW_OF); + PRINT_CONSTANT((gint) ATK_RELATION_POPUP_FOR); + PRINT_CONSTANT((gint) ATK_RELATION_SUBWINDOW_OF); + PRINT_CONSTANT((gint) ATK_ROLE_ACCEL_LABEL); + PRINT_CONSTANT((gint) ATK_ROLE_ALERT); + PRINT_CONSTANT((gint) ATK_ROLE_ANIMATION); + PRINT_CONSTANT((gint) ATK_ROLE_APPLICATION); + PRINT_CONSTANT((gint) ATK_ROLE_ARROW); + PRINT_CONSTANT((gint) ATK_ROLE_ARTICLE); + PRINT_CONSTANT((gint) ATK_ROLE_AUDIO); + PRINT_CONSTANT((gint) ATK_ROLE_AUTOCOMPLETE); + PRINT_CONSTANT((gint) ATK_ROLE_BLOCK_QUOTE); + PRINT_CONSTANT((gint) ATK_ROLE_CALENDAR); + PRINT_CONSTANT((gint) ATK_ROLE_CANVAS); + PRINT_CONSTANT((gint) ATK_ROLE_CAPTION); + PRINT_CONSTANT((gint) ATK_ROLE_CHART); + PRINT_CONSTANT((gint) ATK_ROLE_CHECK_BOX); + PRINT_CONSTANT((gint) ATK_ROLE_CHECK_MENU_ITEM); + PRINT_CONSTANT((gint) ATK_ROLE_COLOR_CHOOSER); + PRINT_CONSTANT((gint) ATK_ROLE_COLUMN_HEADER); + PRINT_CONSTANT((gint) ATK_ROLE_COMBO_BOX); + PRINT_CONSTANT((gint) ATK_ROLE_COMMENT); + PRINT_CONSTANT((gint) ATK_ROLE_CONTENT_DELETION); + PRINT_CONSTANT((gint) ATK_ROLE_CONTENT_INSERTION); + PRINT_CONSTANT((gint) ATK_ROLE_DATE_EDITOR); + PRINT_CONSTANT((gint) ATK_ROLE_DEFINITION); + PRINT_CONSTANT((gint) ATK_ROLE_DESCRIPTION_LIST); + PRINT_CONSTANT((gint) ATK_ROLE_DESCRIPTION_TERM); + PRINT_CONSTANT((gint) ATK_ROLE_DESCRIPTION_VALUE); + PRINT_CONSTANT((gint) ATK_ROLE_DESKTOP_FRAME); + PRINT_CONSTANT((gint) ATK_ROLE_DESKTOP_ICON); + PRINT_CONSTANT((gint) ATK_ROLE_DIAL); + PRINT_CONSTANT((gint) ATK_ROLE_DIALOG); + PRINT_CONSTANT((gint) ATK_ROLE_DIRECTORY_PANE); + PRINT_CONSTANT((gint) ATK_ROLE_DOCUMENT_EMAIL); + PRINT_CONSTANT((gint) ATK_ROLE_DOCUMENT_FRAME); + PRINT_CONSTANT((gint) ATK_ROLE_DOCUMENT_PRESENTATION); + PRINT_CONSTANT((gint) ATK_ROLE_DOCUMENT_SPREADSHEET); + PRINT_CONSTANT((gint) ATK_ROLE_DOCUMENT_TEXT); + PRINT_CONSTANT((gint) ATK_ROLE_DOCUMENT_WEB); + PRINT_CONSTANT((gint) ATK_ROLE_DRAWING_AREA); + PRINT_CONSTANT((gint) ATK_ROLE_EDITBAR); + PRINT_CONSTANT((gint) ATK_ROLE_EMBEDDED); + PRINT_CONSTANT((gint) ATK_ROLE_ENTRY); + PRINT_CONSTANT((gint) ATK_ROLE_FILE_CHOOSER); + PRINT_CONSTANT((gint) ATK_ROLE_FILLER); + PRINT_CONSTANT((gint) ATK_ROLE_FONT_CHOOSER); + PRINT_CONSTANT((gint) ATK_ROLE_FOOTER); + PRINT_CONSTANT((gint) ATK_ROLE_FOOTNOTE); + PRINT_CONSTANT((gint) ATK_ROLE_FORM); + PRINT_CONSTANT((gint) ATK_ROLE_FRAME); + PRINT_CONSTANT((gint) ATK_ROLE_GLASS_PANE); + PRINT_CONSTANT((gint) ATK_ROLE_GROUPING); + PRINT_CONSTANT((gint) ATK_ROLE_HEADER); + PRINT_CONSTANT((gint) ATK_ROLE_HEADING); + PRINT_CONSTANT((gint) ATK_ROLE_HTML_CONTAINER); + PRINT_CONSTANT((gint) ATK_ROLE_ICON); + PRINT_CONSTANT((gint) ATK_ROLE_IMAGE); + PRINT_CONSTANT((gint) ATK_ROLE_IMAGE_MAP); + PRINT_CONSTANT((gint) ATK_ROLE_INFO_BAR); + PRINT_CONSTANT((gint) ATK_ROLE_INPUT_METHOD_WINDOW); + PRINT_CONSTANT((gint) ATK_ROLE_INTERNAL_FRAME); + PRINT_CONSTANT((gint) ATK_ROLE_INVALID); + PRINT_CONSTANT((gint) ATK_ROLE_LABEL); + PRINT_CONSTANT((gint) ATK_ROLE_LANDMARK); + PRINT_CONSTANT((gint) ATK_ROLE_LAST_DEFINED); + PRINT_CONSTANT((gint) ATK_ROLE_LAYERED_PANE); + PRINT_CONSTANT((gint) ATK_ROLE_LEVEL_BAR); + PRINT_CONSTANT((gint) ATK_ROLE_LINK); + PRINT_CONSTANT((gint) ATK_ROLE_LIST); + PRINT_CONSTANT((gint) ATK_ROLE_LIST_BOX); + PRINT_CONSTANT((gint) ATK_ROLE_LIST_ITEM); + PRINT_CONSTANT((gint) ATK_ROLE_LOG); + PRINT_CONSTANT((gint) ATK_ROLE_MARK); + PRINT_CONSTANT((gint) ATK_ROLE_MARQUEE); + PRINT_CONSTANT((gint) ATK_ROLE_MATH); + PRINT_CONSTANT((gint) ATK_ROLE_MATH_FRACTION); + PRINT_CONSTANT((gint) ATK_ROLE_MATH_ROOT); + PRINT_CONSTANT((gint) ATK_ROLE_MENU); + PRINT_CONSTANT((gint) ATK_ROLE_MENU_BAR); + PRINT_CONSTANT((gint) ATK_ROLE_MENU_ITEM); + PRINT_CONSTANT((gint) ATK_ROLE_NOTIFICATION); + PRINT_CONSTANT((gint) ATK_ROLE_OPTION_PANE); + PRINT_CONSTANT((gint) ATK_ROLE_PAGE); + PRINT_CONSTANT((gint) ATK_ROLE_PAGE_TAB); + PRINT_CONSTANT((gint) ATK_ROLE_PAGE_TAB_LIST); + PRINT_CONSTANT((gint) ATK_ROLE_PANEL); + PRINT_CONSTANT((gint) ATK_ROLE_PARAGRAPH); + PRINT_CONSTANT((gint) ATK_ROLE_PASSWORD_TEXT); + PRINT_CONSTANT((gint) ATK_ROLE_POPUP_MENU); + PRINT_CONSTANT((gint) ATK_ROLE_PROGRESS_BAR); + PRINT_CONSTANT((gint) ATK_ROLE_PUSH_BUTTON); + PRINT_CONSTANT((gint) ATK_ROLE_RADIO_BUTTON); + PRINT_CONSTANT((gint) ATK_ROLE_RADIO_MENU_ITEM); + PRINT_CONSTANT((gint) ATK_ROLE_RATING); + PRINT_CONSTANT((gint) ATK_ROLE_REDUNDANT_OBJECT); + PRINT_CONSTANT((gint) ATK_ROLE_ROOT_PANE); + PRINT_CONSTANT((gint) ATK_ROLE_ROW_HEADER); + PRINT_CONSTANT((gint) ATK_ROLE_RULER); + PRINT_CONSTANT((gint) ATK_ROLE_SCROLL_BAR); + PRINT_CONSTANT((gint) ATK_ROLE_SCROLL_PANE); + PRINT_CONSTANT((gint) ATK_ROLE_SECTION); + PRINT_CONSTANT((gint) ATK_ROLE_SEPARATOR); + PRINT_CONSTANT((gint) ATK_ROLE_SLIDER); + PRINT_CONSTANT((gint) ATK_ROLE_SPIN_BUTTON); + PRINT_CONSTANT((gint) ATK_ROLE_SPLIT_PANE); + PRINT_CONSTANT((gint) ATK_ROLE_STATIC); + PRINT_CONSTANT((gint) ATK_ROLE_STATUSBAR); + PRINT_CONSTANT((gint) ATK_ROLE_SUBSCRIPT); + PRINT_CONSTANT((gint) ATK_ROLE_SUGGESTION); + PRINT_CONSTANT((gint) ATK_ROLE_SUPERSCRIPT); + PRINT_CONSTANT((gint) ATK_ROLE_TABLE); + PRINT_CONSTANT((gint) ATK_ROLE_TABLE_CELL); + PRINT_CONSTANT((gint) ATK_ROLE_TABLE_COLUMN_HEADER); + PRINT_CONSTANT((gint) ATK_ROLE_TABLE_ROW); + PRINT_CONSTANT((gint) ATK_ROLE_TABLE_ROW_HEADER); + PRINT_CONSTANT((gint) ATK_ROLE_TEAR_OFF_MENU_ITEM); + PRINT_CONSTANT((gint) ATK_ROLE_TERMINAL); + PRINT_CONSTANT((gint) ATK_ROLE_TEXT); + PRINT_CONSTANT((gint) ATK_ROLE_TIMER); + PRINT_CONSTANT((gint) ATK_ROLE_TITLE_BAR); + PRINT_CONSTANT((gint) ATK_ROLE_TOGGLE_BUTTON); + PRINT_CONSTANT((gint) ATK_ROLE_TOOL_BAR); + PRINT_CONSTANT((gint) ATK_ROLE_TOOL_TIP); + PRINT_CONSTANT((gint) ATK_ROLE_TREE); + PRINT_CONSTANT((gint) ATK_ROLE_TREE_ITEM); + PRINT_CONSTANT((gint) ATK_ROLE_TREE_TABLE); + PRINT_CONSTANT((gint) ATK_ROLE_UNKNOWN); + PRINT_CONSTANT((gint) ATK_ROLE_VIDEO); + PRINT_CONSTANT((gint) ATK_ROLE_VIEWPORT); + PRINT_CONSTANT((gint) ATK_ROLE_WINDOW); + PRINT_CONSTANT((gint) ATK_SCROLL_ANYWHERE); + PRINT_CONSTANT((gint) ATK_SCROLL_BOTTOM_EDGE); + PRINT_CONSTANT((gint) ATK_SCROLL_BOTTOM_RIGHT); + PRINT_CONSTANT((gint) ATK_SCROLL_LEFT_EDGE); + PRINT_CONSTANT((gint) ATK_SCROLL_RIGHT_EDGE); + PRINT_CONSTANT((gint) ATK_SCROLL_TOP_EDGE); + PRINT_CONSTANT((gint) ATK_SCROLL_TOP_LEFT); + PRINT_CONSTANT((gint) ATK_STATE_ACTIVE); + PRINT_CONSTANT((gint) ATK_STATE_ANIMATED); + PRINT_CONSTANT((gint) ATK_STATE_ARMED); + PRINT_CONSTANT((gint) ATK_STATE_BUSY); + PRINT_CONSTANT((gint) ATK_STATE_CHECKABLE); + PRINT_CONSTANT((gint) ATK_STATE_CHECKED); + PRINT_CONSTANT((gint) ATK_STATE_DEFAULT); + PRINT_CONSTANT((gint) ATK_STATE_DEFUNCT); + PRINT_CONSTANT((gint) ATK_STATE_EDITABLE); + PRINT_CONSTANT((gint) ATK_STATE_ENABLED); + PRINT_CONSTANT((gint) ATK_STATE_EXPANDABLE); + PRINT_CONSTANT((gint) ATK_STATE_EXPANDED); + PRINT_CONSTANT((gint) ATK_STATE_FOCUSABLE); + PRINT_CONSTANT((gint) ATK_STATE_FOCUSED); + PRINT_CONSTANT((gint) ATK_STATE_HAS_POPUP); + PRINT_CONSTANT((gint) ATK_STATE_HAS_TOOLTIP); + PRINT_CONSTANT((gint) ATK_STATE_HORIZONTAL); + PRINT_CONSTANT((gint) ATK_STATE_ICONIFIED); + PRINT_CONSTANT((gint) ATK_STATE_INDETERMINATE); + PRINT_CONSTANT((gint) ATK_STATE_INVALID); + PRINT_CONSTANT((gint) ATK_STATE_INVALID_ENTRY); + PRINT_CONSTANT((gint) ATK_STATE_LAST_DEFINED); + PRINT_CONSTANT((gint) ATK_STATE_MANAGES_DESCENDANTS); + PRINT_CONSTANT((gint) ATK_STATE_MODAL); + PRINT_CONSTANT((gint) ATK_STATE_MULTISELECTABLE); + PRINT_CONSTANT((gint) ATK_STATE_MULTI_LINE); + PRINT_CONSTANT((gint) ATK_STATE_OPAQUE); + PRINT_CONSTANT((gint) ATK_STATE_PRESSED); + PRINT_CONSTANT((gint) ATK_STATE_READ_ONLY); + PRINT_CONSTANT((gint) ATK_STATE_REQUIRED); + PRINT_CONSTANT((gint) ATK_STATE_RESIZABLE); + PRINT_CONSTANT((gint) ATK_STATE_SELECTABLE); + PRINT_CONSTANT((gint) ATK_STATE_SELECTABLE_TEXT); + PRINT_CONSTANT((gint) ATK_STATE_SELECTED); + PRINT_CONSTANT((gint) ATK_STATE_SENSITIVE); + PRINT_CONSTANT((gint) ATK_STATE_SHOWING); + PRINT_CONSTANT((gint) ATK_STATE_SINGLE_LINE); + PRINT_CONSTANT((gint) ATK_STATE_STALE); + PRINT_CONSTANT((gint) ATK_STATE_SUPPORTS_AUTOCOMPLETION); + PRINT_CONSTANT((gint) ATK_STATE_TRANSIENT); + PRINT_CONSTANT((gint) ATK_STATE_TRUNCATED); + PRINT_CONSTANT((gint) ATK_STATE_VERTICAL); + PRINT_CONSTANT((gint) ATK_STATE_VISIBLE); + PRINT_CONSTANT((gint) ATK_STATE_VISITED); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_BG_COLOR); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_BG_FULL_HEIGHT); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_BG_STIPPLE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_DIRECTION); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_EDITABLE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_FAMILY_NAME); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_FG_COLOR); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_FG_STIPPLE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_INDENT); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_INVALID); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_INVISIBLE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_JUSTIFICATION); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_LANGUAGE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_LAST_DEFINED); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_LEFT_MARGIN); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_PIXELS_ABOVE_LINES); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_PIXELS_BELOW_LINES); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_RIGHT_MARGIN); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_RISE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_SCALE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_SIZE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_STRETCH); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_STRIKETHROUGH); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_STYLE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_TEXT_POSITION); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_UNDERLINE); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_VARIANT); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_WEIGHT); + PRINT_CONSTANT((gint) ATK_TEXT_ATTR_WRAP_MODE); + PRINT_CONSTANT((gint) ATK_TEXT_BOUNDARY_CHAR); + PRINT_CONSTANT((gint) ATK_TEXT_BOUNDARY_LINE_END); + PRINT_CONSTANT((gint) ATK_TEXT_BOUNDARY_LINE_START); + PRINT_CONSTANT((gint) ATK_TEXT_BOUNDARY_SENTENCE_END); + PRINT_CONSTANT((gint) ATK_TEXT_BOUNDARY_SENTENCE_START); + PRINT_CONSTANT((gint) ATK_TEXT_BOUNDARY_WORD_END); + PRINT_CONSTANT((gint) ATK_TEXT_BOUNDARY_WORD_START); + PRINT_CONSTANT((gint) ATK_TEXT_CLIP_BOTH); + PRINT_CONSTANT((gint) ATK_TEXT_CLIP_MAX); + PRINT_CONSTANT((gint) ATK_TEXT_CLIP_MIN); + PRINT_CONSTANT((gint) ATK_TEXT_CLIP_NONE); + PRINT_CONSTANT((gint) ATK_TEXT_GRANULARITY_CHAR); + PRINT_CONSTANT((gint) ATK_TEXT_GRANULARITY_LINE); + PRINT_CONSTANT((gint) ATK_TEXT_GRANULARITY_PARAGRAPH); + PRINT_CONSTANT((gint) ATK_TEXT_GRANULARITY_SENTENCE); + PRINT_CONSTANT((gint) ATK_TEXT_GRANULARITY_WORD); + PRINT_CONSTANT((gint) ATK_VALUE_ACCEPTABLE); + PRINT_CONSTANT((gint) ATK_VALUE_BAD); + PRINT_CONSTANT((gint) ATK_VALUE_BEST); + PRINT_CONSTANT((gint) ATK_VALUE_GOOD); + PRINT_CONSTANT((gint) ATK_VALUE_HIGH); + PRINT_CONSTANT((gint) ATK_VALUE_LAST_DEFINED); + PRINT_CONSTANT((gint) ATK_VALUE_LOW); + PRINT_CONSTANT((gint) ATK_VALUE_MEDIUM); + PRINT_CONSTANT((gint) ATK_VALUE_STRONG); + PRINT_CONSTANT((gint) ATK_VALUE_VERY_BAD); + PRINT_CONSTANT((gint) ATK_VALUE_VERY_GOOD); + PRINT_CONSTANT((gint) ATK_VALUE_VERY_HIGH); + PRINT_CONSTANT((gint) ATK_VALUE_VERY_LOW); + PRINT_CONSTANT((gint) ATK_VALUE_VERY_STRONG); + PRINT_CONSTANT((gint) ATK_VALUE_VERY_WEAK); + PRINT_CONSTANT((gint) ATK_VALUE_WEAK); + PRINT_CONSTANT((gint) ATK_XY_PARENT); + PRINT_CONSTANT((gint) ATK_XY_SCREEN); + PRINT_CONSTANT((gint) ATK_XY_WINDOW); return 0; } diff --git a/atk/sys/tests/layout.c b/atk/sys/tests/layout.c index 45f2ef46113e..49d85c8d69ea 100644 --- a/atk/sys/tests/layout.c +++ b/atk/sys/tests/layout.c @@ -7,6 +7,68 @@ #include int main() { - printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME)); + printf("%s;%zu;%zu\n", "AtkActionIface", sizeof(AtkActionIface), alignof(AtkActionIface)); + printf("%s;%zu;%zu\n", "AtkAttribute", sizeof(AtkAttribute), alignof(AtkAttribute)); + printf("%s;%zu;%zu\n", "AtkAttributeSet", sizeof(AtkAttributeSet), alignof(AtkAttributeSet)); + printf("%s;%zu;%zu\n", "AtkComponentIface", sizeof(AtkComponentIface), alignof(AtkComponentIface)); + printf("%s;%zu;%zu\n", "AtkCoordType", sizeof(AtkCoordType), alignof(AtkCoordType)); + printf("%s;%zu;%zu\n", "AtkDocumentIface", sizeof(AtkDocumentIface), alignof(AtkDocumentIface)); + printf("%s;%zu;%zu\n", "AtkEditableTextIface", sizeof(AtkEditableTextIface), alignof(AtkEditableTextIface)); + printf("%s;%zu;%zu\n", "AtkGObjectAccessible", sizeof(AtkGObjectAccessible), alignof(AtkGObjectAccessible)); + printf("%s;%zu;%zu\n", "AtkGObjectAccessibleClass", sizeof(AtkGObjectAccessibleClass), alignof(AtkGObjectAccessibleClass)); + printf("%s;%zu;%zu\n", "AtkHyperlink", sizeof(AtkHyperlink), alignof(AtkHyperlink)); + printf("%s;%zu;%zu\n", "AtkHyperlinkClass", sizeof(AtkHyperlinkClass), alignof(AtkHyperlinkClass)); + printf("%s;%zu;%zu\n", "AtkHyperlinkImplIface", sizeof(AtkHyperlinkImplIface), alignof(AtkHyperlinkImplIface)); + printf("%s;%zu;%zu\n", "AtkHyperlinkStateFlags", sizeof(AtkHyperlinkStateFlags), alignof(AtkHyperlinkStateFlags)); + printf("%s;%zu;%zu\n", "AtkHypertextIface", sizeof(AtkHypertextIface), alignof(AtkHypertextIface)); + printf("%s;%zu;%zu\n", "AtkImageIface", sizeof(AtkImageIface), alignof(AtkImageIface)); + printf("%s;%zu;%zu\n", "AtkKeyEventStruct", sizeof(AtkKeyEventStruct), alignof(AtkKeyEventStruct)); + printf("%s;%zu;%zu\n", "AtkKeyEventType", sizeof(AtkKeyEventType), alignof(AtkKeyEventType)); + printf("%s;%zu;%zu\n", "AtkLayer", sizeof(AtkLayer), alignof(AtkLayer)); + printf("%s;%zu;%zu\n", "AtkMisc", sizeof(AtkMisc), alignof(AtkMisc)); + printf("%s;%zu;%zu\n", "AtkMiscClass", sizeof(AtkMiscClass), alignof(AtkMiscClass)); + printf("%s;%zu;%zu\n", "AtkNoOpObject", sizeof(AtkNoOpObject), alignof(AtkNoOpObject)); + printf("%s;%zu;%zu\n", "AtkNoOpObjectClass", sizeof(AtkNoOpObjectClass), alignof(AtkNoOpObjectClass)); + printf("%s;%zu;%zu\n", "AtkNoOpObjectFactory", sizeof(AtkNoOpObjectFactory), alignof(AtkNoOpObjectFactory)); + printf("%s;%zu;%zu\n", "AtkNoOpObjectFactoryClass", sizeof(AtkNoOpObjectFactoryClass), alignof(AtkNoOpObjectFactoryClass)); + printf("%s;%zu;%zu\n", "AtkObject", sizeof(AtkObject), alignof(AtkObject)); + printf("%s;%zu;%zu\n", "AtkObjectClass", sizeof(AtkObjectClass), alignof(AtkObjectClass)); + printf("%s;%zu;%zu\n", "AtkObjectFactory", sizeof(AtkObjectFactory), alignof(AtkObjectFactory)); + printf("%s;%zu;%zu\n", "AtkObjectFactoryClass", sizeof(AtkObjectFactoryClass), alignof(AtkObjectFactoryClass)); + printf("%s;%zu;%zu\n", "AtkPlug", sizeof(AtkPlug), alignof(AtkPlug)); + printf("%s;%zu;%zu\n", "AtkPlugClass", sizeof(AtkPlugClass), alignof(AtkPlugClass)); + printf("%s;%zu;%zu\n", "AtkPropertyValues", sizeof(AtkPropertyValues), alignof(AtkPropertyValues)); + printf("%s;%zu;%zu\n", "AtkRectangle", sizeof(AtkRectangle), alignof(AtkRectangle)); + printf("%s;%zu;%zu\n", "AtkRegistry", sizeof(AtkRegistry), alignof(AtkRegistry)); + printf("%s;%zu;%zu\n", "AtkRegistryClass", sizeof(AtkRegistryClass), alignof(AtkRegistryClass)); + printf("%s;%zu;%zu\n", "AtkRelation", sizeof(AtkRelation), alignof(AtkRelation)); + printf("%s;%zu;%zu\n", "AtkRelationClass", sizeof(AtkRelationClass), alignof(AtkRelationClass)); + printf("%s;%zu;%zu\n", "AtkRelationSet", sizeof(AtkRelationSet), alignof(AtkRelationSet)); + printf("%s;%zu;%zu\n", "AtkRelationSetClass", sizeof(AtkRelationSetClass), alignof(AtkRelationSetClass)); + printf("%s;%zu;%zu\n", "AtkRelationType", sizeof(AtkRelationType), alignof(AtkRelationType)); + printf("%s;%zu;%zu\n", "AtkRole", sizeof(AtkRole), alignof(AtkRole)); + printf("%s;%zu;%zu\n", "AtkScrollType", sizeof(AtkScrollType), alignof(AtkScrollType)); + printf("%s;%zu;%zu\n", "AtkSelectionIface", sizeof(AtkSelectionIface), alignof(AtkSelectionIface)); + printf("%s;%zu;%zu\n", "AtkSocket", sizeof(AtkSocket), alignof(AtkSocket)); + printf("%s;%zu;%zu\n", "AtkSocketClass", sizeof(AtkSocketClass), alignof(AtkSocketClass)); + printf("%s;%zu;%zu\n", "AtkState", sizeof(AtkState), alignof(AtkState)); + printf("%s;%zu;%zu\n", "AtkStateSet", sizeof(AtkStateSet), alignof(AtkStateSet)); + printf("%s;%zu;%zu\n", "AtkStateSetClass", sizeof(AtkStateSetClass), alignof(AtkStateSetClass)); + printf("%s;%zu;%zu\n", "AtkStateType", sizeof(AtkStateType), alignof(AtkStateType)); + printf("%s;%zu;%zu\n", "AtkStreamableContentIface", sizeof(AtkStreamableContentIface), alignof(AtkStreamableContentIface)); + printf("%s;%zu;%zu\n", "AtkTableCellIface", sizeof(AtkTableCellIface), alignof(AtkTableCellIface)); + printf("%s;%zu;%zu\n", "AtkTableIface", sizeof(AtkTableIface), alignof(AtkTableIface)); + printf("%s;%zu;%zu\n", "AtkTextAttribute", sizeof(AtkTextAttribute), alignof(AtkTextAttribute)); + printf("%s;%zu;%zu\n", "AtkTextBoundary", sizeof(AtkTextBoundary), alignof(AtkTextBoundary)); + printf("%s;%zu;%zu\n", "AtkTextClipType", sizeof(AtkTextClipType), alignof(AtkTextClipType)); + printf("%s;%zu;%zu\n", "AtkTextGranularity", sizeof(AtkTextGranularity), alignof(AtkTextGranularity)); + printf("%s;%zu;%zu\n", "AtkTextIface", sizeof(AtkTextIface), alignof(AtkTextIface)); + printf("%s;%zu;%zu\n", "AtkTextRange", sizeof(AtkTextRange), alignof(AtkTextRange)); + printf("%s;%zu;%zu\n", "AtkTextRectangle", sizeof(AtkTextRectangle), alignof(AtkTextRectangle)); + printf("%s;%zu;%zu\n", "AtkUtil", sizeof(AtkUtil), alignof(AtkUtil)); + printf("%s;%zu;%zu\n", "AtkUtilClass", sizeof(AtkUtilClass), alignof(AtkUtilClass)); + printf("%s;%zu;%zu\n", "AtkValueIface", sizeof(AtkValueIface), alignof(AtkValueIface)); + printf("%s;%zu;%zu\n", "AtkValueType", sizeof(AtkValueType), alignof(AtkValueType)); + printf("%s;%zu;%zu\n", "AtkWindowIface", sizeof(AtkWindowIface), alignof(AtkWindowIface)); return 0; } diff --git a/atk/sys/versions.txt b/atk/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/atk/sys/versions.txt +++ b/atk/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gdk-pixbuf/src/auto/pixbuf_format.rs b/gdk-pixbuf/src/auto/pixbuf_format.rs index 9d86bb9d1607..be5a177b02b7 100644 --- a/gdk-pixbuf/src/auto/pixbuf_format.rs +++ b/gdk-pixbuf/src/auto/pixbuf_format.rs @@ -9,7 +9,7 @@ glib::wrapper! { pub struct PixbufFormat(Boxed); match fn { - copy => |ptr| ffi::gdk_pixbuf_format_copy(mut_override(ptr)), + copy => |ptr| ffi::gdk_pixbuf_format_copy(ptr), free => |ptr| ffi::gdk_pixbuf_format_free(ptr), get_type => || ffi::gdk_pixbuf_format_get_type(), } diff --git a/gdk-pixbuf/src/auto/versions.txt b/gdk-pixbuf/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gdk-pixbuf/src/auto/versions.txt +++ b/gdk-pixbuf/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gdk-pixbuf/sys/tests/abi.rs b/gdk-pixbuf/sys/tests/abi.rs index 33743d75ac75..4b96d7d429c5 100644 --- a/gdk-pixbuf/sys/tests/abi.rs +++ b/gdk-pixbuf/sys/tests/abi.rs @@ -5,6 +5,7 @@ use gdk_pixbuf_sys::*; use std::env; use std::error::Error; +use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; use std::process::Command; @@ -22,6 +23,8 @@ impl Compiler { pub fn new() -> Result> { let mut args = get_var("CC", "cc")?; args.push("-Wno-deprecated-declarations".to_owned()); + // For _Generic + args.push("-std=c11".to_owned()); // For %z support in printf when using MinGW. args.push("-D__USE_MINGW_ANSI_STDIO".to_owned()); args.extend(get_var("CFLAGS", "")?); @@ -30,14 +33,6 @@ impl Compiler { Ok(Compiler { args }) } - pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { - let arg = match val.into() { - None => format!("-D{}", var), - Some(val) => format!("-D{}={}", var, val), - }; - self.args.push(arg); - } - pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box> { let mut cmd = self.to_command(); cmd.arg(src); @@ -69,7 +64,8 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { if packages.is_empty() { return Ok(Vec::new()); } - let mut cmd = Command::new("pkg-config"); + let pkg_config = env::var_os("PKG_CONFIG").unwrap_or_else(|| OsString::from("pkg-config")); + let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); let out = cmd.output()?; @@ -92,8 +88,6 @@ struct Results { passed: usize, /// Total number of failed tests (including those that failed to compile). failed: usize, - /// Number of tests that failed to compile. - failed_to_compile: usize, } impl Results { @@ -103,15 +97,8 @@ impl Results { fn record_failed(&mut self) { self.failed += 1; } - fn record_failed_to_compile(&mut self) { - self.failed += 1; - self.failed_to_compile += 1; - } fn summary(&self) -> String { - format!( - "{} passed; {} failed (compilation errors: {})", - self.passed, self.failed, self.failed_to_compile - ) + format!("{} passed; {} failed", self.passed, self.failed) } fn expect_total_success(&self) { if self.failed == 0 { @@ -124,111 +111,94 @@ impl Results { #[test] fn cross_validate_constants_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_constants: Vec<(String, String)> = Vec::new(); - assert_eq!( - "1", - get_c_value(tmpdir.path(), &cc, "1").expect("C constant"), - "failed to obtain correct constant value for 1" - ); + for l in get_c_output("constant").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let value = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse value"); + c_constants.push((name, value)); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() { - match get_c_value(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(ref c_value) => { - if rust_value == c_value { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_value, c_value - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("constants ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_value), (c_name, c_value)) in + RUST_CONSTANTS.iter().zip(c_constants.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; + } + + if rust_value != c_value { + results.record_failed(); + eprintln!( + "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_value, &c_value + ); + continue; } + + results.record_passed(); } + results.expect_total_success(); } #[test] fn cross_validate_layout_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_layouts = Vec::new(); - assert_eq!( - Layout { - size: 1, - alignment: 1 - }, - get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"), - "failed to obtain correct layout for char type" - ); + for l in get_c_output("layout").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let size = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse size"); + let alignment = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse alignment"); + c_layouts.push((name, Layout { size, alignment })); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() { - match get_c_layout(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(c_layout) => { - if rust_layout == c_layout { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Layout mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_layout, &c_layout - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("layout ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_layout), (c_name, c_layout)) in RUST_LAYOUTS.iter().zip(c_layouts.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; } - } - results.expect_total_success(); -} -fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("layout"); - let mut cc = cc.clone(); - cc.define("ABI_TYPE_NAME", name); - cc.compile(Path::new("tests/layout.c"), &exe)?; + if rust_layout != c_layout { + results.record_failed(); + eprintln!( + "Layout mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_layout, &c_layout + ); + continue; + } - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into()); + results.record_passed(); } - let stdout = str::from_utf8(&output.stdout)?; - let mut words = stdout.trim().split_whitespace(); - let size = words.next().unwrap().parse().unwrap(); - let alignment = words.next().unwrap().parse().unwrap(); - Ok(Layout { size, alignment }) + results.expect_total_success(); } -fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("constant"); - let mut cc = cc.clone(); - cc.define("ABI_CONSTANT_NAME", name); - cc.compile(Path::new("tests/constant.c"), &exe)?; +fn get_c_output(name: &str) -> Result> { + let tmpdir = Builder::new().prefix("abi").tempdir()?; + let exe = tmpdir.path().join(name); + let c_file = Path::new("tests").join(name).with_extension("c"); + + let cc = Compiler::new().expect("configured compiler"); + cc.compile(&c_file, &exe)?; let mut abi_cmd = Command::new(exe); let output = abi_cmd.output()?; @@ -236,16 +206,7 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result +#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", \ + double: "%f", \ + long double: "%ld"), \ + CONSTANT_NAME); \ + printf("\n"); + int main() { - printf(_Generic((ABI_CONSTANT_NAME), - char *: "###gir test###%s###gir test###\n", - const char *: "###gir test###%s###gir test###\n", - char: "###gir test###%c###gir test###\n", - signed char: "###gir test###%hhd###gir test###\n", - unsigned char: "###gir test###%hhu###gir test###\n", - short int: "###gir test###%hd###gir test###\n", - unsigned short int: "###gir test###%hu###gir test###\n", - int: "###gir test###%d###gir test###\n", - unsigned int: "###gir test###%u###gir test###\n", - long: "###gir test###%ld###gir test###\n", - unsigned long: "###gir test###%lu###gir test###\n", - long long: "###gir test###%lld###gir test###\n", - unsigned long long: "###gir test###%llu###gir test###\n", - double: "###gir test###%f###gir test###\n", - long double: "###gir test###%ld###gir test###\n"), - ABI_CONSTANT_NAME); + PRINT_CONSTANT((gint) GDK_COLORSPACE_RGB); + PRINT_CONSTANT((gint) GDK_INTERP_BILINEAR); + PRINT_CONSTANT((gint) GDK_INTERP_HYPER); + PRINT_CONSTANT((gint) GDK_INTERP_NEAREST); + PRINT_CONSTANT((gint) GDK_INTERP_TILES); + PRINT_CONSTANT((gint) GDK_PIXBUF_ALPHA_BILEVEL); + PRINT_CONSTANT((gint) GDK_PIXBUF_ALPHA_FULL); + PRINT_CONSTANT((gint) GDK_PIXBUF_ERROR_BAD_OPTION); + PRINT_CONSTANT((gint) GDK_PIXBUF_ERROR_CORRUPT_IMAGE); + PRINT_CONSTANT((gint) GDK_PIXBUF_ERROR_FAILED); + PRINT_CONSTANT((gint) GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION); + PRINT_CONSTANT((gint) GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY); + PRINT_CONSTANT((gint) GDK_PIXBUF_ERROR_UNKNOWN_TYPE); + PRINT_CONSTANT((gint) GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION); + PRINT_CONSTANT((guint) GDK_PIXBUF_FORMAT_SCALABLE); + PRINT_CONSTANT((guint) GDK_PIXBUF_FORMAT_THREADSAFE); + PRINT_CONSTANT((guint) GDK_PIXBUF_FORMAT_WRITABLE); + PRINT_CONSTANT((gint) GDK_PIXBUF_ROTATE_CLOCKWISE); + PRINT_CONSTANT((gint) GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE); + PRINT_CONSTANT((gint) GDK_PIXBUF_ROTATE_NONE); + PRINT_CONSTANT((gint) GDK_PIXBUF_ROTATE_UPSIDEDOWN); return 0; } diff --git a/gdk-pixbuf/sys/tests/layout.c b/gdk-pixbuf/sys/tests/layout.c index 45f2ef46113e..899c5d880047 100644 --- a/gdk-pixbuf/sys/tests/layout.c +++ b/gdk-pixbuf/sys/tests/layout.c @@ -7,6 +7,20 @@ #include int main() { - printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME)); + printf("%s;%zu;%zu\n", "GdkColorspace", sizeof(GdkColorspace), alignof(GdkColorspace)); + printf("%s;%zu;%zu\n", "GdkInterpType", sizeof(GdkInterpType), alignof(GdkInterpType)); + printf("%s;%zu;%zu\n", "GdkPixbufAlphaMode", sizeof(GdkPixbufAlphaMode), alignof(GdkPixbufAlphaMode)); + printf("%s;%zu;%zu\n", "GdkPixbufAnimation", sizeof(GdkPixbufAnimation), alignof(GdkPixbufAnimation)); + printf("%s;%zu;%zu\n", "GdkPixbufAnimationClass", sizeof(GdkPixbufAnimationClass), alignof(GdkPixbufAnimationClass)); + printf("%s;%zu;%zu\n", "GdkPixbufAnimationIter", sizeof(GdkPixbufAnimationIter), alignof(GdkPixbufAnimationIter)); + printf("%s;%zu;%zu\n", "GdkPixbufAnimationIterClass", sizeof(GdkPixbufAnimationIterClass), alignof(GdkPixbufAnimationIterClass)); + printf("%s;%zu;%zu\n", "GdkPixbufError", sizeof(GdkPixbufError), alignof(GdkPixbufError)); + printf("%s;%zu;%zu\n", "GdkPixbufFormat", sizeof(GdkPixbufFormat), alignof(GdkPixbufFormat)); + printf("%s;%zu;%zu\n", "GdkPixbufFormatFlags", sizeof(GdkPixbufFormatFlags), alignof(GdkPixbufFormatFlags)); + printf("%s;%zu;%zu\n", "GdkPixbufLoader", sizeof(GdkPixbufLoader), alignof(GdkPixbufLoader)); + printf("%s;%zu;%zu\n", "GdkPixbufLoaderClass", sizeof(GdkPixbufLoaderClass), alignof(GdkPixbufLoaderClass)); + printf("%s;%zu;%zu\n", "GdkPixbufModule", sizeof(GdkPixbufModule), alignof(GdkPixbufModule)); + printf("%s;%zu;%zu\n", "GdkPixbufModulePattern", sizeof(GdkPixbufModulePattern), alignof(GdkPixbufModulePattern)); + printf("%s;%zu;%zu\n", "GdkPixbufRotation", sizeof(GdkPixbufRotation), alignof(GdkPixbufRotation)); return 0; } diff --git a/gdk-pixbuf/sys/versions.txt b/gdk-pixbuf/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gdk-pixbuf/sys/versions.txt +++ b/gdk-pixbuf/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gdk/src/auto/device_pad.rs b/gdk/src/auto/device_pad.rs index 702aca045a0a..45d38d006e88 100644 --- a/gdk/src/auto/device_pad.rs +++ b/gdk/src/auto/device_pad.rs @@ -7,6 +7,8 @@ use crate::Device; #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_22")))] use crate::DevicePadFeature; use glib::object::IsA; +#[cfg(any(feature = "v3_22", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_22")))] use glib::translate::*; use std::fmt; diff --git a/gdk/src/auto/drawing_context.rs b/gdk/src/auto/drawing_context.rs index 161db542cbd6..5c8636900a60 100644 --- a/gdk/src/auto/drawing_context.rs +++ b/gdk/src/auto/drawing_context.rs @@ -5,6 +5,8 @@ #[cfg(any(feature = "v3_22", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_22")))] use crate::Window; +#[cfg(any(feature = "v3_22", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_22")))] use glib::translate::*; use std::fmt; diff --git a/gdk/src/auto/enums.rs b/gdk/src/auto/enums.rs index 8bcdf33637c1..bcf43d2c9e82 100644 --- a/gdk/src/auto/enums.rs +++ b/gdk/src/auto/enums.rs @@ -2,11 +2,15 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +#[cfg(any(feature = "v3_16", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))] use glib::error::ErrorDomain; use glib::translate::*; use glib::value::FromValue; use glib::value::FromValueOptional; use glib::value::SetValue; +#[cfg(any(feature = "v3_16", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))] use glib::Quark; use glib::StaticType; use glib::Type; diff --git a/gdk/src/auto/gl_context.rs b/gdk/src/auto/gl_context.rs index 1b89d5400d4e..815540ba5964 100644 --- a/gdk/src/auto/gl_context.rs +++ b/gdk/src/auto/gl_context.rs @@ -8,6 +8,8 @@ use crate::Display; #[cfg(any(feature = "v3_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))] use crate::Window; +#[cfg(any(feature = "v3_16", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))] use glib::translate::*; use std::fmt; #[cfg(any(feature = "v3_16", feature = "dox"))] diff --git a/gdk/src/auto/seat.rs b/gdk/src/auto/seat.rs index b6f278c88dd2..80f0be86cc08 100644 --- a/gdk/src/auto/seat.rs +++ b/gdk/src/auto/seat.rs @@ -35,6 +35,8 @@ use glib::signal::connect_raw; #[cfg(any(feature = "v3_20", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))] use glib::signal::SignalHandlerId; +#[cfg(any(feature = "v3_20", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))] use glib::translate::*; #[cfg(any(feature = "v3_20", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))] diff --git a/gdk/src/auto/versions.txt b/gdk/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gdk/src/auto/versions.txt +++ b/gdk/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gdk/sys/tests/abi.rs b/gdk/sys/tests/abi.rs index c8ec5e58d9f4..be2a81704520 100644 --- a/gdk/sys/tests/abi.rs +++ b/gdk/sys/tests/abi.rs @@ -5,6 +5,7 @@ use gdk_sys::*; use std::env; use std::error::Error; +use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; use std::process::Command; @@ -22,6 +23,8 @@ impl Compiler { pub fn new() -> Result> { let mut args = get_var("CC", "cc")?; args.push("-Wno-deprecated-declarations".to_owned()); + // For _Generic + args.push("-std=c11".to_owned()); // For %z support in printf when using MinGW. args.push("-D__USE_MINGW_ANSI_STDIO".to_owned()); args.extend(get_var("CFLAGS", "")?); @@ -30,14 +33,6 @@ impl Compiler { Ok(Compiler { args }) } - pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { - let arg = match val.into() { - None => format!("-D{}", var), - Some(val) => format!("-D{}={}", var, val), - }; - self.args.push(arg); - } - pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box> { let mut cmd = self.to_command(); cmd.arg(src); @@ -69,7 +64,8 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { if packages.is_empty() { return Ok(Vec::new()); } - let mut cmd = Command::new("pkg-config"); + let pkg_config = env::var_os("PKG_CONFIG").unwrap_or_else(|| OsString::from("pkg-config")); + let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); let out = cmd.output()?; @@ -92,8 +88,6 @@ struct Results { passed: usize, /// Total number of failed tests (including those that failed to compile). failed: usize, - /// Number of tests that failed to compile. - failed_to_compile: usize, } impl Results { @@ -103,15 +97,8 @@ impl Results { fn record_failed(&mut self) { self.failed += 1; } - fn record_failed_to_compile(&mut self) { - self.failed += 1; - self.failed_to_compile += 1; - } fn summary(&self) -> String { - format!( - "{} passed; {} failed (compilation errors: {})", - self.passed, self.failed, self.failed_to_compile - ) + format!("{} passed; {} failed", self.passed, self.failed) } fn expect_total_success(&self) { if self.failed == 0 { @@ -124,111 +111,94 @@ impl Results { #[test] fn cross_validate_constants_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_constants: Vec<(String, String)> = Vec::new(); - assert_eq!( - "1", - get_c_value(tmpdir.path(), &cc, "1").expect("C constant"), - "failed to obtain correct constant value for 1" - ); + for l in get_c_output("constant").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let value = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse value"); + c_constants.push((name, value)); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() { - match get_c_value(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(ref c_value) => { - if rust_value == c_value { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_value, c_value - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("constants ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_value), (c_name, c_value)) in + RUST_CONSTANTS.iter().zip(c_constants.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; + } + + if rust_value != c_value { + results.record_failed(); + eprintln!( + "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_value, &c_value + ); + continue; } + + results.record_passed(); } + results.expect_total_success(); } #[test] fn cross_validate_layout_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_layouts = Vec::new(); - assert_eq!( - Layout { - size: 1, - alignment: 1 - }, - get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"), - "failed to obtain correct layout for char type" - ); + for l in get_c_output("layout").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let size = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse size"); + let alignment = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse alignment"); + c_layouts.push((name, Layout { size, alignment })); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() { - match get_c_layout(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(c_layout) => { - if rust_layout == c_layout { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Layout mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_layout, &c_layout - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("layout ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_layout), (c_name, c_layout)) in RUST_LAYOUTS.iter().zip(c_layouts.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; } - } - results.expect_total_success(); -} -fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("layout"); - let mut cc = cc.clone(); - cc.define("ABI_TYPE_NAME", name); - cc.compile(Path::new("tests/layout.c"), &exe)?; + if rust_layout != c_layout { + results.record_failed(); + eprintln!( + "Layout mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_layout, &c_layout + ); + continue; + } - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into()); + results.record_passed(); } - let stdout = str::from_utf8(&output.stdout)?; - let mut words = stdout.trim().split_whitespace(); - let size = words.next().unwrap().parse().unwrap(); - let alignment = words.next().unwrap().parse().unwrap(); - Ok(Layout { size, alignment }) + results.expect_total_success(); } -fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("constant"); - let mut cc = cc.clone(); - cc.define("ABI_CONSTANT_NAME", name); - cc.compile(Path::new("tests/constant.c"), &exe)?; +fn get_c_output(name: &str) -> Result> { + let tmpdir = Builder::new().prefix("abi").tempdir()?; + let exe = tmpdir.path().join(name); + let c_file = Path::new("tests").join(name).with_extension("c"); + + let cc = Compiler::new().expect("configured compiler"); + cc.compile(&c_file, &exe)?; let mut abi_cmd = Command::new(exe); let output = abi_cmd.output()?; @@ -236,16 +206,7 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result +#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", \ + double: "%f", \ + long double: "%ld"), \ + CONSTANT_NAME); \ + printf("\n"); + int main() { - printf(_Generic((ABI_CONSTANT_NAME), - char *: "###gir test###%s###gir test###\n", - const char *: "###gir test###%s###gir test###\n", - char: "###gir test###%c###gir test###\n", - signed char: "###gir test###%hhd###gir test###\n", - unsigned char: "###gir test###%hhu###gir test###\n", - short int: "###gir test###%hd###gir test###\n", - unsigned short int: "###gir test###%hu###gir test###\n", - int: "###gir test###%d###gir test###\n", - unsigned int: "###gir test###%u###gir test###\n", - long: "###gir test###%ld###gir test###\n", - unsigned long: "###gir test###%lu###gir test###\n", - long long: "###gir test###%lld###gir test###\n", - unsigned long long: "###gir test###%llu###gir test###\n", - double: "###gir test###%f###gir test###\n", - long double: "###gir test###%ld###gir test###\n"), - ABI_CONSTANT_NAME); + PRINT_CONSTANT((gint) GDK_2BUTTON_PRESS); + PRINT_CONSTANT((gint) GDK_3BUTTON_PRESS); + PRINT_CONSTANT((guint) GDK_ACTION_ASK); + PRINT_CONSTANT((guint) GDK_ACTION_COPY); + PRINT_CONSTANT((guint) GDK_ACTION_DEFAULT); + PRINT_CONSTANT((guint) GDK_ACTION_LINK); + PRINT_CONSTANT((guint) GDK_ACTION_MOVE); + PRINT_CONSTANT((guint) GDK_ACTION_PRIVATE); + PRINT_CONSTANT((guint) GDK_ALL_EVENTS_MASK); + PRINT_CONSTANT((guint) GDK_ANCHOR_FLIP); + PRINT_CONSTANT((guint) GDK_ANCHOR_FLIP_X); + PRINT_CONSTANT((guint) GDK_ANCHOR_FLIP_Y); + PRINT_CONSTANT((guint) GDK_ANCHOR_RESIZE); + PRINT_CONSTANT((guint) GDK_ANCHOR_RESIZE_X); + PRINT_CONSTANT((guint) GDK_ANCHOR_RESIZE_Y); + PRINT_CONSTANT((guint) GDK_ANCHOR_SLIDE); + PRINT_CONSTANT((guint) GDK_ANCHOR_SLIDE_X); + PRINT_CONSTANT((guint) GDK_ANCHOR_SLIDE_Y); + PRINT_CONSTANT((gint) GDK_ARROW); + PRINT_CONSTANT((gint) GDK_AXIS_DISTANCE); + PRINT_CONSTANT((guint) GDK_AXIS_FLAG_DISTANCE); + PRINT_CONSTANT((guint) GDK_AXIS_FLAG_PRESSURE); + PRINT_CONSTANT((guint) GDK_AXIS_FLAG_ROTATION); + PRINT_CONSTANT((guint) GDK_AXIS_FLAG_SLIDER); + PRINT_CONSTANT((guint) GDK_AXIS_FLAG_WHEEL); + PRINT_CONSTANT((guint) GDK_AXIS_FLAG_X); + PRINT_CONSTANT((guint) GDK_AXIS_FLAG_XTILT); + PRINT_CONSTANT((guint) GDK_AXIS_FLAG_Y); + PRINT_CONSTANT((guint) GDK_AXIS_FLAG_YTILT); + PRINT_CONSTANT((gint) GDK_AXIS_IGNORE); + PRINT_CONSTANT((gint) GDK_AXIS_LAST); + PRINT_CONSTANT((gint) GDK_AXIS_PRESSURE); + PRINT_CONSTANT((gint) GDK_AXIS_ROTATION); + PRINT_CONSTANT((gint) GDK_AXIS_SLIDER); + PRINT_CONSTANT((gint) GDK_AXIS_WHEEL); + PRINT_CONSTANT((gint) GDK_AXIS_X); + PRINT_CONSTANT((gint) GDK_AXIS_XTILT); + PRINT_CONSTANT((gint) GDK_AXIS_Y); + PRINT_CONSTANT((gint) GDK_AXIS_YTILT); + PRINT_CONSTANT((gint) GDK_BASED_ARROW_DOWN); + PRINT_CONSTANT((gint) GDK_BASED_ARROW_UP); + PRINT_CONSTANT((gint) GDK_BLANK_CURSOR); + PRINT_CONSTANT((gint) GDK_BOAT); + PRINT_CONSTANT((gint) GDK_BOGOSITY); + PRINT_CONSTANT((gint) GDK_BOTTOM_LEFT_CORNER); + PRINT_CONSTANT((gint) GDK_BOTTOM_RIGHT_CORNER); + PRINT_CONSTANT((gint) GDK_BOTTOM_SIDE); + PRINT_CONSTANT((gint) GDK_BOTTOM_TEE); + PRINT_CONSTANT((gint) GDK_BOX_SPIRAL); + PRINT_CONSTANT((guint) GDK_BUTTON1_MASK); + PRINT_CONSTANT((guint) GDK_BUTTON1_MOTION_MASK); + PRINT_CONSTANT((guint) GDK_BUTTON2_MASK); + PRINT_CONSTANT((guint) GDK_BUTTON2_MOTION_MASK); + PRINT_CONSTANT((guint) GDK_BUTTON3_MASK); + PRINT_CONSTANT((guint) GDK_BUTTON3_MOTION_MASK); + PRINT_CONSTANT((guint) GDK_BUTTON4_MASK); + PRINT_CONSTANT((guint) GDK_BUTTON5_MASK); + PRINT_CONSTANT(GDK_BUTTON_MIDDLE); + PRINT_CONSTANT((guint) GDK_BUTTON_MOTION_MASK); + PRINT_CONSTANT((gint) GDK_BUTTON_PRESS); + PRINT_CONSTANT((guint) GDK_BUTTON_PRESS_MASK); + PRINT_CONSTANT(GDK_BUTTON_PRIMARY); + PRINT_CONSTANT((gint) GDK_BUTTON_RELEASE); + PRINT_CONSTANT((guint) GDK_BUTTON_RELEASE_MASK); + PRINT_CONSTANT(GDK_BUTTON_SECONDARY); + PRINT_CONSTANT((gint) GDK_CENTER_PTR); + PRINT_CONSTANT((gint) GDK_CIRCLE); + PRINT_CONSTANT((gint) GDK_CLIENT_EVENT); + PRINT_CONSTANT((gint) GDK_CLOCK); + PRINT_CONSTANT((gint) GDK_COFFEE_MUG); + PRINT_CONSTANT((gint) GDK_CONFIGURE); + PRINT_CONSTANT((guint) GDK_CONTROL_MASK); + PRINT_CONSTANT((gint) GDK_CROSS); + PRINT_CONSTANT((gint) GDK_CROSSHAIR); + PRINT_CONSTANT((gint) GDK_CROSSING_DEVICE_SWITCH); + PRINT_CONSTANT((gint) GDK_CROSSING_GRAB); + PRINT_CONSTANT((gint) GDK_CROSSING_GTK_GRAB); + PRINT_CONSTANT((gint) GDK_CROSSING_GTK_UNGRAB); + PRINT_CONSTANT((gint) GDK_CROSSING_NORMAL); + PRINT_CONSTANT((gint) GDK_CROSSING_STATE_CHANGED); + PRINT_CONSTANT((gint) GDK_CROSSING_TOUCH_BEGIN); + PRINT_CONSTANT((gint) GDK_CROSSING_TOUCH_END); + PRINT_CONSTANT((gint) GDK_CROSSING_UNGRAB); + PRINT_CONSTANT((gint) GDK_CROSS_REVERSE); + PRINT_CONSTANT(GDK_CURRENT_TIME); + PRINT_CONSTANT((gint) GDK_CURSOR_IS_PIXMAP); + PRINT_CONSTANT((gint) GDK_DAMAGE); + PRINT_CONSTANT((guint) GDK_DECOR_ALL); + PRINT_CONSTANT((guint) GDK_DECOR_BORDER); + PRINT_CONSTANT((guint) GDK_DECOR_MAXIMIZE); + PRINT_CONSTANT((guint) GDK_DECOR_MENU); + PRINT_CONSTANT((guint) GDK_DECOR_MINIMIZE); + PRINT_CONSTANT((guint) GDK_DECOR_RESIZEH); + PRINT_CONSTANT((guint) GDK_DECOR_TITLE); + PRINT_CONSTANT((gint) GDK_DELETE); + PRINT_CONSTANT((gint) GDK_DESTROY); + PRINT_CONSTANT((gint) GDK_DEVICE_PAD_FEATURE_BUTTON); + PRINT_CONSTANT((gint) GDK_DEVICE_PAD_FEATURE_RING); + PRINT_CONSTANT((gint) GDK_DEVICE_PAD_FEATURE_STRIP); + PRINT_CONSTANT((gint) GDK_DEVICE_TOOL_TYPE_AIRBRUSH); + PRINT_CONSTANT((gint) GDK_DEVICE_TOOL_TYPE_BRUSH); + PRINT_CONSTANT((gint) GDK_DEVICE_TOOL_TYPE_ERASER); + PRINT_CONSTANT((gint) GDK_DEVICE_TOOL_TYPE_LENS); + PRINT_CONSTANT((gint) GDK_DEVICE_TOOL_TYPE_MOUSE); + PRINT_CONSTANT((gint) GDK_DEVICE_TOOL_TYPE_PEN); + PRINT_CONSTANT((gint) GDK_DEVICE_TOOL_TYPE_PENCIL); + PRINT_CONSTANT((gint) GDK_DEVICE_TOOL_TYPE_UNKNOWN); + PRINT_CONSTANT((gint) GDK_DEVICE_TYPE_FLOATING); + PRINT_CONSTANT((gint) GDK_DEVICE_TYPE_MASTER); + PRINT_CONSTANT((gint) GDK_DEVICE_TYPE_SLAVE); + PRINT_CONSTANT((gint) GDK_DIAMOND_CROSS); + PRINT_CONSTANT((gint) GDK_DOT); + PRINT_CONSTANT((gint) GDK_DOTBOX); + PRINT_CONSTANT((gint) GDK_DOUBLE_ARROW); + PRINT_CONSTANT((gint) GDK_DOUBLE_BUTTON_PRESS); + PRINT_CONSTANT((gint) GDK_DRAFT_LARGE); + PRINT_CONSTANT((gint) GDK_DRAFT_SMALL); + PRINT_CONSTANT((gint) GDK_DRAG_CANCEL_ERROR); + PRINT_CONSTANT((gint) GDK_DRAG_CANCEL_NO_TARGET); + PRINT_CONSTANT((gint) GDK_DRAG_CANCEL_USER_CANCELLED); + PRINT_CONSTANT((gint) GDK_DRAG_ENTER); + PRINT_CONSTANT((gint) GDK_DRAG_LEAVE); + PRINT_CONSTANT((gint) GDK_DRAG_MOTION); + PRINT_CONSTANT((gint) GDK_DRAG_PROTO_LOCAL); + PRINT_CONSTANT((gint) GDK_DRAG_PROTO_MOTIF); + PRINT_CONSTANT((gint) GDK_DRAG_PROTO_NONE); + PRINT_CONSTANT((gint) GDK_DRAG_PROTO_OLE2); + PRINT_CONSTANT((gint) GDK_DRAG_PROTO_ROOTWIN); + PRINT_CONSTANT((gint) GDK_DRAG_PROTO_WAYLAND); + PRINT_CONSTANT((gint) GDK_DRAG_PROTO_WIN32_DROPFILES); + PRINT_CONSTANT((gint) GDK_DRAG_PROTO_XDND); + PRINT_CONSTANT((gint) GDK_DRAG_STATUS); + PRINT_CONSTANT((gint) GDK_DRAPED_BOX); + PRINT_CONSTANT((gint) GDK_DROP_FINISHED); + PRINT_CONSTANT((gint) GDK_DROP_START); + PRINT_CONSTANT((gint) GDK_ENTER_NOTIFY); + PRINT_CONSTANT((guint) GDK_ENTER_NOTIFY_MASK); + PRINT_CONSTANT((gint) GDK_ERROR); + PRINT_CONSTANT((gint) GDK_ERROR_FILE); + PRINT_CONSTANT((gint) GDK_ERROR_MEM); + PRINT_CONSTANT((gint) GDK_ERROR_PARAM); + PRINT_CONSTANT((gint) GDK_EVENT_LAST); + PRINT_CONSTANT(GDK_EVENT_PROPAGATE); + PRINT_CONSTANT(GDK_EVENT_STOP); + PRINT_CONSTANT((gint) GDK_EXCHANGE); + PRINT_CONSTANT((gint) GDK_EXPOSE); + PRINT_CONSTANT((guint) GDK_EXPOSURE_MASK); + PRINT_CONSTANT((gint) GDK_FILTER_CONTINUE); + PRINT_CONSTANT((gint) GDK_FILTER_REMOVE); + PRINT_CONSTANT((gint) GDK_FILTER_TRANSLATE); + PRINT_CONSTANT((gint) GDK_FLEUR); + PRINT_CONSTANT((gint) GDK_FOCUS_CHANGE); + PRINT_CONSTANT((guint) GDK_FOCUS_CHANGE_MASK); + PRINT_CONSTANT((guint) GDK_FRAME_CLOCK_PHASE_AFTER_PAINT); + PRINT_CONSTANT((guint) GDK_FRAME_CLOCK_PHASE_BEFORE_PAINT); + PRINT_CONSTANT((guint) GDK_FRAME_CLOCK_PHASE_FLUSH_EVENTS); + PRINT_CONSTANT((guint) GDK_FRAME_CLOCK_PHASE_LAYOUT); + PRINT_CONSTANT((guint) GDK_FRAME_CLOCK_PHASE_NONE); + PRINT_CONSTANT((guint) GDK_FRAME_CLOCK_PHASE_PAINT); + PRINT_CONSTANT((guint) GDK_FRAME_CLOCK_PHASE_RESUME_EVENTS); + PRINT_CONSTANT((guint) GDK_FRAME_CLOCK_PHASE_UPDATE); + PRINT_CONSTANT((gint) GDK_FULLSCREEN_ON_ALL_MONITORS); + PRINT_CONSTANT((gint) GDK_FULLSCREEN_ON_CURRENT_MONITOR); + PRINT_CONSTANT((guint) GDK_FUNC_ALL); + PRINT_CONSTANT((guint) GDK_FUNC_CLOSE); + PRINT_CONSTANT((guint) GDK_FUNC_MAXIMIZE); + PRINT_CONSTANT((guint) GDK_FUNC_MINIMIZE); + PRINT_CONSTANT((guint) GDK_FUNC_MOVE); + PRINT_CONSTANT((guint) GDK_FUNC_RESIZE); + PRINT_CONSTANT((gint) GDK_GL_ERROR_NOT_AVAILABLE); + PRINT_CONSTANT((gint) GDK_GL_ERROR_UNSUPPORTED_FORMAT); + PRINT_CONSTANT((gint) GDK_GL_ERROR_UNSUPPORTED_PROFILE); + PRINT_CONSTANT((gint) GDK_GOBBLER); + PRINT_CONSTANT((gint) GDK_GRAB_ALREADY_GRABBED); + PRINT_CONSTANT((gint) GDK_GRAB_BROKEN); + PRINT_CONSTANT((gint) GDK_GRAB_FAILED); + PRINT_CONSTANT((gint) GDK_GRAB_FROZEN); + PRINT_CONSTANT((gint) GDK_GRAB_INVALID_TIME); + PRINT_CONSTANT((gint) GDK_GRAB_NOT_VIEWABLE); + PRINT_CONSTANT((gint) GDK_GRAB_SUCCESS); + PRINT_CONSTANT((gint) GDK_GRAVITY_CENTER); + PRINT_CONSTANT((gint) GDK_GRAVITY_EAST); + PRINT_CONSTANT((gint) GDK_GRAVITY_NORTH); + PRINT_CONSTANT((gint) GDK_GRAVITY_NORTH_EAST); + PRINT_CONSTANT((gint) GDK_GRAVITY_NORTH_WEST); + PRINT_CONSTANT((gint) GDK_GRAVITY_SOUTH); + PRINT_CONSTANT((gint) GDK_GRAVITY_SOUTH_EAST); + PRINT_CONSTANT((gint) GDK_GRAVITY_SOUTH_WEST); + PRINT_CONSTANT((gint) GDK_GRAVITY_STATIC); + PRINT_CONSTANT((gint) GDK_GRAVITY_WEST); + PRINT_CONSTANT((gint) GDK_GUMBY); + PRINT_CONSTANT((gint) GDK_HAND1); + PRINT_CONSTANT((gint) GDK_HAND2); + PRINT_CONSTANT((gint) GDK_HEART); + PRINT_CONSTANT((guint) GDK_HINT_ASPECT); + PRINT_CONSTANT((guint) GDK_HINT_BASE_SIZE); + PRINT_CONSTANT((guint) GDK_HINT_MAX_SIZE); + PRINT_CONSTANT((guint) GDK_HINT_MIN_SIZE); + PRINT_CONSTANT((guint) GDK_HINT_POS); + PRINT_CONSTANT((guint) GDK_HINT_RESIZE_INC); + PRINT_CONSTANT((guint) GDK_HINT_USER_POS); + PRINT_CONSTANT((guint) GDK_HINT_USER_SIZE); + PRINT_CONSTANT((guint) GDK_HINT_WIN_GRAVITY); + PRINT_CONSTANT((guint) GDK_HYPER_MASK); + PRINT_CONSTANT((gint) GDK_ICON); + PRINT_CONSTANT((gint) GDK_INPUT_ONLY); + PRINT_CONSTANT((gint) GDK_INPUT_OUTPUT); + PRINT_CONSTANT((gint) GDK_IRON_CROSS); + PRINT_CONSTANT(GDK_KEY_0); + PRINT_CONSTANT(GDK_KEY_1); + PRINT_CONSTANT(GDK_KEY_2); + PRINT_CONSTANT(GDK_KEY_3); + PRINT_CONSTANT(GDK_KEY_3270_AltCursor); + PRINT_CONSTANT(GDK_KEY_3270_Attn); + PRINT_CONSTANT(GDK_KEY_3270_BackTab); + PRINT_CONSTANT(GDK_KEY_3270_ChangeScreen); + PRINT_CONSTANT(GDK_KEY_3270_Copy); + PRINT_CONSTANT(GDK_KEY_3270_CursorBlink); + PRINT_CONSTANT(GDK_KEY_3270_CursorSelect); + PRINT_CONSTANT(GDK_KEY_3270_DeleteWord); + PRINT_CONSTANT(GDK_KEY_3270_Duplicate); + PRINT_CONSTANT(GDK_KEY_3270_Enter); + PRINT_CONSTANT(GDK_KEY_3270_EraseEOF); + PRINT_CONSTANT(GDK_KEY_3270_EraseInput); + PRINT_CONSTANT(GDK_KEY_3270_ExSelect); + PRINT_CONSTANT(GDK_KEY_3270_FieldMark); + PRINT_CONSTANT(GDK_KEY_3270_Ident); + PRINT_CONSTANT(GDK_KEY_3270_Jump); + PRINT_CONSTANT(GDK_KEY_3270_KeyClick); + PRINT_CONSTANT(GDK_KEY_3270_Left2); + PRINT_CONSTANT(GDK_KEY_3270_PA1); + PRINT_CONSTANT(GDK_KEY_3270_PA2); + PRINT_CONSTANT(GDK_KEY_3270_PA3); + PRINT_CONSTANT(GDK_KEY_3270_Play); + PRINT_CONSTANT(GDK_KEY_3270_PrintScreen); + PRINT_CONSTANT(GDK_KEY_3270_Quit); + PRINT_CONSTANT(GDK_KEY_3270_Record); + PRINT_CONSTANT(GDK_KEY_3270_Reset); + PRINT_CONSTANT(GDK_KEY_3270_Right2); + PRINT_CONSTANT(GDK_KEY_3270_Rule); + PRINT_CONSTANT(GDK_KEY_3270_Setup); + PRINT_CONSTANT(GDK_KEY_3270_Test); + PRINT_CONSTANT(GDK_KEY_4); + PRINT_CONSTANT(GDK_KEY_5); + PRINT_CONSTANT(GDK_KEY_6); + PRINT_CONSTANT(GDK_KEY_7); + PRINT_CONSTANT(GDK_KEY_8); + PRINT_CONSTANT(GDK_KEY_9); + PRINT_CONSTANT(GDK_KEY_A); + PRINT_CONSTANT(GDK_KEY_AE); + PRINT_CONSTANT(GDK_KEY_Aacute); + PRINT_CONSTANT(GDK_KEY_Abelowdot); + PRINT_CONSTANT(GDK_KEY_Abreve); + PRINT_CONSTANT(GDK_KEY_Abreveacute); + PRINT_CONSTANT(GDK_KEY_Abrevebelowdot); + PRINT_CONSTANT(GDK_KEY_Abrevegrave); + PRINT_CONSTANT(GDK_KEY_Abrevehook); + PRINT_CONSTANT(GDK_KEY_Abrevetilde); + PRINT_CONSTANT(GDK_KEY_AccessX_Enable); + PRINT_CONSTANT(GDK_KEY_AccessX_Feedback_Enable); + PRINT_CONSTANT(GDK_KEY_Acircumflex); + PRINT_CONSTANT(GDK_KEY_Acircumflexacute); + PRINT_CONSTANT(GDK_KEY_Acircumflexbelowdot); + PRINT_CONSTANT(GDK_KEY_Acircumflexgrave); + PRINT_CONSTANT(GDK_KEY_Acircumflexhook); + PRINT_CONSTANT(GDK_KEY_Acircumflextilde); + PRINT_CONSTANT(GDK_KEY_AddFavorite); + PRINT_CONSTANT(GDK_KEY_Adiaeresis); + PRINT_CONSTANT(GDK_KEY_Agrave); + PRINT_CONSTANT(GDK_KEY_Ahook); + PRINT_CONSTANT(GDK_KEY_Alt_L); + PRINT_CONSTANT(GDK_KEY_Alt_R); + PRINT_CONSTANT(GDK_KEY_Amacron); + PRINT_CONSTANT(GDK_KEY_Aogonek); + PRINT_CONSTANT(GDK_KEY_ApplicationLeft); + PRINT_CONSTANT(GDK_KEY_ApplicationRight); + PRINT_CONSTANT(GDK_KEY_Arabic_0); + PRINT_CONSTANT(GDK_KEY_Arabic_1); + PRINT_CONSTANT(GDK_KEY_Arabic_2); + PRINT_CONSTANT(GDK_KEY_Arabic_3); + PRINT_CONSTANT(GDK_KEY_Arabic_4); + PRINT_CONSTANT(GDK_KEY_Arabic_5); + PRINT_CONSTANT(GDK_KEY_Arabic_6); + PRINT_CONSTANT(GDK_KEY_Arabic_7); + PRINT_CONSTANT(GDK_KEY_Arabic_8); + PRINT_CONSTANT(GDK_KEY_Arabic_9); + PRINT_CONSTANT(GDK_KEY_Arabic_ain); + PRINT_CONSTANT(GDK_KEY_Arabic_alef); + PRINT_CONSTANT(GDK_KEY_Arabic_alefmaksura); + PRINT_CONSTANT(GDK_KEY_Arabic_beh); + PRINT_CONSTANT(GDK_KEY_Arabic_comma); + PRINT_CONSTANT(GDK_KEY_Arabic_dad); + PRINT_CONSTANT(GDK_KEY_Arabic_dal); + PRINT_CONSTANT(GDK_KEY_Arabic_damma); + PRINT_CONSTANT(GDK_KEY_Arabic_dammatan); + PRINT_CONSTANT(GDK_KEY_Arabic_ddal); + PRINT_CONSTANT(GDK_KEY_Arabic_farsi_yeh); + PRINT_CONSTANT(GDK_KEY_Arabic_fatha); + PRINT_CONSTANT(GDK_KEY_Arabic_fathatan); + PRINT_CONSTANT(GDK_KEY_Arabic_feh); + PRINT_CONSTANT(GDK_KEY_Arabic_fullstop); + PRINT_CONSTANT(GDK_KEY_Arabic_gaf); + PRINT_CONSTANT(GDK_KEY_Arabic_ghain); + PRINT_CONSTANT(GDK_KEY_Arabic_ha); + PRINT_CONSTANT(GDK_KEY_Arabic_hah); + PRINT_CONSTANT(GDK_KEY_Arabic_hamza); + PRINT_CONSTANT(GDK_KEY_Arabic_hamza_above); + PRINT_CONSTANT(GDK_KEY_Arabic_hamza_below); + PRINT_CONSTANT(GDK_KEY_Arabic_hamzaonalef); + PRINT_CONSTANT(GDK_KEY_Arabic_hamzaonwaw); + PRINT_CONSTANT(GDK_KEY_Arabic_hamzaonyeh); + PRINT_CONSTANT(GDK_KEY_Arabic_hamzaunderalef); + PRINT_CONSTANT(GDK_KEY_Arabic_heh); + PRINT_CONSTANT(GDK_KEY_Arabic_heh_doachashmee); + PRINT_CONSTANT(GDK_KEY_Arabic_heh_goal); + PRINT_CONSTANT(GDK_KEY_Arabic_jeem); + PRINT_CONSTANT(GDK_KEY_Arabic_jeh); + PRINT_CONSTANT(GDK_KEY_Arabic_kaf); + PRINT_CONSTANT(GDK_KEY_Arabic_kasra); + PRINT_CONSTANT(GDK_KEY_Arabic_kasratan); + PRINT_CONSTANT(GDK_KEY_Arabic_keheh); + PRINT_CONSTANT(GDK_KEY_Arabic_khah); + PRINT_CONSTANT(GDK_KEY_Arabic_lam); + PRINT_CONSTANT(GDK_KEY_Arabic_madda_above); + PRINT_CONSTANT(GDK_KEY_Arabic_maddaonalef); + PRINT_CONSTANT(GDK_KEY_Arabic_meem); + PRINT_CONSTANT(GDK_KEY_Arabic_noon); + PRINT_CONSTANT(GDK_KEY_Arabic_noon_ghunna); + PRINT_CONSTANT(GDK_KEY_Arabic_peh); + PRINT_CONSTANT(GDK_KEY_Arabic_percent); + PRINT_CONSTANT(GDK_KEY_Arabic_qaf); + PRINT_CONSTANT(GDK_KEY_Arabic_question_mark); + PRINT_CONSTANT(GDK_KEY_Arabic_ra); + PRINT_CONSTANT(GDK_KEY_Arabic_rreh); + PRINT_CONSTANT(GDK_KEY_Arabic_sad); + PRINT_CONSTANT(GDK_KEY_Arabic_seen); + PRINT_CONSTANT(GDK_KEY_Arabic_semicolon); + PRINT_CONSTANT(GDK_KEY_Arabic_shadda); + PRINT_CONSTANT(GDK_KEY_Arabic_sheen); + PRINT_CONSTANT(GDK_KEY_Arabic_sukun); + PRINT_CONSTANT(GDK_KEY_Arabic_superscript_alef); + PRINT_CONSTANT(GDK_KEY_Arabic_switch); + PRINT_CONSTANT(GDK_KEY_Arabic_tah); + PRINT_CONSTANT(GDK_KEY_Arabic_tatweel); + PRINT_CONSTANT(GDK_KEY_Arabic_tcheh); + PRINT_CONSTANT(GDK_KEY_Arabic_teh); + PRINT_CONSTANT(GDK_KEY_Arabic_tehmarbuta); + PRINT_CONSTANT(GDK_KEY_Arabic_thal); + PRINT_CONSTANT(GDK_KEY_Arabic_theh); + PRINT_CONSTANT(GDK_KEY_Arabic_tteh); + PRINT_CONSTANT(GDK_KEY_Arabic_veh); + PRINT_CONSTANT(GDK_KEY_Arabic_waw); + PRINT_CONSTANT(GDK_KEY_Arabic_yeh); + PRINT_CONSTANT(GDK_KEY_Arabic_yeh_baree); + PRINT_CONSTANT(GDK_KEY_Arabic_zah); + PRINT_CONSTANT(GDK_KEY_Arabic_zain); + PRINT_CONSTANT(GDK_KEY_Aring); + PRINT_CONSTANT(GDK_KEY_Armenian_AT); + PRINT_CONSTANT(GDK_KEY_Armenian_AYB); + PRINT_CONSTANT(GDK_KEY_Armenian_BEN); + PRINT_CONSTANT(GDK_KEY_Armenian_CHA); + PRINT_CONSTANT(GDK_KEY_Armenian_DA); + PRINT_CONSTANT(GDK_KEY_Armenian_DZA); + PRINT_CONSTANT(GDK_KEY_Armenian_E); + PRINT_CONSTANT(GDK_KEY_Armenian_FE); + PRINT_CONSTANT(GDK_KEY_Armenian_GHAT); + PRINT_CONSTANT(GDK_KEY_Armenian_GIM); + PRINT_CONSTANT(GDK_KEY_Armenian_HI); + PRINT_CONSTANT(GDK_KEY_Armenian_HO); + PRINT_CONSTANT(GDK_KEY_Armenian_INI); + PRINT_CONSTANT(GDK_KEY_Armenian_JE); + PRINT_CONSTANT(GDK_KEY_Armenian_KE); + PRINT_CONSTANT(GDK_KEY_Armenian_KEN); + PRINT_CONSTANT(GDK_KEY_Armenian_KHE); + PRINT_CONSTANT(GDK_KEY_Armenian_LYUN); + PRINT_CONSTANT(GDK_KEY_Armenian_MEN); + PRINT_CONSTANT(GDK_KEY_Armenian_NU); + PRINT_CONSTANT(GDK_KEY_Armenian_O); + PRINT_CONSTANT(GDK_KEY_Armenian_PE); + PRINT_CONSTANT(GDK_KEY_Armenian_PYUR); + PRINT_CONSTANT(GDK_KEY_Armenian_RA); + PRINT_CONSTANT(GDK_KEY_Armenian_RE); + PRINT_CONSTANT(GDK_KEY_Armenian_SE); + PRINT_CONSTANT(GDK_KEY_Armenian_SHA); + PRINT_CONSTANT(GDK_KEY_Armenian_TCHE); + PRINT_CONSTANT(GDK_KEY_Armenian_TO); + PRINT_CONSTANT(GDK_KEY_Armenian_TSA); + PRINT_CONSTANT(GDK_KEY_Armenian_TSO); + PRINT_CONSTANT(GDK_KEY_Armenian_TYUN); + PRINT_CONSTANT(GDK_KEY_Armenian_VEV); + PRINT_CONSTANT(GDK_KEY_Armenian_VO); + PRINT_CONSTANT(GDK_KEY_Armenian_VYUN); + PRINT_CONSTANT(GDK_KEY_Armenian_YECH); + PRINT_CONSTANT(GDK_KEY_Armenian_ZA); + PRINT_CONSTANT(GDK_KEY_Armenian_ZHE); + PRINT_CONSTANT(GDK_KEY_Armenian_accent); + PRINT_CONSTANT(GDK_KEY_Armenian_amanak); + PRINT_CONSTANT(GDK_KEY_Armenian_apostrophe); + PRINT_CONSTANT(GDK_KEY_Armenian_at); + PRINT_CONSTANT(GDK_KEY_Armenian_ayb); + PRINT_CONSTANT(GDK_KEY_Armenian_ben); + PRINT_CONSTANT(GDK_KEY_Armenian_but); + PRINT_CONSTANT(GDK_KEY_Armenian_cha); + PRINT_CONSTANT(GDK_KEY_Armenian_da); + PRINT_CONSTANT(GDK_KEY_Armenian_dza); + PRINT_CONSTANT(GDK_KEY_Armenian_e); + PRINT_CONSTANT(GDK_KEY_Armenian_exclam); + PRINT_CONSTANT(GDK_KEY_Armenian_fe); + PRINT_CONSTANT(GDK_KEY_Armenian_full_stop); + PRINT_CONSTANT(GDK_KEY_Armenian_ghat); + PRINT_CONSTANT(GDK_KEY_Armenian_gim); + PRINT_CONSTANT(GDK_KEY_Armenian_hi); + PRINT_CONSTANT(GDK_KEY_Armenian_ho); + PRINT_CONSTANT(GDK_KEY_Armenian_hyphen); + PRINT_CONSTANT(GDK_KEY_Armenian_ini); + PRINT_CONSTANT(GDK_KEY_Armenian_je); + PRINT_CONSTANT(GDK_KEY_Armenian_ke); + PRINT_CONSTANT(GDK_KEY_Armenian_ken); + PRINT_CONSTANT(GDK_KEY_Armenian_khe); + PRINT_CONSTANT(GDK_KEY_Armenian_ligature_ew); + PRINT_CONSTANT(GDK_KEY_Armenian_lyun); + PRINT_CONSTANT(GDK_KEY_Armenian_men); + PRINT_CONSTANT(GDK_KEY_Armenian_nu); + PRINT_CONSTANT(GDK_KEY_Armenian_o); + PRINT_CONSTANT(GDK_KEY_Armenian_paruyk); + PRINT_CONSTANT(GDK_KEY_Armenian_pe); + PRINT_CONSTANT(GDK_KEY_Armenian_pyur); + PRINT_CONSTANT(GDK_KEY_Armenian_question); + PRINT_CONSTANT(GDK_KEY_Armenian_ra); + PRINT_CONSTANT(GDK_KEY_Armenian_re); + PRINT_CONSTANT(GDK_KEY_Armenian_se); + PRINT_CONSTANT(GDK_KEY_Armenian_separation_mark); + PRINT_CONSTANT(GDK_KEY_Armenian_sha); + PRINT_CONSTANT(GDK_KEY_Armenian_shesht); + PRINT_CONSTANT(GDK_KEY_Armenian_tche); + PRINT_CONSTANT(GDK_KEY_Armenian_to); + PRINT_CONSTANT(GDK_KEY_Armenian_tsa); + PRINT_CONSTANT(GDK_KEY_Armenian_tso); + PRINT_CONSTANT(GDK_KEY_Armenian_tyun); + PRINT_CONSTANT(GDK_KEY_Armenian_verjaket); + PRINT_CONSTANT(GDK_KEY_Armenian_vev); + PRINT_CONSTANT(GDK_KEY_Armenian_vo); + PRINT_CONSTANT(GDK_KEY_Armenian_vyun); + PRINT_CONSTANT(GDK_KEY_Armenian_yech); + PRINT_CONSTANT(GDK_KEY_Armenian_yentamna); + PRINT_CONSTANT(GDK_KEY_Armenian_za); + PRINT_CONSTANT(GDK_KEY_Armenian_zhe); + PRINT_CONSTANT(GDK_KEY_Atilde); + PRINT_CONSTANT(GDK_KEY_AudibleBell_Enable); + PRINT_CONSTANT(GDK_KEY_AudioCycleTrack); + PRINT_CONSTANT(GDK_KEY_AudioForward); + PRINT_CONSTANT(GDK_KEY_AudioLowerVolume); + PRINT_CONSTANT(GDK_KEY_AudioMedia); + PRINT_CONSTANT(GDK_KEY_AudioMicMute); + PRINT_CONSTANT(GDK_KEY_AudioMute); + PRINT_CONSTANT(GDK_KEY_AudioNext); + PRINT_CONSTANT(GDK_KEY_AudioPause); + PRINT_CONSTANT(GDK_KEY_AudioPlay); + PRINT_CONSTANT(GDK_KEY_AudioPreset); + PRINT_CONSTANT(GDK_KEY_AudioPrev); + PRINT_CONSTANT(GDK_KEY_AudioRaiseVolume); + PRINT_CONSTANT(GDK_KEY_AudioRandomPlay); + PRINT_CONSTANT(GDK_KEY_AudioRecord); + PRINT_CONSTANT(GDK_KEY_AudioRepeat); + PRINT_CONSTANT(GDK_KEY_AudioRewind); + PRINT_CONSTANT(GDK_KEY_AudioStop); + PRINT_CONSTANT(GDK_KEY_Away); + PRINT_CONSTANT(GDK_KEY_B); + PRINT_CONSTANT(GDK_KEY_Babovedot); + PRINT_CONSTANT(GDK_KEY_Back); + PRINT_CONSTANT(GDK_KEY_BackForward); + PRINT_CONSTANT(GDK_KEY_BackSpace); + PRINT_CONSTANT(GDK_KEY_Battery); + PRINT_CONSTANT(GDK_KEY_Begin); + PRINT_CONSTANT(GDK_KEY_Blue); + PRINT_CONSTANT(GDK_KEY_Bluetooth); + PRINT_CONSTANT(GDK_KEY_Book); + PRINT_CONSTANT(GDK_KEY_BounceKeys_Enable); + PRINT_CONSTANT(GDK_KEY_Break); + PRINT_CONSTANT(GDK_KEY_BrightnessAdjust); + PRINT_CONSTANT(GDK_KEY_Byelorussian_SHORTU); + PRINT_CONSTANT(GDK_KEY_Byelorussian_shortu); + PRINT_CONSTANT(GDK_KEY_C); + PRINT_CONSTANT(GDK_KEY_CD); + PRINT_CONSTANT(GDK_KEY_CH); + PRINT_CONSTANT(GDK_KEY_C_H); + PRINT_CONSTANT(GDK_KEY_C_h); + PRINT_CONSTANT(GDK_KEY_Cabovedot); + PRINT_CONSTANT(GDK_KEY_Cacute); + PRINT_CONSTANT(GDK_KEY_Calculator); + PRINT_CONSTANT(GDK_KEY_Calendar); + PRINT_CONSTANT(GDK_KEY_Cancel); + PRINT_CONSTANT(GDK_KEY_Caps_Lock); + PRINT_CONSTANT(GDK_KEY_Ccaron); + PRINT_CONSTANT(GDK_KEY_Ccedilla); + PRINT_CONSTANT(GDK_KEY_Ccircumflex); + PRINT_CONSTANT(GDK_KEY_Ch); + PRINT_CONSTANT(GDK_KEY_Clear); + PRINT_CONSTANT(GDK_KEY_ClearGrab); + PRINT_CONSTANT(GDK_KEY_Close); + PRINT_CONSTANT(GDK_KEY_Codeinput); + PRINT_CONSTANT(GDK_KEY_ColonSign); + PRINT_CONSTANT(GDK_KEY_Community); + PRINT_CONSTANT(GDK_KEY_ContrastAdjust); + PRINT_CONSTANT(GDK_KEY_Control_L); + PRINT_CONSTANT(GDK_KEY_Control_R); + PRINT_CONSTANT(GDK_KEY_Copy); + PRINT_CONSTANT(GDK_KEY_CruzeiroSign); + PRINT_CONSTANT(GDK_KEY_Cut); + PRINT_CONSTANT(GDK_KEY_CycleAngle); + PRINT_CONSTANT(GDK_KEY_Cyrillic_A); + PRINT_CONSTANT(GDK_KEY_Cyrillic_BE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_CHE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_CHE_descender); + PRINT_CONSTANT(GDK_KEY_Cyrillic_CHE_vertstroke); + PRINT_CONSTANT(GDK_KEY_Cyrillic_DE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_DZHE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_E); + PRINT_CONSTANT(GDK_KEY_Cyrillic_EF); + PRINT_CONSTANT(GDK_KEY_Cyrillic_EL); + PRINT_CONSTANT(GDK_KEY_Cyrillic_EM); + PRINT_CONSTANT(GDK_KEY_Cyrillic_EN); + PRINT_CONSTANT(GDK_KEY_Cyrillic_EN_descender); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ER); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ES); + PRINT_CONSTANT(GDK_KEY_Cyrillic_GHE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_GHE_bar); + PRINT_CONSTANT(GDK_KEY_Cyrillic_HA); + PRINT_CONSTANT(GDK_KEY_Cyrillic_HARDSIGN); + PRINT_CONSTANT(GDK_KEY_Cyrillic_HA_descender); + PRINT_CONSTANT(GDK_KEY_Cyrillic_I); + PRINT_CONSTANT(GDK_KEY_Cyrillic_IE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_IO); + PRINT_CONSTANT(GDK_KEY_Cyrillic_I_macron); + PRINT_CONSTANT(GDK_KEY_Cyrillic_JE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_KA); + PRINT_CONSTANT(GDK_KEY_Cyrillic_KA_descender); + PRINT_CONSTANT(GDK_KEY_Cyrillic_KA_vertstroke); + PRINT_CONSTANT(GDK_KEY_Cyrillic_LJE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_NJE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_O); + PRINT_CONSTANT(GDK_KEY_Cyrillic_O_bar); + PRINT_CONSTANT(GDK_KEY_Cyrillic_PE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_SCHWA); + PRINT_CONSTANT(GDK_KEY_Cyrillic_SHA); + PRINT_CONSTANT(GDK_KEY_Cyrillic_SHCHA); + PRINT_CONSTANT(GDK_KEY_Cyrillic_SHHA); + PRINT_CONSTANT(GDK_KEY_Cyrillic_SHORTI); + PRINT_CONSTANT(GDK_KEY_Cyrillic_SOFTSIGN); + PRINT_CONSTANT(GDK_KEY_Cyrillic_TE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_TSE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_U); + PRINT_CONSTANT(GDK_KEY_Cyrillic_U_macron); + PRINT_CONSTANT(GDK_KEY_Cyrillic_U_straight); + PRINT_CONSTANT(GDK_KEY_Cyrillic_U_straight_bar); + PRINT_CONSTANT(GDK_KEY_Cyrillic_VE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_YA); + PRINT_CONSTANT(GDK_KEY_Cyrillic_YERU); + PRINT_CONSTANT(GDK_KEY_Cyrillic_YU); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ZE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ZHE); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ZHE_descender); + PRINT_CONSTANT(GDK_KEY_Cyrillic_a); + PRINT_CONSTANT(GDK_KEY_Cyrillic_be); + PRINT_CONSTANT(GDK_KEY_Cyrillic_che); + PRINT_CONSTANT(GDK_KEY_Cyrillic_che_descender); + PRINT_CONSTANT(GDK_KEY_Cyrillic_che_vertstroke); + PRINT_CONSTANT(GDK_KEY_Cyrillic_de); + PRINT_CONSTANT(GDK_KEY_Cyrillic_dzhe); + PRINT_CONSTANT(GDK_KEY_Cyrillic_e); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ef); + PRINT_CONSTANT(GDK_KEY_Cyrillic_el); + PRINT_CONSTANT(GDK_KEY_Cyrillic_em); + PRINT_CONSTANT(GDK_KEY_Cyrillic_en); + PRINT_CONSTANT(GDK_KEY_Cyrillic_en_descender); + PRINT_CONSTANT(GDK_KEY_Cyrillic_er); + PRINT_CONSTANT(GDK_KEY_Cyrillic_es); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ghe); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ghe_bar); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ha); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ha_descender); + PRINT_CONSTANT(GDK_KEY_Cyrillic_hardsign); + PRINT_CONSTANT(GDK_KEY_Cyrillic_i); + PRINT_CONSTANT(GDK_KEY_Cyrillic_i_macron); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ie); + PRINT_CONSTANT(GDK_KEY_Cyrillic_io); + PRINT_CONSTANT(GDK_KEY_Cyrillic_je); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ka); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ka_descender); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ka_vertstroke); + PRINT_CONSTANT(GDK_KEY_Cyrillic_lje); + PRINT_CONSTANT(GDK_KEY_Cyrillic_nje); + PRINT_CONSTANT(GDK_KEY_Cyrillic_o); + PRINT_CONSTANT(GDK_KEY_Cyrillic_o_bar); + PRINT_CONSTANT(GDK_KEY_Cyrillic_pe); + PRINT_CONSTANT(GDK_KEY_Cyrillic_schwa); + PRINT_CONSTANT(GDK_KEY_Cyrillic_sha); + PRINT_CONSTANT(GDK_KEY_Cyrillic_shcha); + PRINT_CONSTANT(GDK_KEY_Cyrillic_shha); + PRINT_CONSTANT(GDK_KEY_Cyrillic_shorti); + PRINT_CONSTANT(GDK_KEY_Cyrillic_softsign); + PRINT_CONSTANT(GDK_KEY_Cyrillic_te); + PRINT_CONSTANT(GDK_KEY_Cyrillic_tse); + PRINT_CONSTANT(GDK_KEY_Cyrillic_u); + PRINT_CONSTANT(GDK_KEY_Cyrillic_u_macron); + PRINT_CONSTANT(GDK_KEY_Cyrillic_u_straight); + PRINT_CONSTANT(GDK_KEY_Cyrillic_u_straight_bar); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ve); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ya); + PRINT_CONSTANT(GDK_KEY_Cyrillic_yeru); + PRINT_CONSTANT(GDK_KEY_Cyrillic_yu); + PRINT_CONSTANT(GDK_KEY_Cyrillic_ze); + PRINT_CONSTANT(GDK_KEY_Cyrillic_zhe); + PRINT_CONSTANT(GDK_KEY_Cyrillic_zhe_descender); + PRINT_CONSTANT(GDK_KEY_D); + PRINT_CONSTANT(GDK_KEY_DOS); + PRINT_CONSTANT(GDK_KEY_Dabovedot); + PRINT_CONSTANT(GDK_KEY_Dcaron); + PRINT_CONSTANT(GDK_KEY_Delete); + PRINT_CONSTANT(GDK_KEY_Display); + PRINT_CONSTANT(GDK_KEY_Documents); + PRINT_CONSTANT(GDK_KEY_DongSign); + PRINT_CONSTANT(GDK_KEY_Down); + PRINT_CONSTANT(GDK_KEY_Dstroke); + PRINT_CONSTANT(GDK_KEY_E); + PRINT_CONSTANT(GDK_KEY_ENG); + PRINT_CONSTANT(GDK_KEY_ETH); + PRINT_CONSTANT(GDK_KEY_EZH); + PRINT_CONSTANT(GDK_KEY_Eabovedot); + PRINT_CONSTANT(GDK_KEY_Eacute); + PRINT_CONSTANT(GDK_KEY_Ebelowdot); + PRINT_CONSTANT(GDK_KEY_Ecaron); + PRINT_CONSTANT(GDK_KEY_Ecircumflex); + PRINT_CONSTANT(GDK_KEY_Ecircumflexacute); + PRINT_CONSTANT(GDK_KEY_Ecircumflexbelowdot); + PRINT_CONSTANT(GDK_KEY_Ecircumflexgrave); + PRINT_CONSTANT(GDK_KEY_Ecircumflexhook); + PRINT_CONSTANT(GDK_KEY_Ecircumflextilde); + PRINT_CONSTANT(GDK_KEY_EcuSign); + PRINT_CONSTANT(GDK_KEY_Ediaeresis); + PRINT_CONSTANT(GDK_KEY_Egrave); + PRINT_CONSTANT(GDK_KEY_Ehook); + PRINT_CONSTANT(GDK_KEY_Eisu_Shift); + PRINT_CONSTANT(GDK_KEY_Eisu_toggle); + PRINT_CONSTANT(GDK_KEY_Eject); + PRINT_CONSTANT(GDK_KEY_Emacron); + PRINT_CONSTANT(GDK_KEY_End); + PRINT_CONSTANT(GDK_KEY_Eogonek); + PRINT_CONSTANT(GDK_KEY_Escape); + PRINT_CONSTANT(GDK_KEY_Eth); + PRINT_CONSTANT(GDK_KEY_Etilde); + PRINT_CONSTANT(GDK_KEY_EuroSign); + PRINT_CONSTANT(GDK_KEY_Excel); + PRINT_CONSTANT(GDK_KEY_Execute); + PRINT_CONSTANT(GDK_KEY_Explorer); + PRINT_CONSTANT(GDK_KEY_F); + PRINT_CONSTANT(GDK_KEY_F1); + PRINT_CONSTANT(GDK_KEY_F10); + PRINT_CONSTANT(GDK_KEY_F11); + PRINT_CONSTANT(GDK_KEY_F12); + PRINT_CONSTANT(GDK_KEY_F13); + PRINT_CONSTANT(GDK_KEY_F14); + PRINT_CONSTANT(GDK_KEY_F15); + PRINT_CONSTANT(GDK_KEY_F16); + PRINT_CONSTANT(GDK_KEY_F17); + PRINT_CONSTANT(GDK_KEY_F18); + PRINT_CONSTANT(GDK_KEY_F19); + PRINT_CONSTANT(GDK_KEY_F2); + PRINT_CONSTANT(GDK_KEY_F20); + PRINT_CONSTANT(GDK_KEY_F21); + PRINT_CONSTANT(GDK_KEY_F22); + PRINT_CONSTANT(GDK_KEY_F23); + PRINT_CONSTANT(GDK_KEY_F24); + PRINT_CONSTANT(GDK_KEY_F25); + PRINT_CONSTANT(GDK_KEY_F26); + PRINT_CONSTANT(GDK_KEY_F27); + PRINT_CONSTANT(GDK_KEY_F28); + PRINT_CONSTANT(GDK_KEY_F29); + PRINT_CONSTANT(GDK_KEY_F3); + PRINT_CONSTANT(GDK_KEY_F30); + PRINT_CONSTANT(GDK_KEY_F31); + PRINT_CONSTANT(GDK_KEY_F32); + PRINT_CONSTANT(GDK_KEY_F33); + PRINT_CONSTANT(GDK_KEY_F34); + PRINT_CONSTANT(GDK_KEY_F35); + PRINT_CONSTANT(GDK_KEY_F4); + PRINT_CONSTANT(GDK_KEY_F5); + PRINT_CONSTANT(GDK_KEY_F6); + PRINT_CONSTANT(GDK_KEY_F7); + PRINT_CONSTANT(GDK_KEY_F8); + PRINT_CONSTANT(GDK_KEY_F9); + PRINT_CONSTANT(GDK_KEY_FFrancSign); + PRINT_CONSTANT(GDK_KEY_Fabovedot); + PRINT_CONSTANT(GDK_KEY_Farsi_0); + PRINT_CONSTANT(GDK_KEY_Farsi_1); + PRINT_CONSTANT(GDK_KEY_Farsi_2); + PRINT_CONSTANT(GDK_KEY_Farsi_3); + PRINT_CONSTANT(GDK_KEY_Farsi_4); + PRINT_CONSTANT(GDK_KEY_Farsi_5); + PRINT_CONSTANT(GDK_KEY_Farsi_6); + PRINT_CONSTANT(GDK_KEY_Farsi_7); + PRINT_CONSTANT(GDK_KEY_Farsi_8); + PRINT_CONSTANT(GDK_KEY_Farsi_9); + PRINT_CONSTANT(GDK_KEY_Farsi_yeh); + PRINT_CONSTANT(GDK_KEY_Favorites); + PRINT_CONSTANT(GDK_KEY_Finance); + PRINT_CONSTANT(GDK_KEY_Find); + PRINT_CONSTANT(GDK_KEY_First_Virtual_Screen); + PRINT_CONSTANT(GDK_KEY_Forward); + PRINT_CONSTANT(GDK_KEY_FrameBack); + PRINT_CONSTANT(GDK_KEY_FrameForward); + PRINT_CONSTANT(GDK_KEY_G); + PRINT_CONSTANT(GDK_KEY_Gabovedot); + PRINT_CONSTANT(GDK_KEY_Game); + PRINT_CONSTANT(GDK_KEY_Gbreve); + PRINT_CONSTANT(GDK_KEY_Gcaron); + PRINT_CONSTANT(GDK_KEY_Gcedilla); + PRINT_CONSTANT(GDK_KEY_Gcircumflex); + PRINT_CONSTANT(GDK_KEY_Georgian_an); + PRINT_CONSTANT(GDK_KEY_Georgian_ban); + PRINT_CONSTANT(GDK_KEY_Georgian_can); + PRINT_CONSTANT(GDK_KEY_Georgian_char); + PRINT_CONSTANT(GDK_KEY_Georgian_chin); + PRINT_CONSTANT(GDK_KEY_Georgian_cil); + PRINT_CONSTANT(GDK_KEY_Georgian_don); + PRINT_CONSTANT(GDK_KEY_Georgian_en); + PRINT_CONSTANT(GDK_KEY_Georgian_fi); + PRINT_CONSTANT(GDK_KEY_Georgian_gan); + PRINT_CONSTANT(GDK_KEY_Georgian_ghan); + PRINT_CONSTANT(GDK_KEY_Georgian_hae); + PRINT_CONSTANT(GDK_KEY_Georgian_har); + PRINT_CONSTANT(GDK_KEY_Georgian_he); + PRINT_CONSTANT(GDK_KEY_Georgian_hie); + PRINT_CONSTANT(GDK_KEY_Georgian_hoe); + PRINT_CONSTANT(GDK_KEY_Georgian_in); + PRINT_CONSTANT(GDK_KEY_Georgian_jhan); + PRINT_CONSTANT(GDK_KEY_Georgian_jil); + PRINT_CONSTANT(GDK_KEY_Georgian_kan); + PRINT_CONSTANT(GDK_KEY_Georgian_khar); + PRINT_CONSTANT(GDK_KEY_Georgian_las); + PRINT_CONSTANT(GDK_KEY_Georgian_man); + PRINT_CONSTANT(GDK_KEY_Georgian_nar); + PRINT_CONSTANT(GDK_KEY_Georgian_on); + PRINT_CONSTANT(GDK_KEY_Georgian_par); + PRINT_CONSTANT(GDK_KEY_Georgian_phar); + PRINT_CONSTANT(GDK_KEY_Georgian_qar); + PRINT_CONSTANT(GDK_KEY_Georgian_rae); + PRINT_CONSTANT(GDK_KEY_Georgian_san); + PRINT_CONSTANT(GDK_KEY_Georgian_shin); + PRINT_CONSTANT(GDK_KEY_Georgian_tan); + PRINT_CONSTANT(GDK_KEY_Georgian_tar); + PRINT_CONSTANT(GDK_KEY_Georgian_un); + PRINT_CONSTANT(GDK_KEY_Georgian_vin); + PRINT_CONSTANT(GDK_KEY_Georgian_we); + PRINT_CONSTANT(GDK_KEY_Georgian_xan); + PRINT_CONSTANT(GDK_KEY_Georgian_zen); + PRINT_CONSTANT(GDK_KEY_Georgian_zhar); + PRINT_CONSTANT(GDK_KEY_Go); + PRINT_CONSTANT(GDK_KEY_Greek_ALPHA); + PRINT_CONSTANT(GDK_KEY_Greek_ALPHAaccent); + PRINT_CONSTANT(GDK_KEY_Greek_BETA); + PRINT_CONSTANT(GDK_KEY_Greek_CHI); + PRINT_CONSTANT(GDK_KEY_Greek_DELTA); + PRINT_CONSTANT(GDK_KEY_Greek_EPSILON); + PRINT_CONSTANT(GDK_KEY_Greek_EPSILONaccent); + PRINT_CONSTANT(GDK_KEY_Greek_ETA); + PRINT_CONSTANT(GDK_KEY_Greek_ETAaccent); + PRINT_CONSTANT(GDK_KEY_Greek_GAMMA); + PRINT_CONSTANT(GDK_KEY_Greek_IOTA); + PRINT_CONSTANT(GDK_KEY_Greek_IOTAaccent); + PRINT_CONSTANT(GDK_KEY_Greek_IOTAdiaeresis); + PRINT_CONSTANT(GDK_KEY_Greek_IOTAdieresis); + PRINT_CONSTANT(GDK_KEY_Greek_KAPPA); + PRINT_CONSTANT(GDK_KEY_Greek_LAMBDA); + PRINT_CONSTANT(GDK_KEY_Greek_LAMDA); + PRINT_CONSTANT(GDK_KEY_Greek_MU); + PRINT_CONSTANT(GDK_KEY_Greek_NU); + PRINT_CONSTANT(GDK_KEY_Greek_OMEGA); + PRINT_CONSTANT(GDK_KEY_Greek_OMEGAaccent); + PRINT_CONSTANT(GDK_KEY_Greek_OMICRON); + PRINT_CONSTANT(GDK_KEY_Greek_OMICRONaccent); + PRINT_CONSTANT(GDK_KEY_Greek_PHI); + PRINT_CONSTANT(GDK_KEY_Greek_PI); + PRINT_CONSTANT(GDK_KEY_Greek_PSI); + PRINT_CONSTANT(GDK_KEY_Greek_RHO); + PRINT_CONSTANT(GDK_KEY_Greek_SIGMA); + PRINT_CONSTANT(GDK_KEY_Greek_TAU); + PRINT_CONSTANT(GDK_KEY_Greek_THETA); + PRINT_CONSTANT(GDK_KEY_Greek_UPSILON); + PRINT_CONSTANT(GDK_KEY_Greek_UPSILONaccent); + PRINT_CONSTANT(GDK_KEY_Greek_UPSILONdieresis); + PRINT_CONSTANT(GDK_KEY_Greek_XI); + PRINT_CONSTANT(GDK_KEY_Greek_ZETA); + PRINT_CONSTANT(GDK_KEY_Greek_accentdieresis); + PRINT_CONSTANT(GDK_KEY_Greek_alpha); + PRINT_CONSTANT(GDK_KEY_Greek_alphaaccent); + PRINT_CONSTANT(GDK_KEY_Greek_beta); + PRINT_CONSTANT(GDK_KEY_Greek_chi); + PRINT_CONSTANT(GDK_KEY_Greek_delta); + PRINT_CONSTANT(GDK_KEY_Greek_epsilon); + PRINT_CONSTANT(GDK_KEY_Greek_epsilonaccent); + PRINT_CONSTANT(GDK_KEY_Greek_eta); + PRINT_CONSTANT(GDK_KEY_Greek_etaaccent); + PRINT_CONSTANT(GDK_KEY_Greek_finalsmallsigma); + PRINT_CONSTANT(GDK_KEY_Greek_gamma); + PRINT_CONSTANT(GDK_KEY_Greek_horizbar); + PRINT_CONSTANT(GDK_KEY_Greek_iota); + PRINT_CONSTANT(GDK_KEY_Greek_iotaaccent); + PRINT_CONSTANT(GDK_KEY_Greek_iotaaccentdieresis); + PRINT_CONSTANT(GDK_KEY_Greek_iotadieresis); + PRINT_CONSTANT(GDK_KEY_Greek_kappa); + PRINT_CONSTANT(GDK_KEY_Greek_lambda); + PRINT_CONSTANT(GDK_KEY_Greek_lamda); + PRINT_CONSTANT(GDK_KEY_Greek_mu); + PRINT_CONSTANT(GDK_KEY_Greek_nu); + PRINT_CONSTANT(GDK_KEY_Greek_omega); + PRINT_CONSTANT(GDK_KEY_Greek_omegaaccent); + PRINT_CONSTANT(GDK_KEY_Greek_omicron); + PRINT_CONSTANT(GDK_KEY_Greek_omicronaccent); + PRINT_CONSTANT(GDK_KEY_Greek_phi); + PRINT_CONSTANT(GDK_KEY_Greek_pi); + PRINT_CONSTANT(GDK_KEY_Greek_psi); + PRINT_CONSTANT(GDK_KEY_Greek_rho); + PRINT_CONSTANT(GDK_KEY_Greek_sigma); + PRINT_CONSTANT(GDK_KEY_Greek_switch); + PRINT_CONSTANT(GDK_KEY_Greek_tau); + PRINT_CONSTANT(GDK_KEY_Greek_theta); + PRINT_CONSTANT(GDK_KEY_Greek_upsilon); + PRINT_CONSTANT(GDK_KEY_Greek_upsilonaccent); + PRINT_CONSTANT(GDK_KEY_Greek_upsilonaccentdieresis); + PRINT_CONSTANT(GDK_KEY_Greek_upsilondieresis); + PRINT_CONSTANT(GDK_KEY_Greek_xi); + PRINT_CONSTANT(GDK_KEY_Greek_zeta); + PRINT_CONSTANT(GDK_KEY_Green); + PRINT_CONSTANT(GDK_KEY_H); + PRINT_CONSTANT(GDK_KEY_Hangul); + PRINT_CONSTANT(GDK_KEY_Hangul_A); + PRINT_CONSTANT(GDK_KEY_Hangul_AE); + PRINT_CONSTANT(GDK_KEY_Hangul_AraeA); + PRINT_CONSTANT(GDK_KEY_Hangul_AraeAE); + PRINT_CONSTANT(GDK_KEY_Hangul_Banja); + PRINT_CONSTANT(GDK_KEY_Hangul_Cieuc); + PRINT_CONSTANT(GDK_KEY_Hangul_Codeinput); + PRINT_CONSTANT(GDK_KEY_Hangul_Dikeud); + PRINT_CONSTANT(GDK_KEY_Hangul_E); + PRINT_CONSTANT(GDK_KEY_Hangul_EO); + PRINT_CONSTANT(GDK_KEY_Hangul_EU); + PRINT_CONSTANT(GDK_KEY_Hangul_End); + PRINT_CONSTANT(GDK_KEY_Hangul_Hanja); + PRINT_CONSTANT(GDK_KEY_Hangul_Hieuh); + PRINT_CONSTANT(GDK_KEY_Hangul_I); + PRINT_CONSTANT(GDK_KEY_Hangul_Ieung); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Cieuc); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Dikeud); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Hieuh); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Ieung); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Jieuj); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Khieuq); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Kiyeog); + PRINT_CONSTANT(GDK_KEY_Hangul_J_KiyeogSios); + PRINT_CONSTANT(GDK_KEY_Hangul_J_KkogjiDalrinIeung); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Mieum); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Nieun); + PRINT_CONSTANT(GDK_KEY_Hangul_J_NieunHieuh); + PRINT_CONSTANT(GDK_KEY_Hangul_J_NieunJieuj); + PRINT_CONSTANT(GDK_KEY_Hangul_J_PanSios); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Phieuf); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Pieub); + PRINT_CONSTANT(GDK_KEY_Hangul_J_PieubSios); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Rieul); + PRINT_CONSTANT(GDK_KEY_Hangul_J_RieulHieuh); + PRINT_CONSTANT(GDK_KEY_Hangul_J_RieulKiyeog); + PRINT_CONSTANT(GDK_KEY_Hangul_J_RieulMieum); + PRINT_CONSTANT(GDK_KEY_Hangul_J_RieulPhieuf); + PRINT_CONSTANT(GDK_KEY_Hangul_J_RieulPieub); + PRINT_CONSTANT(GDK_KEY_Hangul_J_RieulSios); + PRINT_CONSTANT(GDK_KEY_Hangul_J_RieulTieut); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Sios); + PRINT_CONSTANT(GDK_KEY_Hangul_J_SsangKiyeog); + PRINT_CONSTANT(GDK_KEY_Hangul_J_SsangSios); + PRINT_CONSTANT(GDK_KEY_Hangul_J_Tieut); + PRINT_CONSTANT(GDK_KEY_Hangul_J_YeorinHieuh); + PRINT_CONSTANT(GDK_KEY_Hangul_Jamo); + PRINT_CONSTANT(GDK_KEY_Hangul_Jeonja); + PRINT_CONSTANT(GDK_KEY_Hangul_Jieuj); + PRINT_CONSTANT(GDK_KEY_Hangul_Khieuq); + PRINT_CONSTANT(GDK_KEY_Hangul_Kiyeog); + PRINT_CONSTANT(GDK_KEY_Hangul_KiyeogSios); + PRINT_CONSTANT(GDK_KEY_Hangul_KkogjiDalrinIeung); + PRINT_CONSTANT(GDK_KEY_Hangul_Mieum); + PRINT_CONSTANT(GDK_KEY_Hangul_MultipleCandidate); + PRINT_CONSTANT(GDK_KEY_Hangul_Nieun); + PRINT_CONSTANT(GDK_KEY_Hangul_NieunHieuh); + PRINT_CONSTANT(GDK_KEY_Hangul_NieunJieuj); + PRINT_CONSTANT(GDK_KEY_Hangul_O); + PRINT_CONSTANT(GDK_KEY_Hangul_OE); + PRINT_CONSTANT(GDK_KEY_Hangul_PanSios); + PRINT_CONSTANT(GDK_KEY_Hangul_Phieuf); + PRINT_CONSTANT(GDK_KEY_Hangul_Pieub); + PRINT_CONSTANT(GDK_KEY_Hangul_PieubSios); + PRINT_CONSTANT(GDK_KEY_Hangul_PostHanja); + PRINT_CONSTANT(GDK_KEY_Hangul_PreHanja); + PRINT_CONSTANT(GDK_KEY_Hangul_PreviousCandidate); + PRINT_CONSTANT(GDK_KEY_Hangul_Rieul); + PRINT_CONSTANT(GDK_KEY_Hangul_RieulHieuh); + PRINT_CONSTANT(GDK_KEY_Hangul_RieulKiyeog); + PRINT_CONSTANT(GDK_KEY_Hangul_RieulMieum); + PRINT_CONSTANT(GDK_KEY_Hangul_RieulPhieuf); + PRINT_CONSTANT(GDK_KEY_Hangul_RieulPieub); + PRINT_CONSTANT(GDK_KEY_Hangul_RieulSios); + PRINT_CONSTANT(GDK_KEY_Hangul_RieulTieut); + PRINT_CONSTANT(GDK_KEY_Hangul_RieulYeorinHieuh); + PRINT_CONSTANT(GDK_KEY_Hangul_Romaja); + PRINT_CONSTANT(GDK_KEY_Hangul_SingleCandidate); + PRINT_CONSTANT(GDK_KEY_Hangul_Sios); + PRINT_CONSTANT(GDK_KEY_Hangul_Special); + PRINT_CONSTANT(GDK_KEY_Hangul_SsangDikeud); + PRINT_CONSTANT(GDK_KEY_Hangul_SsangJieuj); + PRINT_CONSTANT(GDK_KEY_Hangul_SsangKiyeog); + PRINT_CONSTANT(GDK_KEY_Hangul_SsangPieub); + PRINT_CONSTANT(GDK_KEY_Hangul_SsangSios); + PRINT_CONSTANT(GDK_KEY_Hangul_Start); + PRINT_CONSTANT(GDK_KEY_Hangul_SunkyeongeumMieum); + PRINT_CONSTANT(GDK_KEY_Hangul_SunkyeongeumPhieuf); + PRINT_CONSTANT(GDK_KEY_Hangul_SunkyeongeumPieub); + PRINT_CONSTANT(GDK_KEY_Hangul_Tieut); + PRINT_CONSTANT(GDK_KEY_Hangul_U); + PRINT_CONSTANT(GDK_KEY_Hangul_WA); + PRINT_CONSTANT(GDK_KEY_Hangul_WAE); + PRINT_CONSTANT(GDK_KEY_Hangul_WE); + PRINT_CONSTANT(GDK_KEY_Hangul_WEO); + PRINT_CONSTANT(GDK_KEY_Hangul_WI); + PRINT_CONSTANT(GDK_KEY_Hangul_YA); + PRINT_CONSTANT(GDK_KEY_Hangul_YAE); + PRINT_CONSTANT(GDK_KEY_Hangul_YE); + PRINT_CONSTANT(GDK_KEY_Hangul_YEO); + PRINT_CONSTANT(GDK_KEY_Hangul_YI); + PRINT_CONSTANT(GDK_KEY_Hangul_YO); + PRINT_CONSTANT(GDK_KEY_Hangul_YU); + PRINT_CONSTANT(GDK_KEY_Hangul_YeorinHieuh); + PRINT_CONSTANT(GDK_KEY_Hangul_switch); + PRINT_CONSTANT(GDK_KEY_Hankaku); + PRINT_CONSTANT(GDK_KEY_Hcircumflex); + PRINT_CONSTANT(GDK_KEY_Hebrew_switch); + PRINT_CONSTANT(GDK_KEY_Help); + PRINT_CONSTANT(GDK_KEY_Henkan); + PRINT_CONSTANT(GDK_KEY_Henkan_Mode); + PRINT_CONSTANT(GDK_KEY_Hibernate); + PRINT_CONSTANT(GDK_KEY_Hiragana); + PRINT_CONSTANT(GDK_KEY_Hiragana_Katakana); + PRINT_CONSTANT(GDK_KEY_History); + PRINT_CONSTANT(GDK_KEY_Home); + PRINT_CONSTANT(GDK_KEY_HomePage); + PRINT_CONSTANT(GDK_KEY_HotLinks); + PRINT_CONSTANT(GDK_KEY_Hstroke); + PRINT_CONSTANT(GDK_KEY_Hyper_L); + PRINT_CONSTANT(GDK_KEY_Hyper_R); + PRINT_CONSTANT(GDK_KEY_I); + PRINT_CONSTANT(GDK_KEY_ISO_Center_Object); + PRINT_CONSTANT(GDK_KEY_ISO_Continuous_Underline); + PRINT_CONSTANT(GDK_KEY_ISO_Discontinuous_Underline); + PRINT_CONSTANT(GDK_KEY_ISO_Emphasize); + PRINT_CONSTANT(GDK_KEY_ISO_Enter); + PRINT_CONSTANT(GDK_KEY_ISO_Fast_Cursor_Down); + PRINT_CONSTANT(GDK_KEY_ISO_Fast_Cursor_Left); + PRINT_CONSTANT(GDK_KEY_ISO_Fast_Cursor_Right); + PRINT_CONSTANT(GDK_KEY_ISO_Fast_Cursor_Up); + PRINT_CONSTANT(GDK_KEY_ISO_First_Group); + PRINT_CONSTANT(GDK_KEY_ISO_First_Group_Lock); + PRINT_CONSTANT(GDK_KEY_ISO_Group_Latch); + PRINT_CONSTANT(GDK_KEY_ISO_Group_Lock); + PRINT_CONSTANT(GDK_KEY_ISO_Group_Shift); + PRINT_CONSTANT(GDK_KEY_ISO_Last_Group); + PRINT_CONSTANT(GDK_KEY_ISO_Last_Group_Lock); + PRINT_CONSTANT(GDK_KEY_ISO_Left_Tab); + PRINT_CONSTANT(GDK_KEY_ISO_Level2_Latch); + PRINT_CONSTANT(GDK_KEY_ISO_Level3_Latch); + PRINT_CONSTANT(GDK_KEY_ISO_Level3_Lock); + PRINT_CONSTANT(GDK_KEY_ISO_Level3_Shift); + PRINT_CONSTANT(GDK_KEY_ISO_Level5_Latch); + PRINT_CONSTANT(GDK_KEY_ISO_Level5_Lock); + PRINT_CONSTANT(GDK_KEY_ISO_Level5_Shift); + PRINT_CONSTANT(GDK_KEY_ISO_Lock); + PRINT_CONSTANT(GDK_KEY_ISO_Move_Line_Down); + PRINT_CONSTANT(GDK_KEY_ISO_Move_Line_Up); + PRINT_CONSTANT(GDK_KEY_ISO_Next_Group); + PRINT_CONSTANT(GDK_KEY_ISO_Next_Group_Lock); + PRINT_CONSTANT(GDK_KEY_ISO_Partial_Line_Down); + PRINT_CONSTANT(GDK_KEY_ISO_Partial_Line_Up); + PRINT_CONSTANT(GDK_KEY_ISO_Partial_Space_Left); + PRINT_CONSTANT(GDK_KEY_ISO_Partial_Space_Right); + PRINT_CONSTANT(GDK_KEY_ISO_Prev_Group); + PRINT_CONSTANT(GDK_KEY_ISO_Prev_Group_Lock); + PRINT_CONSTANT(GDK_KEY_ISO_Release_Both_Margins); + PRINT_CONSTANT(GDK_KEY_ISO_Release_Margin_Left); + PRINT_CONSTANT(GDK_KEY_ISO_Release_Margin_Right); + PRINT_CONSTANT(GDK_KEY_ISO_Set_Margin_Left); + PRINT_CONSTANT(GDK_KEY_ISO_Set_Margin_Right); + PRINT_CONSTANT(GDK_KEY_Iabovedot); + PRINT_CONSTANT(GDK_KEY_Iacute); + PRINT_CONSTANT(GDK_KEY_Ibelowdot); + PRINT_CONSTANT(GDK_KEY_Ibreve); + PRINT_CONSTANT(GDK_KEY_Icircumflex); + PRINT_CONSTANT(GDK_KEY_Idiaeresis); + PRINT_CONSTANT(GDK_KEY_Igrave); + PRINT_CONSTANT(GDK_KEY_Ihook); + PRINT_CONSTANT(GDK_KEY_Imacron); + PRINT_CONSTANT(GDK_KEY_Insert); + PRINT_CONSTANT(GDK_KEY_Iogonek); + PRINT_CONSTANT(GDK_KEY_Itilde); + PRINT_CONSTANT(GDK_KEY_J); + PRINT_CONSTANT(GDK_KEY_Jcircumflex); + PRINT_CONSTANT(GDK_KEY_K); + PRINT_CONSTANT(GDK_KEY_KP_0); + PRINT_CONSTANT(GDK_KEY_KP_1); + PRINT_CONSTANT(GDK_KEY_KP_2); + PRINT_CONSTANT(GDK_KEY_KP_3); + PRINT_CONSTANT(GDK_KEY_KP_4); + PRINT_CONSTANT(GDK_KEY_KP_5); + PRINT_CONSTANT(GDK_KEY_KP_6); + PRINT_CONSTANT(GDK_KEY_KP_7); + PRINT_CONSTANT(GDK_KEY_KP_8); + PRINT_CONSTANT(GDK_KEY_KP_9); + PRINT_CONSTANT(GDK_KEY_KP_Add); + PRINT_CONSTANT(GDK_KEY_KP_Begin); + PRINT_CONSTANT(GDK_KEY_KP_Decimal); + PRINT_CONSTANT(GDK_KEY_KP_Delete); + PRINT_CONSTANT(GDK_KEY_KP_Divide); + PRINT_CONSTANT(GDK_KEY_KP_Down); + PRINT_CONSTANT(GDK_KEY_KP_End); + PRINT_CONSTANT(GDK_KEY_KP_Enter); + PRINT_CONSTANT(GDK_KEY_KP_Equal); + PRINT_CONSTANT(GDK_KEY_KP_F1); + PRINT_CONSTANT(GDK_KEY_KP_F2); + PRINT_CONSTANT(GDK_KEY_KP_F3); + PRINT_CONSTANT(GDK_KEY_KP_F4); + PRINT_CONSTANT(GDK_KEY_KP_Home); + PRINT_CONSTANT(GDK_KEY_KP_Insert); + PRINT_CONSTANT(GDK_KEY_KP_Left); + PRINT_CONSTANT(GDK_KEY_KP_Multiply); + PRINT_CONSTANT(GDK_KEY_KP_Next); + PRINT_CONSTANT(GDK_KEY_KP_Page_Down); + PRINT_CONSTANT(GDK_KEY_KP_Page_Up); + PRINT_CONSTANT(GDK_KEY_KP_Prior); + PRINT_CONSTANT(GDK_KEY_KP_Right); + PRINT_CONSTANT(GDK_KEY_KP_Separator); + PRINT_CONSTANT(GDK_KEY_KP_Space); + PRINT_CONSTANT(GDK_KEY_KP_Subtract); + PRINT_CONSTANT(GDK_KEY_KP_Tab); + PRINT_CONSTANT(GDK_KEY_KP_Up); + PRINT_CONSTANT(GDK_KEY_Kana_Lock); + PRINT_CONSTANT(GDK_KEY_Kana_Shift); + PRINT_CONSTANT(GDK_KEY_Kanji); + PRINT_CONSTANT(GDK_KEY_Kanji_Bangou); + PRINT_CONSTANT(GDK_KEY_Katakana); + PRINT_CONSTANT(GDK_KEY_KbdBrightnessDown); + PRINT_CONSTANT(GDK_KEY_KbdBrightnessUp); + PRINT_CONSTANT(GDK_KEY_KbdLightOnOff); + PRINT_CONSTANT(GDK_KEY_Kcedilla); + PRINT_CONSTANT(GDK_KEY_Keyboard); + PRINT_CONSTANT(GDK_KEY_Korean_Won); + PRINT_CONSTANT(GDK_KEY_L); + PRINT_CONSTANT(GDK_KEY_L1); + PRINT_CONSTANT(GDK_KEY_L10); + PRINT_CONSTANT(GDK_KEY_L2); + PRINT_CONSTANT(GDK_KEY_L3); + PRINT_CONSTANT(GDK_KEY_L4); + PRINT_CONSTANT(GDK_KEY_L5); + PRINT_CONSTANT(GDK_KEY_L6); + PRINT_CONSTANT(GDK_KEY_L7); + PRINT_CONSTANT(GDK_KEY_L8); + PRINT_CONSTANT(GDK_KEY_L9); + PRINT_CONSTANT(GDK_KEY_Lacute); + PRINT_CONSTANT(GDK_KEY_Last_Virtual_Screen); + PRINT_CONSTANT(GDK_KEY_Launch0); + PRINT_CONSTANT(GDK_KEY_Launch1); + PRINT_CONSTANT(GDK_KEY_Launch2); + PRINT_CONSTANT(GDK_KEY_Launch3); + PRINT_CONSTANT(GDK_KEY_Launch4); + PRINT_CONSTANT(GDK_KEY_Launch5); + PRINT_CONSTANT(GDK_KEY_Launch6); + PRINT_CONSTANT(GDK_KEY_Launch7); + PRINT_CONSTANT(GDK_KEY_Launch8); + PRINT_CONSTANT(GDK_KEY_Launch9); + PRINT_CONSTANT(GDK_KEY_LaunchA); + PRINT_CONSTANT(GDK_KEY_LaunchB); + PRINT_CONSTANT(GDK_KEY_LaunchC); + PRINT_CONSTANT(GDK_KEY_LaunchD); + PRINT_CONSTANT(GDK_KEY_LaunchE); + PRINT_CONSTANT(GDK_KEY_LaunchF); + PRINT_CONSTANT(GDK_KEY_Lbelowdot); + PRINT_CONSTANT(GDK_KEY_Lcaron); + PRINT_CONSTANT(GDK_KEY_Lcedilla); + PRINT_CONSTANT(GDK_KEY_Left); + PRINT_CONSTANT(GDK_KEY_LightBulb); + PRINT_CONSTANT(GDK_KEY_Linefeed); + PRINT_CONSTANT(GDK_KEY_LiraSign); + PRINT_CONSTANT(GDK_KEY_LogGrabInfo); + PRINT_CONSTANT(GDK_KEY_LogOff); + PRINT_CONSTANT(GDK_KEY_LogWindowTree); + PRINT_CONSTANT(GDK_KEY_Lstroke); + PRINT_CONSTANT(GDK_KEY_M); + PRINT_CONSTANT(GDK_KEY_Mabovedot); + PRINT_CONSTANT(GDK_KEY_Macedonia_DSE); + PRINT_CONSTANT(GDK_KEY_Macedonia_GJE); + PRINT_CONSTANT(GDK_KEY_Macedonia_KJE); + PRINT_CONSTANT(GDK_KEY_Macedonia_dse); + PRINT_CONSTANT(GDK_KEY_Macedonia_gje); + PRINT_CONSTANT(GDK_KEY_Macedonia_kje); + PRINT_CONSTANT(GDK_KEY_Mae_Koho); + PRINT_CONSTANT(GDK_KEY_Mail); + PRINT_CONSTANT(GDK_KEY_MailForward); + PRINT_CONSTANT(GDK_KEY_Market); + PRINT_CONSTANT(GDK_KEY_Massyo); + PRINT_CONSTANT(GDK_KEY_Meeting); + PRINT_CONSTANT(GDK_KEY_Memo); + PRINT_CONSTANT(GDK_KEY_Menu); + PRINT_CONSTANT(GDK_KEY_MenuKB); + PRINT_CONSTANT(GDK_KEY_MenuPB); + PRINT_CONSTANT(GDK_KEY_Messenger); + PRINT_CONSTANT(GDK_KEY_Meta_L); + PRINT_CONSTANT(GDK_KEY_Meta_R); + PRINT_CONSTANT(GDK_KEY_MillSign); + PRINT_CONSTANT(GDK_KEY_ModeLock); + PRINT_CONSTANT(GDK_KEY_Mode_switch); + PRINT_CONSTANT(GDK_KEY_MonBrightnessDown); + PRINT_CONSTANT(GDK_KEY_MonBrightnessUp); + PRINT_CONSTANT(GDK_KEY_MouseKeys_Accel_Enable); + PRINT_CONSTANT(GDK_KEY_MouseKeys_Enable); + PRINT_CONSTANT(GDK_KEY_Muhenkan); + PRINT_CONSTANT(GDK_KEY_Multi_key); + PRINT_CONSTANT(GDK_KEY_MultipleCandidate); + PRINT_CONSTANT(GDK_KEY_Music); + PRINT_CONSTANT(GDK_KEY_MyComputer); + PRINT_CONSTANT(GDK_KEY_MySites); + PRINT_CONSTANT(GDK_KEY_N); + PRINT_CONSTANT(GDK_KEY_Nacute); + PRINT_CONSTANT(GDK_KEY_NairaSign); + PRINT_CONSTANT(GDK_KEY_Ncaron); + PRINT_CONSTANT(GDK_KEY_Ncedilla); + PRINT_CONSTANT(GDK_KEY_New); + PRINT_CONSTANT(GDK_KEY_NewSheqelSign); + PRINT_CONSTANT(GDK_KEY_News); + PRINT_CONSTANT(GDK_KEY_Next); + PRINT_CONSTANT(GDK_KEY_Next_VMode); + PRINT_CONSTANT(GDK_KEY_Next_Virtual_Screen); + PRINT_CONSTANT(GDK_KEY_Ntilde); + PRINT_CONSTANT(GDK_KEY_Num_Lock); + PRINT_CONSTANT(GDK_KEY_O); + PRINT_CONSTANT(GDK_KEY_OE); + PRINT_CONSTANT(GDK_KEY_Oacute); + PRINT_CONSTANT(GDK_KEY_Obarred); + PRINT_CONSTANT(GDK_KEY_Obelowdot); + PRINT_CONSTANT(GDK_KEY_Ocaron); + PRINT_CONSTANT(GDK_KEY_Ocircumflex); + PRINT_CONSTANT(GDK_KEY_Ocircumflexacute); + PRINT_CONSTANT(GDK_KEY_Ocircumflexbelowdot); + PRINT_CONSTANT(GDK_KEY_Ocircumflexgrave); + PRINT_CONSTANT(GDK_KEY_Ocircumflexhook); + PRINT_CONSTANT(GDK_KEY_Ocircumflextilde); + PRINT_CONSTANT(GDK_KEY_Odiaeresis); + PRINT_CONSTANT(GDK_KEY_Odoubleacute); + PRINT_CONSTANT(GDK_KEY_OfficeHome); + PRINT_CONSTANT(GDK_KEY_Ograve); + PRINT_CONSTANT(GDK_KEY_Ohook); + PRINT_CONSTANT(GDK_KEY_Ohorn); + PRINT_CONSTANT(GDK_KEY_Ohornacute); + PRINT_CONSTANT(GDK_KEY_Ohornbelowdot); + PRINT_CONSTANT(GDK_KEY_Ohorngrave); + PRINT_CONSTANT(GDK_KEY_Ohornhook); + PRINT_CONSTANT(GDK_KEY_Ohorntilde); + PRINT_CONSTANT(GDK_KEY_Omacron); + PRINT_CONSTANT(GDK_KEY_Ooblique); + PRINT_CONSTANT(GDK_KEY_Open); + PRINT_CONSTANT(GDK_KEY_OpenURL); + PRINT_CONSTANT(GDK_KEY_Option); + PRINT_CONSTANT(GDK_KEY_Oslash); + PRINT_CONSTANT(GDK_KEY_Otilde); + PRINT_CONSTANT(GDK_KEY_Overlay1_Enable); + PRINT_CONSTANT(GDK_KEY_Overlay2_Enable); + PRINT_CONSTANT(GDK_KEY_P); + PRINT_CONSTANT((gint) GDK_KEY_PRESS); + PRINT_CONSTANT((guint) GDK_KEY_PRESS_MASK); + PRINT_CONSTANT(GDK_KEY_Pabovedot); + PRINT_CONSTANT(GDK_KEY_Page_Down); + PRINT_CONSTANT(GDK_KEY_Page_Up); + PRINT_CONSTANT(GDK_KEY_Paste); + PRINT_CONSTANT(GDK_KEY_Pause); + PRINT_CONSTANT(GDK_KEY_PesetaSign); + PRINT_CONSTANT(GDK_KEY_Phone); + PRINT_CONSTANT(GDK_KEY_Pictures); + PRINT_CONSTANT(GDK_KEY_Pointer_Accelerate); + PRINT_CONSTANT(GDK_KEY_Pointer_Button1); + PRINT_CONSTANT(GDK_KEY_Pointer_Button2); + PRINT_CONSTANT(GDK_KEY_Pointer_Button3); + PRINT_CONSTANT(GDK_KEY_Pointer_Button4); + PRINT_CONSTANT(GDK_KEY_Pointer_Button5); + PRINT_CONSTANT(GDK_KEY_Pointer_Button_Dflt); + PRINT_CONSTANT(GDK_KEY_Pointer_DblClick1); + PRINT_CONSTANT(GDK_KEY_Pointer_DblClick2); + PRINT_CONSTANT(GDK_KEY_Pointer_DblClick3); + PRINT_CONSTANT(GDK_KEY_Pointer_DblClick4); + PRINT_CONSTANT(GDK_KEY_Pointer_DblClick5); + PRINT_CONSTANT(GDK_KEY_Pointer_DblClick_Dflt); + PRINT_CONSTANT(GDK_KEY_Pointer_DfltBtnNext); + PRINT_CONSTANT(GDK_KEY_Pointer_DfltBtnPrev); + PRINT_CONSTANT(GDK_KEY_Pointer_Down); + PRINT_CONSTANT(GDK_KEY_Pointer_DownLeft); + PRINT_CONSTANT(GDK_KEY_Pointer_DownRight); + PRINT_CONSTANT(GDK_KEY_Pointer_Drag1); + PRINT_CONSTANT(GDK_KEY_Pointer_Drag2); + PRINT_CONSTANT(GDK_KEY_Pointer_Drag3); + PRINT_CONSTANT(GDK_KEY_Pointer_Drag4); + PRINT_CONSTANT(GDK_KEY_Pointer_Drag5); + PRINT_CONSTANT(GDK_KEY_Pointer_Drag_Dflt); + PRINT_CONSTANT(GDK_KEY_Pointer_EnableKeys); + PRINT_CONSTANT(GDK_KEY_Pointer_Left); + PRINT_CONSTANT(GDK_KEY_Pointer_Right); + PRINT_CONSTANT(GDK_KEY_Pointer_Up); + PRINT_CONSTANT(GDK_KEY_Pointer_UpLeft); + PRINT_CONSTANT(GDK_KEY_Pointer_UpRight); + PRINT_CONSTANT(GDK_KEY_PowerDown); + PRINT_CONSTANT(GDK_KEY_PowerOff); + PRINT_CONSTANT(GDK_KEY_Prev_VMode); + PRINT_CONSTANT(GDK_KEY_Prev_Virtual_Screen); + PRINT_CONSTANT(GDK_KEY_PreviousCandidate); + PRINT_CONSTANT(GDK_KEY_Print); + PRINT_CONSTANT(GDK_KEY_Prior); + PRINT_CONSTANT(GDK_KEY_Q); + PRINT_CONSTANT(GDK_KEY_R); + PRINT_CONSTANT(GDK_KEY_R1); + PRINT_CONSTANT(GDK_KEY_R10); + PRINT_CONSTANT(GDK_KEY_R11); + PRINT_CONSTANT(GDK_KEY_R12); + PRINT_CONSTANT(GDK_KEY_R13); + PRINT_CONSTANT(GDK_KEY_R14); + PRINT_CONSTANT(GDK_KEY_R15); + PRINT_CONSTANT(GDK_KEY_R2); + PRINT_CONSTANT(GDK_KEY_R3); + PRINT_CONSTANT(GDK_KEY_R4); + PRINT_CONSTANT(GDK_KEY_R5); + PRINT_CONSTANT(GDK_KEY_R6); + PRINT_CONSTANT(GDK_KEY_R7); + PRINT_CONSTANT(GDK_KEY_R8); + PRINT_CONSTANT(GDK_KEY_R9); + PRINT_CONSTANT((gint) GDK_KEY_RELEASE); + PRINT_CONSTANT((guint) GDK_KEY_RELEASE_MASK); + PRINT_CONSTANT(GDK_KEY_RFKill); + PRINT_CONSTANT(GDK_KEY_Racute); + PRINT_CONSTANT(GDK_KEY_Rcaron); + PRINT_CONSTANT(GDK_KEY_Rcedilla); + PRINT_CONSTANT(GDK_KEY_Red); + PRINT_CONSTANT(GDK_KEY_Redo); + PRINT_CONSTANT(GDK_KEY_Refresh); + PRINT_CONSTANT(GDK_KEY_Reload); + PRINT_CONSTANT(GDK_KEY_RepeatKeys_Enable); + PRINT_CONSTANT(GDK_KEY_Reply); + PRINT_CONSTANT(GDK_KEY_Return); + PRINT_CONSTANT(GDK_KEY_Right); + PRINT_CONSTANT(GDK_KEY_RockerDown); + PRINT_CONSTANT(GDK_KEY_RockerEnter); + PRINT_CONSTANT(GDK_KEY_RockerUp); + PRINT_CONSTANT(GDK_KEY_Romaji); + PRINT_CONSTANT(GDK_KEY_RotateWindows); + PRINT_CONSTANT(GDK_KEY_RotationKB); + PRINT_CONSTANT(GDK_KEY_RotationPB); + PRINT_CONSTANT(GDK_KEY_RupeeSign); + PRINT_CONSTANT(GDK_KEY_S); + PRINT_CONSTANT(GDK_KEY_SCHWA); + PRINT_CONSTANT(GDK_KEY_Sabovedot); + PRINT_CONSTANT(GDK_KEY_Sacute); + PRINT_CONSTANT(GDK_KEY_Save); + PRINT_CONSTANT(GDK_KEY_Scaron); + PRINT_CONSTANT(GDK_KEY_Scedilla); + PRINT_CONSTANT(GDK_KEY_Scircumflex); + PRINT_CONSTANT(GDK_KEY_ScreenSaver); + PRINT_CONSTANT(GDK_KEY_ScrollClick); + PRINT_CONSTANT(GDK_KEY_ScrollDown); + PRINT_CONSTANT(GDK_KEY_ScrollUp); + PRINT_CONSTANT(GDK_KEY_Scroll_Lock); + PRINT_CONSTANT(GDK_KEY_Search); + PRINT_CONSTANT(GDK_KEY_Select); + PRINT_CONSTANT(GDK_KEY_SelectButton); + PRINT_CONSTANT(GDK_KEY_Send); + PRINT_CONSTANT(GDK_KEY_Serbian_DJE); + PRINT_CONSTANT(GDK_KEY_Serbian_DZE); + PRINT_CONSTANT(GDK_KEY_Serbian_JE); + PRINT_CONSTANT(GDK_KEY_Serbian_LJE); + PRINT_CONSTANT(GDK_KEY_Serbian_NJE); + PRINT_CONSTANT(GDK_KEY_Serbian_TSHE); + PRINT_CONSTANT(GDK_KEY_Serbian_dje); + PRINT_CONSTANT(GDK_KEY_Serbian_dze); + PRINT_CONSTANT(GDK_KEY_Serbian_je); + PRINT_CONSTANT(GDK_KEY_Serbian_lje); + PRINT_CONSTANT(GDK_KEY_Serbian_nje); + PRINT_CONSTANT(GDK_KEY_Serbian_tshe); + PRINT_CONSTANT(GDK_KEY_Shift_L); + PRINT_CONSTANT(GDK_KEY_Shift_Lock); + PRINT_CONSTANT(GDK_KEY_Shift_R); + PRINT_CONSTANT(GDK_KEY_Shop); + PRINT_CONSTANT(GDK_KEY_SingleCandidate); + PRINT_CONSTANT(GDK_KEY_Sinh_a); + PRINT_CONSTANT(GDK_KEY_Sinh_aa); + PRINT_CONSTANT(GDK_KEY_Sinh_aa2); + PRINT_CONSTANT(GDK_KEY_Sinh_ae); + PRINT_CONSTANT(GDK_KEY_Sinh_ae2); + PRINT_CONSTANT(GDK_KEY_Sinh_aee); + PRINT_CONSTANT(GDK_KEY_Sinh_aee2); + PRINT_CONSTANT(GDK_KEY_Sinh_ai); + PRINT_CONSTANT(GDK_KEY_Sinh_ai2); + PRINT_CONSTANT(GDK_KEY_Sinh_al); + PRINT_CONSTANT(GDK_KEY_Sinh_au); + PRINT_CONSTANT(GDK_KEY_Sinh_au2); + PRINT_CONSTANT(GDK_KEY_Sinh_ba); + PRINT_CONSTANT(GDK_KEY_Sinh_bha); + PRINT_CONSTANT(GDK_KEY_Sinh_ca); + PRINT_CONSTANT(GDK_KEY_Sinh_cha); + PRINT_CONSTANT(GDK_KEY_Sinh_dda); + PRINT_CONSTANT(GDK_KEY_Sinh_ddha); + PRINT_CONSTANT(GDK_KEY_Sinh_dha); + PRINT_CONSTANT(GDK_KEY_Sinh_dhha); + PRINT_CONSTANT(GDK_KEY_Sinh_e); + PRINT_CONSTANT(GDK_KEY_Sinh_e2); + PRINT_CONSTANT(GDK_KEY_Sinh_ee); + PRINT_CONSTANT(GDK_KEY_Sinh_ee2); + PRINT_CONSTANT(GDK_KEY_Sinh_fa); + PRINT_CONSTANT(GDK_KEY_Sinh_ga); + PRINT_CONSTANT(GDK_KEY_Sinh_gha); + PRINT_CONSTANT(GDK_KEY_Sinh_h2); + PRINT_CONSTANT(GDK_KEY_Sinh_ha); + PRINT_CONSTANT(GDK_KEY_Sinh_i); + PRINT_CONSTANT(GDK_KEY_Sinh_i2); + PRINT_CONSTANT(GDK_KEY_Sinh_ii); + PRINT_CONSTANT(GDK_KEY_Sinh_ii2); + PRINT_CONSTANT(GDK_KEY_Sinh_ja); + PRINT_CONSTANT(GDK_KEY_Sinh_jha); + PRINT_CONSTANT(GDK_KEY_Sinh_jnya); + PRINT_CONSTANT(GDK_KEY_Sinh_ka); + PRINT_CONSTANT(GDK_KEY_Sinh_kha); + PRINT_CONSTANT(GDK_KEY_Sinh_kunddaliya); + PRINT_CONSTANT(GDK_KEY_Sinh_la); + PRINT_CONSTANT(GDK_KEY_Sinh_lla); + PRINT_CONSTANT(GDK_KEY_Sinh_lu); + PRINT_CONSTANT(GDK_KEY_Sinh_lu2); + PRINT_CONSTANT(GDK_KEY_Sinh_luu); + PRINT_CONSTANT(GDK_KEY_Sinh_luu2); + PRINT_CONSTANT(GDK_KEY_Sinh_ma); + PRINT_CONSTANT(GDK_KEY_Sinh_mba); + PRINT_CONSTANT(GDK_KEY_Sinh_na); + PRINT_CONSTANT(GDK_KEY_Sinh_ndda); + PRINT_CONSTANT(GDK_KEY_Sinh_ndha); + PRINT_CONSTANT(GDK_KEY_Sinh_ng); + PRINT_CONSTANT(GDK_KEY_Sinh_ng2); + PRINT_CONSTANT(GDK_KEY_Sinh_nga); + PRINT_CONSTANT(GDK_KEY_Sinh_nja); + PRINT_CONSTANT(GDK_KEY_Sinh_nna); + PRINT_CONSTANT(GDK_KEY_Sinh_nya); + PRINT_CONSTANT(GDK_KEY_Sinh_o); + PRINT_CONSTANT(GDK_KEY_Sinh_o2); + PRINT_CONSTANT(GDK_KEY_Sinh_oo); + PRINT_CONSTANT(GDK_KEY_Sinh_oo2); + PRINT_CONSTANT(GDK_KEY_Sinh_pa); + PRINT_CONSTANT(GDK_KEY_Sinh_pha); + PRINT_CONSTANT(GDK_KEY_Sinh_ra); + PRINT_CONSTANT(GDK_KEY_Sinh_ri); + PRINT_CONSTANT(GDK_KEY_Sinh_rii); + PRINT_CONSTANT(GDK_KEY_Sinh_ru2); + PRINT_CONSTANT(GDK_KEY_Sinh_ruu2); + PRINT_CONSTANT(GDK_KEY_Sinh_sa); + PRINT_CONSTANT(GDK_KEY_Sinh_sha); + PRINT_CONSTANT(GDK_KEY_Sinh_ssha); + PRINT_CONSTANT(GDK_KEY_Sinh_tha); + PRINT_CONSTANT(GDK_KEY_Sinh_thha); + PRINT_CONSTANT(GDK_KEY_Sinh_tta); + PRINT_CONSTANT(GDK_KEY_Sinh_ttha); + PRINT_CONSTANT(GDK_KEY_Sinh_u); + PRINT_CONSTANT(GDK_KEY_Sinh_u2); + PRINT_CONSTANT(GDK_KEY_Sinh_uu); + PRINT_CONSTANT(GDK_KEY_Sinh_uu2); + PRINT_CONSTANT(GDK_KEY_Sinh_va); + PRINT_CONSTANT(GDK_KEY_Sinh_ya); + PRINT_CONSTANT(GDK_KEY_Sleep); + PRINT_CONSTANT(GDK_KEY_SlowKeys_Enable); + PRINT_CONSTANT(GDK_KEY_Spell); + PRINT_CONSTANT(GDK_KEY_SplitScreen); + PRINT_CONSTANT(GDK_KEY_Standby); + PRINT_CONSTANT(GDK_KEY_Start); + PRINT_CONSTANT(GDK_KEY_StickyKeys_Enable); + PRINT_CONSTANT(GDK_KEY_Stop); + PRINT_CONSTANT(GDK_KEY_Subtitle); + PRINT_CONSTANT(GDK_KEY_Super_L); + PRINT_CONSTANT(GDK_KEY_Super_R); + PRINT_CONSTANT(GDK_KEY_Support); + PRINT_CONSTANT(GDK_KEY_Suspend); + PRINT_CONSTANT(GDK_KEY_Switch_VT_1); + PRINT_CONSTANT(GDK_KEY_Switch_VT_10); + PRINT_CONSTANT(GDK_KEY_Switch_VT_11); + PRINT_CONSTANT(GDK_KEY_Switch_VT_12); + PRINT_CONSTANT(GDK_KEY_Switch_VT_2); + PRINT_CONSTANT(GDK_KEY_Switch_VT_3); + PRINT_CONSTANT(GDK_KEY_Switch_VT_4); + PRINT_CONSTANT(GDK_KEY_Switch_VT_5); + PRINT_CONSTANT(GDK_KEY_Switch_VT_6); + PRINT_CONSTANT(GDK_KEY_Switch_VT_7); + PRINT_CONSTANT(GDK_KEY_Switch_VT_8); + PRINT_CONSTANT(GDK_KEY_Switch_VT_9); + PRINT_CONSTANT(GDK_KEY_Sys_Req); + PRINT_CONSTANT(GDK_KEY_T); + PRINT_CONSTANT(GDK_KEY_THORN); + PRINT_CONSTANT(GDK_KEY_Tab); + PRINT_CONSTANT(GDK_KEY_Tabovedot); + PRINT_CONSTANT(GDK_KEY_TaskPane); + PRINT_CONSTANT(GDK_KEY_Tcaron); + PRINT_CONSTANT(GDK_KEY_Tcedilla); + PRINT_CONSTANT(GDK_KEY_Terminal); + PRINT_CONSTANT(GDK_KEY_Terminate_Server); + PRINT_CONSTANT(GDK_KEY_Thai_baht); + PRINT_CONSTANT(GDK_KEY_Thai_bobaimai); + PRINT_CONSTANT(GDK_KEY_Thai_chochan); + PRINT_CONSTANT(GDK_KEY_Thai_chochang); + PRINT_CONSTANT(GDK_KEY_Thai_choching); + PRINT_CONSTANT(GDK_KEY_Thai_chochoe); + PRINT_CONSTANT(GDK_KEY_Thai_dochada); + PRINT_CONSTANT(GDK_KEY_Thai_dodek); + PRINT_CONSTANT(GDK_KEY_Thai_fofa); + PRINT_CONSTANT(GDK_KEY_Thai_fofan); + PRINT_CONSTANT(GDK_KEY_Thai_hohip); + PRINT_CONSTANT(GDK_KEY_Thai_honokhuk); + PRINT_CONSTANT(GDK_KEY_Thai_khokhai); + PRINT_CONSTANT(GDK_KEY_Thai_khokhon); + PRINT_CONSTANT(GDK_KEY_Thai_khokhuat); + PRINT_CONSTANT(GDK_KEY_Thai_khokhwai); + PRINT_CONSTANT(GDK_KEY_Thai_khorakhang); + PRINT_CONSTANT(GDK_KEY_Thai_kokai); + PRINT_CONSTANT(GDK_KEY_Thai_lakkhangyao); + PRINT_CONSTANT(GDK_KEY_Thai_lekchet); + PRINT_CONSTANT(GDK_KEY_Thai_lekha); + PRINT_CONSTANT(GDK_KEY_Thai_lekhok); + PRINT_CONSTANT(GDK_KEY_Thai_lekkao); + PRINT_CONSTANT(GDK_KEY_Thai_leknung); + PRINT_CONSTANT(GDK_KEY_Thai_lekpaet); + PRINT_CONSTANT(GDK_KEY_Thai_leksam); + PRINT_CONSTANT(GDK_KEY_Thai_leksi); + PRINT_CONSTANT(GDK_KEY_Thai_leksong); + PRINT_CONSTANT(GDK_KEY_Thai_leksun); + PRINT_CONSTANT(GDK_KEY_Thai_lochula); + PRINT_CONSTANT(GDK_KEY_Thai_loling); + PRINT_CONSTANT(GDK_KEY_Thai_lu); + PRINT_CONSTANT(GDK_KEY_Thai_maichattawa); + PRINT_CONSTANT(GDK_KEY_Thai_maiek); + PRINT_CONSTANT(GDK_KEY_Thai_maihanakat); + PRINT_CONSTANT(GDK_KEY_Thai_maihanakat_maitho); + PRINT_CONSTANT(GDK_KEY_Thai_maitaikhu); + PRINT_CONSTANT(GDK_KEY_Thai_maitho); + PRINT_CONSTANT(GDK_KEY_Thai_maitri); + PRINT_CONSTANT(GDK_KEY_Thai_maiyamok); + PRINT_CONSTANT(GDK_KEY_Thai_moma); + PRINT_CONSTANT(GDK_KEY_Thai_ngongu); + PRINT_CONSTANT(GDK_KEY_Thai_nikhahit); + PRINT_CONSTANT(GDK_KEY_Thai_nonen); + PRINT_CONSTANT(GDK_KEY_Thai_nonu); + PRINT_CONSTANT(GDK_KEY_Thai_oang); + PRINT_CONSTANT(GDK_KEY_Thai_paiyannoi); + PRINT_CONSTANT(GDK_KEY_Thai_phinthu); + PRINT_CONSTANT(GDK_KEY_Thai_phophan); + PRINT_CONSTANT(GDK_KEY_Thai_phophung); + PRINT_CONSTANT(GDK_KEY_Thai_phosamphao); + PRINT_CONSTANT(GDK_KEY_Thai_popla); + PRINT_CONSTANT(GDK_KEY_Thai_rorua); + PRINT_CONSTANT(GDK_KEY_Thai_ru); + PRINT_CONSTANT(GDK_KEY_Thai_saraa); + PRINT_CONSTANT(GDK_KEY_Thai_saraaa); + PRINT_CONSTANT(GDK_KEY_Thai_saraae); + PRINT_CONSTANT(GDK_KEY_Thai_saraaimaimalai); + PRINT_CONSTANT(GDK_KEY_Thai_saraaimaimuan); + PRINT_CONSTANT(GDK_KEY_Thai_saraam); + PRINT_CONSTANT(GDK_KEY_Thai_sarae); + PRINT_CONSTANT(GDK_KEY_Thai_sarai); + PRINT_CONSTANT(GDK_KEY_Thai_saraii); + PRINT_CONSTANT(GDK_KEY_Thai_sarao); + PRINT_CONSTANT(GDK_KEY_Thai_sarau); + PRINT_CONSTANT(GDK_KEY_Thai_saraue); + PRINT_CONSTANT(GDK_KEY_Thai_sarauee); + PRINT_CONSTANT(GDK_KEY_Thai_sarauu); + PRINT_CONSTANT(GDK_KEY_Thai_sorusi); + PRINT_CONSTANT(GDK_KEY_Thai_sosala); + PRINT_CONSTANT(GDK_KEY_Thai_soso); + PRINT_CONSTANT(GDK_KEY_Thai_sosua); + PRINT_CONSTANT(GDK_KEY_Thai_thanthakhat); + PRINT_CONSTANT(GDK_KEY_Thai_thonangmontho); + PRINT_CONSTANT(GDK_KEY_Thai_thophuthao); + PRINT_CONSTANT(GDK_KEY_Thai_thothahan); + PRINT_CONSTANT(GDK_KEY_Thai_thothan); + PRINT_CONSTANT(GDK_KEY_Thai_thothong); + PRINT_CONSTANT(GDK_KEY_Thai_thothung); + PRINT_CONSTANT(GDK_KEY_Thai_topatak); + PRINT_CONSTANT(GDK_KEY_Thai_totao); + PRINT_CONSTANT(GDK_KEY_Thai_wowaen); + PRINT_CONSTANT(GDK_KEY_Thai_yoyak); + PRINT_CONSTANT(GDK_KEY_Thai_yoying); + PRINT_CONSTANT(GDK_KEY_Thorn); + PRINT_CONSTANT(GDK_KEY_Time); + PRINT_CONSTANT(GDK_KEY_ToDoList); + PRINT_CONSTANT(GDK_KEY_Tools); + PRINT_CONSTANT(GDK_KEY_TopMenu); + PRINT_CONSTANT(GDK_KEY_TouchpadOff); + PRINT_CONSTANT(GDK_KEY_TouchpadOn); + PRINT_CONSTANT(GDK_KEY_TouchpadToggle); + PRINT_CONSTANT(GDK_KEY_Touroku); + PRINT_CONSTANT(GDK_KEY_Travel); + PRINT_CONSTANT(GDK_KEY_Tslash); + PRINT_CONSTANT(GDK_KEY_U); + PRINT_CONSTANT(GDK_KEY_UWB); + PRINT_CONSTANT(GDK_KEY_Uacute); + PRINT_CONSTANT(GDK_KEY_Ubelowdot); + PRINT_CONSTANT(GDK_KEY_Ubreve); + PRINT_CONSTANT(GDK_KEY_Ucircumflex); + PRINT_CONSTANT(GDK_KEY_Udiaeresis); + PRINT_CONSTANT(GDK_KEY_Udoubleacute); + PRINT_CONSTANT(GDK_KEY_Ugrave); + PRINT_CONSTANT(GDK_KEY_Uhook); + PRINT_CONSTANT(GDK_KEY_Uhorn); + PRINT_CONSTANT(GDK_KEY_Uhornacute); + PRINT_CONSTANT(GDK_KEY_Uhornbelowdot); + PRINT_CONSTANT(GDK_KEY_Uhorngrave); + PRINT_CONSTANT(GDK_KEY_Uhornhook); + PRINT_CONSTANT(GDK_KEY_Uhorntilde); + PRINT_CONSTANT(GDK_KEY_Ukrainian_GHE_WITH_UPTURN); + PRINT_CONSTANT(GDK_KEY_Ukrainian_I); + PRINT_CONSTANT(GDK_KEY_Ukrainian_IE); + PRINT_CONSTANT(GDK_KEY_Ukrainian_YI); + PRINT_CONSTANT(GDK_KEY_Ukrainian_ghe_with_upturn); + PRINT_CONSTANT(GDK_KEY_Ukrainian_i); + PRINT_CONSTANT(GDK_KEY_Ukrainian_ie); + PRINT_CONSTANT(GDK_KEY_Ukrainian_yi); + PRINT_CONSTANT(GDK_KEY_Ukranian_I); + PRINT_CONSTANT(GDK_KEY_Ukranian_JE); + PRINT_CONSTANT(GDK_KEY_Ukranian_YI); + PRINT_CONSTANT(GDK_KEY_Ukranian_i); + PRINT_CONSTANT(GDK_KEY_Ukranian_je); + PRINT_CONSTANT(GDK_KEY_Ukranian_yi); + PRINT_CONSTANT(GDK_KEY_Umacron); + PRINT_CONSTANT(GDK_KEY_Undo); + PRINT_CONSTANT(GDK_KEY_Ungrab); + PRINT_CONSTANT(GDK_KEY_Uogonek); + PRINT_CONSTANT(GDK_KEY_Up); + PRINT_CONSTANT(GDK_KEY_Uring); + PRINT_CONSTANT(GDK_KEY_User1KB); + PRINT_CONSTANT(GDK_KEY_User2KB); + PRINT_CONSTANT(GDK_KEY_UserPB); + PRINT_CONSTANT(GDK_KEY_Utilde); + PRINT_CONSTANT(GDK_KEY_V); + PRINT_CONSTANT(GDK_KEY_VendorHome); + PRINT_CONSTANT(GDK_KEY_Video); + PRINT_CONSTANT(GDK_KEY_View); + PRINT_CONSTANT(GDK_KEY_VoidSymbol); + PRINT_CONSTANT(GDK_KEY_W); + PRINT_CONSTANT(GDK_KEY_WLAN); + PRINT_CONSTANT(GDK_KEY_WWAN); + PRINT_CONSTANT(GDK_KEY_WWW); + PRINT_CONSTANT(GDK_KEY_Wacute); + PRINT_CONSTANT(GDK_KEY_WakeUp); + PRINT_CONSTANT(GDK_KEY_Wcircumflex); + PRINT_CONSTANT(GDK_KEY_Wdiaeresis); + PRINT_CONSTANT(GDK_KEY_WebCam); + PRINT_CONSTANT(GDK_KEY_Wgrave); + PRINT_CONSTANT(GDK_KEY_WheelButton); + PRINT_CONSTANT(GDK_KEY_WindowClear); + PRINT_CONSTANT(GDK_KEY_WonSign); + PRINT_CONSTANT(GDK_KEY_Word); + PRINT_CONSTANT(GDK_KEY_X); + PRINT_CONSTANT(GDK_KEY_Xabovedot); + PRINT_CONSTANT(GDK_KEY_Xfer); + PRINT_CONSTANT(GDK_KEY_Y); + PRINT_CONSTANT(GDK_KEY_Yacute); + PRINT_CONSTANT(GDK_KEY_Ybelowdot); + PRINT_CONSTANT(GDK_KEY_Ycircumflex); + PRINT_CONSTANT(GDK_KEY_Ydiaeresis); + PRINT_CONSTANT(GDK_KEY_Yellow); + PRINT_CONSTANT(GDK_KEY_Ygrave); + PRINT_CONSTANT(GDK_KEY_Yhook); + PRINT_CONSTANT(GDK_KEY_Ytilde); + PRINT_CONSTANT(GDK_KEY_Z); + PRINT_CONSTANT(GDK_KEY_Zabovedot); + PRINT_CONSTANT(GDK_KEY_Zacute); + PRINT_CONSTANT(GDK_KEY_Zcaron); + PRINT_CONSTANT(GDK_KEY_Zen_Koho); + PRINT_CONSTANT(GDK_KEY_Zenkaku); + PRINT_CONSTANT(GDK_KEY_Zenkaku_Hankaku); + PRINT_CONSTANT(GDK_KEY_ZoomIn); + PRINT_CONSTANT(GDK_KEY_ZoomOut); + PRINT_CONSTANT(GDK_KEY_Zstroke); + PRINT_CONSTANT(GDK_KEY_a); + PRINT_CONSTANT(GDK_KEY_aacute); + PRINT_CONSTANT(GDK_KEY_abelowdot); + PRINT_CONSTANT(GDK_KEY_abovedot); + PRINT_CONSTANT(GDK_KEY_abreve); + PRINT_CONSTANT(GDK_KEY_abreveacute); + PRINT_CONSTANT(GDK_KEY_abrevebelowdot); + PRINT_CONSTANT(GDK_KEY_abrevegrave); + PRINT_CONSTANT(GDK_KEY_abrevehook); + PRINT_CONSTANT(GDK_KEY_abrevetilde); + PRINT_CONSTANT(GDK_KEY_acircumflex); + PRINT_CONSTANT(GDK_KEY_acircumflexacute); + PRINT_CONSTANT(GDK_KEY_acircumflexbelowdot); + PRINT_CONSTANT(GDK_KEY_acircumflexgrave); + PRINT_CONSTANT(GDK_KEY_acircumflexhook); + PRINT_CONSTANT(GDK_KEY_acircumflextilde); + PRINT_CONSTANT(GDK_KEY_acute); + PRINT_CONSTANT(GDK_KEY_adiaeresis); + PRINT_CONSTANT(GDK_KEY_ae); + PRINT_CONSTANT(GDK_KEY_agrave); + PRINT_CONSTANT(GDK_KEY_ahook); + PRINT_CONSTANT(GDK_KEY_amacron); + PRINT_CONSTANT(GDK_KEY_ampersand); + PRINT_CONSTANT(GDK_KEY_aogonek); + PRINT_CONSTANT(GDK_KEY_apostrophe); + PRINT_CONSTANT(GDK_KEY_approxeq); + PRINT_CONSTANT(GDK_KEY_approximate); + PRINT_CONSTANT(GDK_KEY_aring); + PRINT_CONSTANT(GDK_KEY_asciicircum); + PRINT_CONSTANT(GDK_KEY_asciitilde); + PRINT_CONSTANT(GDK_KEY_asterisk); + PRINT_CONSTANT(GDK_KEY_at); + PRINT_CONSTANT(GDK_KEY_atilde); + PRINT_CONSTANT(GDK_KEY_b); + PRINT_CONSTANT(GDK_KEY_babovedot); + PRINT_CONSTANT(GDK_KEY_backslash); + PRINT_CONSTANT(GDK_KEY_ballotcross); + PRINT_CONSTANT(GDK_KEY_bar); + PRINT_CONSTANT(GDK_KEY_because); + PRINT_CONSTANT(GDK_KEY_blank); + PRINT_CONSTANT(GDK_KEY_botintegral); + PRINT_CONSTANT(GDK_KEY_botleftparens); + PRINT_CONSTANT(GDK_KEY_botleftsqbracket); + PRINT_CONSTANT(GDK_KEY_botleftsummation); + PRINT_CONSTANT(GDK_KEY_botrightparens); + PRINT_CONSTANT(GDK_KEY_botrightsqbracket); + PRINT_CONSTANT(GDK_KEY_botrightsummation); + PRINT_CONSTANT(GDK_KEY_bott); + PRINT_CONSTANT(GDK_KEY_botvertsummationconnector); + PRINT_CONSTANT(GDK_KEY_braceleft); + PRINT_CONSTANT(GDK_KEY_braceright); + PRINT_CONSTANT(GDK_KEY_bracketleft); + PRINT_CONSTANT(GDK_KEY_bracketright); + PRINT_CONSTANT(GDK_KEY_braille_blank); + PRINT_CONSTANT(GDK_KEY_braille_dot_1); + PRINT_CONSTANT(GDK_KEY_braille_dot_10); + PRINT_CONSTANT(GDK_KEY_braille_dot_2); + PRINT_CONSTANT(GDK_KEY_braille_dot_3); + PRINT_CONSTANT(GDK_KEY_braille_dot_4); + PRINT_CONSTANT(GDK_KEY_braille_dot_5); + PRINT_CONSTANT(GDK_KEY_braille_dot_6); + PRINT_CONSTANT(GDK_KEY_braille_dot_7); + PRINT_CONSTANT(GDK_KEY_braille_dot_8); + PRINT_CONSTANT(GDK_KEY_braille_dot_9); + PRINT_CONSTANT(GDK_KEY_braille_dots_1); + PRINT_CONSTANT(GDK_KEY_braille_dots_12); + PRINT_CONSTANT(GDK_KEY_braille_dots_123); + PRINT_CONSTANT(GDK_KEY_braille_dots_1234); + PRINT_CONSTANT(GDK_KEY_braille_dots_12345); + PRINT_CONSTANT(GDK_KEY_braille_dots_123456); + PRINT_CONSTANT(GDK_KEY_braille_dots_1234567); + PRINT_CONSTANT(GDK_KEY_braille_dots_12345678); + PRINT_CONSTANT(GDK_KEY_braille_dots_1234568); + PRINT_CONSTANT(GDK_KEY_braille_dots_123457); + PRINT_CONSTANT(GDK_KEY_braille_dots_1234578); + PRINT_CONSTANT(GDK_KEY_braille_dots_123458); + PRINT_CONSTANT(GDK_KEY_braille_dots_12346); + PRINT_CONSTANT(GDK_KEY_braille_dots_123467); + PRINT_CONSTANT(GDK_KEY_braille_dots_1234678); + PRINT_CONSTANT(GDK_KEY_braille_dots_123468); + PRINT_CONSTANT(GDK_KEY_braille_dots_12347); + PRINT_CONSTANT(GDK_KEY_braille_dots_123478); + PRINT_CONSTANT(GDK_KEY_braille_dots_12348); + PRINT_CONSTANT(GDK_KEY_braille_dots_1235); + PRINT_CONSTANT(GDK_KEY_braille_dots_12356); + PRINT_CONSTANT(GDK_KEY_braille_dots_123567); + PRINT_CONSTANT(GDK_KEY_braille_dots_1235678); + PRINT_CONSTANT(GDK_KEY_braille_dots_123568); + PRINT_CONSTANT(GDK_KEY_braille_dots_12357); + PRINT_CONSTANT(GDK_KEY_braille_dots_123578); + PRINT_CONSTANT(GDK_KEY_braille_dots_12358); + PRINT_CONSTANT(GDK_KEY_braille_dots_1236); + PRINT_CONSTANT(GDK_KEY_braille_dots_12367); + PRINT_CONSTANT(GDK_KEY_braille_dots_123678); + PRINT_CONSTANT(GDK_KEY_braille_dots_12368); + PRINT_CONSTANT(GDK_KEY_braille_dots_1237); + PRINT_CONSTANT(GDK_KEY_braille_dots_12378); + PRINT_CONSTANT(GDK_KEY_braille_dots_1238); + PRINT_CONSTANT(GDK_KEY_braille_dots_124); + PRINT_CONSTANT(GDK_KEY_braille_dots_1245); + PRINT_CONSTANT(GDK_KEY_braille_dots_12456); + PRINT_CONSTANT(GDK_KEY_braille_dots_124567); + PRINT_CONSTANT(GDK_KEY_braille_dots_1245678); + PRINT_CONSTANT(GDK_KEY_braille_dots_124568); + PRINT_CONSTANT(GDK_KEY_braille_dots_12457); + PRINT_CONSTANT(GDK_KEY_braille_dots_124578); + PRINT_CONSTANT(GDK_KEY_braille_dots_12458); + PRINT_CONSTANT(GDK_KEY_braille_dots_1246); + PRINT_CONSTANT(GDK_KEY_braille_dots_12467); + PRINT_CONSTANT(GDK_KEY_braille_dots_124678); + PRINT_CONSTANT(GDK_KEY_braille_dots_12468); + PRINT_CONSTANT(GDK_KEY_braille_dots_1247); + PRINT_CONSTANT(GDK_KEY_braille_dots_12478); + PRINT_CONSTANT(GDK_KEY_braille_dots_1248); + PRINT_CONSTANT(GDK_KEY_braille_dots_125); + PRINT_CONSTANT(GDK_KEY_braille_dots_1256); + PRINT_CONSTANT(GDK_KEY_braille_dots_12567); + PRINT_CONSTANT(GDK_KEY_braille_dots_125678); + PRINT_CONSTANT(GDK_KEY_braille_dots_12568); + PRINT_CONSTANT(GDK_KEY_braille_dots_1257); + PRINT_CONSTANT(GDK_KEY_braille_dots_12578); + PRINT_CONSTANT(GDK_KEY_braille_dots_1258); + PRINT_CONSTANT(GDK_KEY_braille_dots_126); + PRINT_CONSTANT(GDK_KEY_braille_dots_1267); + PRINT_CONSTANT(GDK_KEY_braille_dots_12678); + PRINT_CONSTANT(GDK_KEY_braille_dots_1268); + PRINT_CONSTANT(GDK_KEY_braille_dots_127); + PRINT_CONSTANT(GDK_KEY_braille_dots_1278); + PRINT_CONSTANT(GDK_KEY_braille_dots_128); + PRINT_CONSTANT(GDK_KEY_braille_dots_13); + PRINT_CONSTANT(GDK_KEY_braille_dots_134); + PRINT_CONSTANT(GDK_KEY_braille_dots_1345); + PRINT_CONSTANT(GDK_KEY_braille_dots_13456); + PRINT_CONSTANT(GDK_KEY_braille_dots_134567); + PRINT_CONSTANT(GDK_KEY_braille_dots_1345678); + PRINT_CONSTANT(GDK_KEY_braille_dots_134568); + PRINT_CONSTANT(GDK_KEY_braille_dots_13457); + PRINT_CONSTANT(GDK_KEY_braille_dots_134578); + PRINT_CONSTANT(GDK_KEY_braille_dots_13458); + PRINT_CONSTANT(GDK_KEY_braille_dots_1346); + PRINT_CONSTANT(GDK_KEY_braille_dots_13467); + PRINT_CONSTANT(GDK_KEY_braille_dots_134678); + PRINT_CONSTANT(GDK_KEY_braille_dots_13468); + PRINT_CONSTANT(GDK_KEY_braille_dots_1347); + PRINT_CONSTANT(GDK_KEY_braille_dots_13478); + PRINT_CONSTANT(GDK_KEY_braille_dots_1348); + PRINT_CONSTANT(GDK_KEY_braille_dots_135); + PRINT_CONSTANT(GDK_KEY_braille_dots_1356); + PRINT_CONSTANT(GDK_KEY_braille_dots_13567); + PRINT_CONSTANT(GDK_KEY_braille_dots_135678); + PRINT_CONSTANT(GDK_KEY_braille_dots_13568); + PRINT_CONSTANT(GDK_KEY_braille_dots_1357); + PRINT_CONSTANT(GDK_KEY_braille_dots_13578); + PRINT_CONSTANT(GDK_KEY_braille_dots_1358); + PRINT_CONSTANT(GDK_KEY_braille_dots_136); + PRINT_CONSTANT(GDK_KEY_braille_dots_1367); + PRINT_CONSTANT(GDK_KEY_braille_dots_13678); + PRINT_CONSTANT(GDK_KEY_braille_dots_1368); + PRINT_CONSTANT(GDK_KEY_braille_dots_137); + PRINT_CONSTANT(GDK_KEY_braille_dots_1378); + PRINT_CONSTANT(GDK_KEY_braille_dots_138); + PRINT_CONSTANT(GDK_KEY_braille_dots_14); + PRINT_CONSTANT(GDK_KEY_braille_dots_145); + PRINT_CONSTANT(GDK_KEY_braille_dots_1456); + PRINT_CONSTANT(GDK_KEY_braille_dots_14567); + PRINT_CONSTANT(GDK_KEY_braille_dots_145678); + PRINT_CONSTANT(GDK_KEY_braille_dots_14568); + PRINT_CONSTANT(GDK_KEY_braille_dots_1457); + PRINT_CONSTANT(GDK_KEY_braille_dots_14578); + PRINT_CONSTANT(GDK_KEY_braille_dots_1458); + PRINT_CONSTANT(GDK_KEY_braille_dots_146); + PRINT_CONSTANT(GDK_KEY_braille_dots_1467); + PRINT_CONSTANT(GDK_KEY_braille_dots_14678); + PRINT_CONSTANT(GDK_KEY_braille_dots_1468); + PRINT_CONSTANT(GDK_KEY_braille_dots_147); + PRINT_CONSTANT(GDK_KEY_braille_dots_1478); + PRINT_CONSTANT(GDK_KEY_braille_dots_148); + PRINT_CONSTANT(GDK_KEY_braille_dots_15); + PRINT_CONSTANT(GDK_KEY_braille_dots_156); + PRINT_CONSTANT(GDK_KEY_braille_dots_1567); + PRINT_CONSTANT(GDK_KEY_braille_dots_15678); + PRINT_CONSTANT(GDK_KEY_braille_dots_1568); + PRINT_CONSTANT(GDK_KEY_braille_dots_157); + PRINT_CONSTANT(GDK_KEY_braille_dots_1578); + PRINT_CONSTANT(GDK_KEY_braille_dots_158); + PRINT_CONSTANT(GDK_KEY_braille_dots_16); + PRINT_CONSTANT(GDK_KEY_braille_dots_167); + PRINT_CONSTANT(GDK_KEY_braille_dots_1678); + PRINT_CONSTANT(GDK_KEY_braille_dots_168); + PRINT_CONSTANT(GDK_KEY_braille_dots_17); + PRINT_CONSTANT(GDK_KEY_braille_dots_178); + PRINT_CONSTANT(GDK_KEY_braille_dots_18); + PRINT_CONSTANT(GDK_KEY_braille_dots_2); + PRINT_CONSTANT(GDK_KEY_braille_dots_23); + PRINT_CONSTANT(GDK_KEY_braille_dots_234); + PRINT_CONSTANT(GDK_KEY_braille_dots_2345); + PRINT_CONSTANT(GDK_KEY_braille_dots_23456); + PRINT_CONSTANT(GDK_KEY_braille_dots_234567); + PRINT_CONSTANT(GDK_KEY_braille_dots_2345678); + PRINT_CONSTANT(GDK_KEY_braille_dots_234568); + PRINT_CONSTANT(GDK_KEY_braille_dots_23457); + PRINT_CONSTANT(GDK_KEY_braille_dots_234578); + PRINT_CONSTANT(GDK_KEY_braille_dots_23458); + PRINT_CONSTANT(GDK_KEY_braille_dots_2346); + PRINT_CONSTANT(GDK_KEY_braille_dots_23467); + PRINT_CONSTANT(GDK_KEY_braille_dots_234678); + PRINT_CONSTANT(GDK_KEY_braille_dots_23468); + PRINT_CONSTANT(GDK_KEY_braille_dots_2347); + PRINT_CONSTANT(GDK_KEY_braille_dots_23478); + PRINT_CONSTANT(GDK_KEY_braille_dots_2348); + PRINT_CONSTANT(GDK_KEY_braille_dots_235); + PRINT_CONSTANT(GDK_KEY_braille_dots_2356); + PRINT_CONSTANT(GDK_KEY_braille_dots_23567); + PRINT_CONSTANT(GDK_KEY_braille_dots_235678); + PRINT_CONSTANT(GDK_KEY_braille_dots_23568); + PRINT_CONSTANT(GDK_KEY_braille_dots_2357); + PRINT_CONSTANT(GDK_KEY_braille_dots_23578); + PRINT_CONSTANT(GDK_KEY_braille_dots_2358); + PRINT_CONSTANT(GDK_KEY_braille_dots_236); + PRINT_CONSTANT(GDK_KEY_braille_dots_2367); + PRINT_CONSTANT(GDK_KEY_braille_dots_23678); + PRINT_CONSTANT(GDK_KEY_braille_dots_2368); + PRINT_CONSTANT(GDK_KEY_braille_dots_237); + PRINT_CONSTANT(GDK_KEY_braille_dots_2378); + PRINT_CONSTANT(GDK_KEY_braille_dots_238); + PRINT_CONSTANT(GDK_KEY_braille_dots_24); + PRINT_CONSTANT(GDK_KEY_braille_dots_245); + PRINT_CONSTANT(GDK_KEY_braille_dots_2456); + PRINT_CONSTANT(GDK_KEY_braille_dots_24567); + PRINT_CONSTANT(GDK_KEY_braille_dots_245678); + PRINT_CONSTANT(GDK_KEY_braille_dots_24568); + PRINT_CONSTANT(GDK_KEY_braille_dots_2457); + PRINT_CONSTANT(GDK_KEY_braille_dots_24578); + PRINT_CONSTANT(GDK_KEY_braille_dots_2458); + PRINT_CONSTANT(GDK_KEY_braille_dots_246); + PRINT_CONSTANT(GDK_KEY_braille_dots_2467); + PRINT_CONSTANT(GDK_KEY_braille_dots_24678); + PRINT_CONSTANT(GDK_KEY_braille_dots_2468); + PRINT_CONSTANT(GDK_KEY_braille_dots_247); + PRINT_CONSTANT(GDK_KEY_braille_dots_2478); + PRINT_CONSTANT(GDK_KEY_braille_dots_248); + PRINT_CONSTANT(GDK_KEY_braille_dots_25); + PRINT_CONSTANT(GDK_KEY_braille_dots_256); + PRINT_CONSTANT(GDK_KEY_braille_dots_2567); + PRINT_CONSTANT(GDK_KEY_braille_dots_25678); + PRINT_CONSTANT(GDK_KEY_braille_dots_2568); + PRINT_CONSTANT(GDK_KEY_braille_dots_257); + PRINT_CONSTANT(GDK_KEY_braille_dots_2578); + PRINT_CONSTANT(GDK_KEY_braille_dots_258); + PRINT_CONSTANT(GDK_KEY_braille_dots_26); + PRINT_CONSTANT(GDK_KEY_braille_dots_267); + PRINT_CONSTANT(GDK_KEY_braille_dots_2678); + PRINT_CONSTANT(GDK_KEY_braille_dots_268); + PRINT_CONSTANT(GDK_KEY_braille_dots_27); + PRINT_CONSTANT(GDK_KEY_braille_dots_278); + PRINT_CONSTANT(GDK_KEY_braille_dots_28); + PRINT_CONSTANT(GDK_KEY_braille_dots_3); + PRINT_CONSTANT(GDK_KEY_braille_dots_34); + PRINT_CONSTANT(GDK_KEY_braille_dots_345); + PRINT_CONSTANT(GDK_KEY_braille_dots_3456); + PRINT_CONSTANT(GDK_KEY_braille_dots_34567); + PRINT_CONSTANT(GDK_KEY_braille_dots_345678); + PRINT_CONSTANT(GDK_KEY_braille_dots_34568); + PRINT_CONSTANT(GDK_KEY_braille_dots_3457); + PRINT_CONSTANT(GDK_KEY_braille_dots_34578); + PRINT_CONSTANT(GDK_KEY_braille_dots_3458); + PRINT_CONSTANT(GDK_KEY_braille_dots_346); + PRINT_CONSTANT(GDK_KEY_braille_dots_3467); + PRINT_CONSTANT(GDK_KEY_braille_dots_34678); + PRINT_CONSTANT(GDK_KEY_braille_dots_3468); + PRINT_CONSTANT(GDK_KEY_braille_dots_347); + PRINT_CONSTANT(GDK_KEY_braille_dots_3478); + PRINT_CONSTANT(GDK_KEY_braille_dots_348); + PRINT_CONSTANT(GDK_KEY_braille_dots_35); + PRINT_CONSTANT(GDK_KEY_braille_dots_356); + PRINT_CONSTANT(GDK_KEY_braille_dots_3567); + PRINT_CONSTANT(GDK_KEY_braille_dots_35678); + PRINT_CONSTANT(GDK_KEY_braille_dots_3568); + PRINT_CONSTANT(GDK_KEY_braille_dots_357); + PRINT_CONSTANT(GDK_KEY_braille_dots_3578); + PRINT_CONSTANT(GDK_KEY_braille_dots_358); + PRINT_CONSTANT(GDK_KEY_braille_dots_36); + PRINT_CONSTANT(GDK_KEY_braille_dots_367); + PRINT_CONSTANT(GDK_KEY_braille_dots_3678); + PRINT_CONSTANT(GDK_KEY_braille_dots_368); + PRINT_CONSTANT(GDK_KEY_braille_dots_37); + PRINT_CONSTANT(GDK_KEY_braille_dots_378); + PRINT_CONSTANT(GDK_KEY_braille_dots_38); + PRINT_CONSTANT(GDK_KEY_braille_dots_4); + PRINT_CONSTANT(GDK_KEY_braille_dots_45); + PRINT_CONSTANT(GDK_KEY_braille_dots_456); + PRINT_CONSTANT(GDK_KEY_braille_dots_4567); + PRINT_CONSTANT(GDK_KEY_braille_dots_45678); + PRINT_CONSTANT(GDK_KEY_braille_dots_4568); + PRINT_CONSTANT(GDK_KEY_braille_dots_457); + PRINT_CONSTANT(GDK_KEY_braille_dots_4578); + PRINT_CONSTANT(GDK_KEY_braille_dots_458); + PRINT_CONSTANT(GDK_KEY_braille_dots_46); + PRINT_CONSTANT(GDK_KEY_braille_dots_467); + PRINT_CONSTANT(GDK_KEY_braille_dots_4678); + PRINT_CONSTANT(GDK_KEY_braille_dots_468); + PRINT_CONSTANT(GDK_KEY_braille_dots_47); + PRINT_CONSTANT(GDK_KEY_braille_dots_478); + PRINT_CONSTANT(GDK_KEY_braille_dots_48); + PRINT_CONSTANT(GDK_KEY_braille_dots_5); + PRINT_CONSTANT(GDK_KEY_braille_dots_56); + PRINT_CONSTANT(GDK_KEY_braille_dots_567); + PRINT_CONSTANT(GDK_KEY_braille_dots_5678); + PRINT_CONSTANT(GDK_KEY_braille_dots_568); + PRINT_CONSTANT(GDK_KEY_braille_dots_57); + PRINT_CONSTANT(GDK_KEY_braille_dots_578); + PRINT_CONSTANT(GDK_KEY_braille_dots_58); + PRINT_CONSTANT(GDK_KEY_braille_dots_6); + PRINT_CONSTANT(GDK_KEY_braille_dots_67); + PRINT_CONSTANT(GDK_KEY_braille_dots_678); + PRINT_CONSTANT(GDK_KEY_braille_dots_68); + PRINT_CONSTANT(GDK_KEY_braille_dots_7); + PRINT_CONSTANT(GDK_KEY_braille_dots_78); + PRINT_CONSTANT(GDK_KEY_braille_dots_8); + PRINT_CONSTANT(GDK_KEY_breve); + PRINT_CONSTANT(GDK_KEY_brokenbar); + PRINT_CONSTANT(GDK_KEY_c); + PRINT_CONSTANT(GDK_KEY_c_h); + PRINT_CONSTANT(GDK_KEY_cabovedot); + PRINT_CONSTANT(GDK_KEY_cacute); + PRINT_CONSTANT(GDK_KEY_careof); + PRINT_CONSTANT(GDK_KEY_caret); + PRINT_CONSTANT(GDK_KEY_caron); + PRINT_CONSTANT(GDK_KEY_ccaron); + PRINT_CONSTANT(GDK_KEY_ccedilla); + PRINT_CONSTANT(GDK_KEY_ccircumflex); + PRINT_CONSTANT(GDK_KEY_cedilla); + PRINT_CONSTANT(GDK_KEY_cent); + PRINT_CONSTANT(GDK_KEY_ch); + PRINT_CONSTANT(GDK_KEY_checkerboard); + PRINT_CONSTANT(GDK_KEY_checkmark); + PRINT_CONSTANT(GDK_KEY_circle); + PRINT_CONSTANT(GDK_KEY_club); + PRINT_CONSTANT(GDK_KEY_colon); + PRINT_CONSTANT(GDK_KEY_comma); + PRINT_CONSTANT(GDK_KEY_containsas); + PRINT_CONSTANT(GDK_KEY_copyright); + PRINT_CONSTANT(GDK_KEY_cr); + PRINT_CONSTANT(GDK_KEY_crossinglines); + PRINT_CONSTANT(GDK_KEY_cuberoot); + PRINT_CONSTANT(GDK_KEY_currency); + PRINT_CONSTANT(GDK_KEY_cursor); + PRINT_CONSTANT(GDK_KEY_d); + PRINT_CONSTANT(GDK_KEY_dabovedot); + PRINT_CONSTANT(GDK_KEY_dagger); + PRINT_CONSTANT(GDK_KEY_dcaron); + PRINT_CONSTANT(GDK_KEY_dead_A); + PRINT_CONSTANT(GDK_KEY_dead_E); + PRINT_CONSTANT(GDK_KEY_dead_I); + PRINT_CONSTANT(GDK_KEY_dead_O); + PRINT_CONSTANT(GDK_KEY_dead_U); + PRINT_CONSTANT(GDK_KEY_dead_a); + PRINT_CONSTANT(GDK_KEY_dead_abovecomma); + PRINT_CONSTANT(GDK_KEY_dead_abovedot); + PRINT_CONSTANT(GDK_KEY_dead_abovereversedcomma); + PRINT_CONSTANT(GDK_KEY_dead_abovering); + PRINT_CONSTANT(GDK_KEY_dead_aboveverticalline); + PRINT_CONSTANT(GDK_KEY_dead_acute); + PRINT_CONSTANT(GDK_KEY_dead_belowbreve); + PRINT_CONSTANT(GDK_KEY_dead_belowcircumflex); + PRINT_CONSTANT(GDK_KEY_dead_belowcomma); + PRINT_CONSTANT(GDK_KEY_dead_belowdiaeresis); + PRINT_CONSTANT(GDK_KEY_dead_belowdot); + PRINT_CONSTANT(GDK_KEY_dead_belowmacron); + PRINT_CONSTANT(GDK_KEY_dead_belowring); + PRINT_CONSTANT(GDK_KEY_dead_belowtilde); + PRINT_CONSTANT(GDK_KEY_dead_belowverticalline); + PRINT_CONSTANT(GDK_KEY_dead_breve); + PRINT_CONSTANT(GDK_KEY_dead_capital_schwa); + PRINT_CONSTANT(GDK_KEY_dead_caron); + PRINT_CONSTANT(GDK_KEY_dead_cedilla); + PRINT_CONSTANT(GDK_KEY_dead_circumflex); + PRINT_CONSTANT(GDK_KEY_dead_currency); + PRINT_CONSTANT(GDK_KEY_dead_dasia); + PRINT_CONSTANT(GDK_KEY_dead_diaeresis); + PRINT_CONSTANT(GDK_KEY_dead_doubleacute); + PRINT_CONSTANT(GDK_KEY_dead_doublegrave); + PRINT_CONSTANT(GDK_KEY_dead_e); + PRINT_CONSTANT(GDK_KEY_dead_grave); + PRINT_CONSTANT(GDK_KEY_dead_greek); + PRINT_CONSTANT(GDK_KEY_dead_hook); + PRINT_CONSTANT(GDK_KEY_dead_horn); + PRINT_CONSTANT(GDK_KEY_dead_i); + PRINT_CONSTANT(GDK_KEY_dead_invertedbreve); + PRINT_CONSTANT(GDK_KEY_dead_iota); + PRINT_CONSTANT(GDK_KEY_dead_longsolidusoverlay); + PRINT_CONSTANT(GDK_KEY_dead_lowline); + PRINT_CONSTANT(GDK_KEY_dead_macron); + PRINT_CONSTANT(GDK_KEY_dead_o); + PRINT_CONSTANT(GDK_KEY_dead_ogonek); + PRINT_CONSTANT(GDK_KEY_dead_perispomeni); + PRINT_CONSTANT(GDK_KEY_dead_psili); + PRINT_CONSTANT(GDK_KEY_dead_semivoiced_sound); + PRINT_CONSTANT(GDK_KEY_dead_small_schwa); + PRINT_CONSTANT(GDK_KEY_dead_stroke); + PRINT_CONSTANT(GDK_KEY_dead_tilde); + PRINT_CONSTANT(GDK_KEY_dead_u); + PRINT_CONSTANT(GDK_KEY_dead_voiced_sound); + PRINT_CONSTANT(GDK_KEY_decimalpoint); + PRINT_CONSTANT(GDK_KEY_degree); + PRINT_CONSTANT(GDK_KEY_diaeresis); + PRINT_CONSTANT(GDK_KEY_diamond); + PRINT_CONSTANT(GDK_KEY_digitspace); + PRINT_CONSTANT(GDK_KEY_dintegral); + PRINT_CONSTANT(GDK_KEY_division); + PRINT_CONSTANT(GDK_KEY_dollar); + PRINT_CONSTANT(GDK_KEY_doubbaselinedot); + PRINT_CONSTANT(GDK_KEY_doubleacute); + PRINT_CONSTANT(GDK_KEY_doubledagger); + PRINT_CONSTANT(GDK_KEY_doublelowquotemark); + PRINT_CONSTANT(GDK_KEY_downarrow); + PRINT_CONSTANT(GDK_KEY_downcaret); + PRINT_CONSTANT(GDK_KEY_downshoe); + PRINT_CONSTANT(GDK_KEY_downstile); + PRINT_CONSTANT(GDK_KEY_downtack); + PRINT_CONSTANT(GDK_KEY_dstroke); + PRINT_CONSTANT(GDK_KEY_e); + PRINT_CONSTANT(GDK_KEY_eabovedot); + PRINT_CONSTANT(GDK_KEY_eacute); + PRINT_CONSTANT(GDK_KEY_ebelowdot); + PRINT_CONSTANT(GDK_KEY_ecaron); + PRINT_CONSTANT(GDK_KEY_ecircumflex); + PRINT_CONSTANT(GDK_KEY_ecircumflexacute); + PRINT_CONSTANT(GDK_KEY_ecircumflexbelowdot); + PRINT_CONSTANT(GDK_KEY_ecircumflexgrave); + PRINT_CONSTANT(GDK_KEY_ecircumflexhook); + PRINT_CONSTANT(GDK_KEY_ecircumflextilde); + PRINT_CONSTANT(GDK_KEY_ediaeresis); + PRINT_CONSTANT(GDK_KEY_egrave); + PRINT_CONSTANT(GDK_KEY_ehook); + PRINT_CONSTANT(GDK_KEY_eightsubscript); + PRINT_CONSTANT(GDK_KEY_eightsuperior); + PRINT_CONSTANT(GDK_KEY_elementof); + PRINT_CONSTANT(GDK_KEY_ellipsis); + PRINT_CONSTANT(GDK_KEY_em3space); + PRINT_CONSTANT(GDK_KEY_em4space); + PRINT_CONSTANT(GDK_KEY_emacron); + PRINT_CONSTANT(GDK_KEY_emdash); + PRINT_CONSTANT(GDK_KEY_emfilledcircle); + PRINT_CONSTANT(GDK_KEY_emfilledrect); + PRINT_CONSTANT(GDK_KEY_emopencircle); + PRINT_CONSTANT(GDK_KEY_emopenrectangle); + PRINT_CONSTANT(GDK_KEY_emptyset); + PRINT_CONSTANT(GDK_KEY_emspace); + PRINT_CONSTANT(GDK_KEY_endash); + PRINT_CONSTANT(GDK_KEY_enfilledcircbullet); + PRINT_CONSTANT(GDK_KEY_enfilledsqbullet); + PRINT_CONSTANT(GDK_KEY_eng); + PRINT_CONSTANT(GDK_KEY_enopencircbullet); + PRINT_CONSTANT(GDK_KEY_enopensquarebullet); + PRINT_CONSTANT(GDK_KEY_enspace); + PRINT_CONSTANT(GDK_KEY_eogonek); + PRINT_CONSTANT(GDK_KEY_equal); + PRINT_CONSTANT(GDK_KEY_eth); + PRINT_CONSTANT(GDK_KEY_etilde); + PRINT_CONSTANT(GDK_KEY_exclam); + PRINT_CONSTANT(GDK_KEY_exclamdown); + PRINT_CONSTANT(GDK_KEY_ezh); + PRINT_CONSTANT(GDK_KEY_f); + PRINT_CONSTANT(GDK_KEY_fabovedot); + PRINT_CONSTANT(GDK_KEY_femalesymbol); + PRINT_CONSTANT(GDK_KEY_ff); + PRINT_CONSTANT(GDK_KEY_figdash); + PRINT_CONSTANT(GDK_KEY_filledlefttribullet); + PRINT_CONSTANT(GDK_KEY_filledrectbullet); + PRINT_CONSTANT(GDK_KEY_filledrighttribullet); + PRINT_CONSTANT(GDK_KEY_filledtribulletdown); + PRINT_CONSTANT(GDK_KEY_filledtribulletup); + PRINT_CONSTANT(GDK_KEY_fiveeighths); + PRINT_CONSTANT(GDK_KEY_fivesixths); + PRINT_CONSTANT(GDK_KEY_fivesubscript); + PRINT_CONSTANT(GDK_KEY_fivesuperior); + PRINT_CONSTANT(GDK_KEY_fourfifths); + PRINT_CONSTANT(GDK_KEY_foursubscript); + PRINT_CONSTANT(GDK_KEY_foursuperior); + PRINT_CONSTANT(GDK_KEY_fourthroot); + PRINT_CONSTANT(GDK_KEY_function); + PRINT_CONSTANT(GDK_KEY_g); + PRINT_CONSTANT(GDK_KEY_gabovedot); + PRINT_CONSTANT(GDK_KEY_gbreve); + PRINT_CONSTANT(GDK_KEY_gcaron); + PRINT_CONSTANT(GDK_KEY_gcedilla); + PRINT_CONSTANT(GDK_KEY_gcircumflex); + PRINT_CONSTANT(GDK_KEY_grave); + PRINT_CONSTANT(GDK_KEY_greater); + PRINT_CONSTANT(GDK_KEY_greaterthanequal); + PRINT_CONSTANT(GDK_KEY_guillemotleft); + PRINT_CONSTANT(GDK_KEY_guillemotright); + PRINT_CONSTANT(GDK_KEY_h); + PRINT_CONSTANT(GDK_KEY_hairspace); + PRINT_CONSTANT(GDK_KEY_hcircumflex); + PRINT_CONSTANT(GDK_KEY_heart); + PRINT_CONSTANT(GDK_KEY_hebrew_aleph); + PRINT_CONSTANT(GDK_KEY_hebrew_ayin); + PRINT_CONSTANT(GDK_KEY_hebrew_bet); + PRINT_CONSTANT(GDK_KEY_hebrew_beth); + PRINT_CONSTANT(GDK_KEY_hebrew_chet); + PRINT_CONSTANT(GDK_KEY_hebrew_dalet); + PRINT_CONSTANT(GDK_KEY_hebrew_daleth); + PRINT_CONSTANT(GDK_KEY_hebrew_doublelowline); + PRINT_CONSTANT(GDK_KEY_hebrew_finalkaph); + PRINT_CONSTANT(GDK_KEY_hebrew_finalmem); + PRINT_CONSTANT(GDK_KEY_hebrew_finalnun); + PRINT_CONSTANT(GDK_KEY_hebrew_finalpe); + PRINT_CONSTANT(GDK_KEY_hebrew_finalzade); + PRINT_CONSTANT(GDK_KEY_hebrew_finalzadi); + PRINT_CONSTANT(GDK_KEY_hebrew_gimel); + PRINT_CONSTANT(GDK_KEY_hebrew_gimmel); + PRINT_CONSTANT(GDK_KEY_hebrew_he); + PRINT_CONSTANT(GDK_KEY_hebrew_het); + PRINT_CONSTANT(GDK_KEY_hebrew_kaph); + PRINT_CONSTANT(GDK_KEY_hebrew_kuf); + PRINT_CONSTANT(GDK_KEY_hebrew_lamed); + PRINT_CONSTANT(GDK_KEY_hebrew_mem); + PRINT_CONSTANT(GDK_KEY_hebrew_nun); + PRINT_CONSTANT(GDK_KEY_hebrew_pe); + PRINT_CONSTANT(GDK_KEY_hebrew_qoph); + PRINT_CONSTANT(GDK_KEY_hebrew_resh); + PRINT_CONSTANT(GDK_KEY_hebrew_samech); + PRINT_CONSTANT(GDK_KEY_hebrew_samekh); + PRINT_CONSTANT(GDK_KEY_hebrew_shin); + PRINT_CONSTANT(GDK_KEY_hebrew_taf); + PRINT_CONSTANT(GDK_KEY_hebrew_taw); + PRINT_CONSTANT(GDK_KEY_hebrew_tet); + PRINT_CONSTANT(GDK_KEY_hebrew_teth); + PRINT_CONSTANT(GDK_KEY_hebrew_waw); + PRINT_CONSTANT(GDK_KEY_hebrew_yod); + PRINT_CONSTANT(GDK_KEY_hebrew_zade); + PRINT_CONSTANT(GDK_KEY_hebrew_zadi); + PRINT_CONSTANT(GDK_KEY_hebrew_zain); + PRINT_CONSTANT(GDK_KEY_hebrew_zayin); + PRINT_CONSTANT(GDK_KEY_hexagram); + PRINT_CONSTANT(GDK_KEY_horizconnector); + PRINT_CONSTANT(GDK_KEY_horizlinescan1); + PRINT_CONSTANT(GDK_KEY_horizlinescan3); + PRINT_CONSTANT(GDK_KEY_horizlinescan5); + PRINT_CONSTANT(GDK_KEY_horizlinescan7); + PRINT_CONSTANT(GDK_KEY_horizlinescan9); + PRINT_CONSTANT(GDK_KEY_hstroke); + PRINT_CONSTANT(GDK_KEY_ht); + PRINT_CONSTANT(GDK_KEY_hyphen); + PRINT_CONSTANT(GDK_KEY_i); + PRINT_CONSTANT(GDK_KEY_iTouch); + PRINT_CONSTANT(GDK_KEY_iacute); + PRINT_CONSTANT(GDK_KEY_ibelowdot); + PRINT_CONSTANT(GDK_KEY_ibreve); + PRINT_CONSTANT(GDK_KEY_icircumflex); + PRINT_CONSTANT(GDK_KEY_identical); + PRINT_CONSTANT(GDK_KEY_idiaeresis); + PRINT_CONSTANT(GDK_KEY_idotless); + PRINT_CONSTANT(GDK_KEY_ifonlyif); + PRINT_CONSTANT(GDK_KEY_igrave); + PRINT_CONSTANT(GDK_KEY_ihook); + PRINT_CONSTANT(GDK_KEY_imacron); + PRINT_CONSTANT(GDK_KEY_implies); + PRINT_CONSTANT(GDK_KEY_includedin); + PRINT_CONSTANT(GDK_KEY_includes); + PRINT_CONSTANT(GDK_KEY_infinity); + PRINT_CONSTANT(GDK_KEY_integral); + PRINT_CONSTANT(GDK_KEY_intersection); + PRINT_CONSTANT(GDK_KEY_iogonek); + PRINT_CONSTANT(GDK_KEY_itilde); + PRINT_CONSTANT(GDK_KEY_j); + PRINT_CONSTANT(GDK_KEY_jcircumflex); + PRINT_CONSTANT(GDK_KEY_jot); + PRINT_CONSTANT(GDK_KEY_k); + PRINT_CONSTANT(GDK_KEY_kana_A); + PRINT_CONSTANT(GDK_KEY_kana_CHI); + PRINT_CONSTANT(GDK_KEY_kana_E); + PRINT_CONSTANT(GDK_KEY_kana_FU); + PRINT_CONSTANT(GDK_KEY_kana_HA); + PRINT_CONSTANT(GDK_KEY_kana_HE); + PRINT_CONSTANT(GDK_KEY_kana_HI); + PRINT_CONSTANT(GDK_KEY_kana_HO); + PRINT_CONSTANT(GDK_KEY_kana_HU); + PRINT_CONSTANT(GDK_KEY_kana_I); + PRINT_CONSTANT(GDK_KEY_kana_KA); + PRINT_CONSTANT(GDK_KEY_kana_KE); + PRINT_CONSTANT(GDK_KEY_kana_KI); + PRINT_CONSTANT(GDK_KEY_kana_KO); + PRINT_CONSTANT(GDK_KEY_kana_KU); + PRINT_CONSTANT(GDK_KEY_kana_MA); + PRINT_CONSTANT(GDK_KEY_kana_ME); + PRINT_CONSTANT(GDK_KEY_kana_MI); + PRINT_CONSTANT(GDK_KEY_kana_MO); + PRINT_CONSTANT(GDK_KEY_kana_MU); + PRINT_CONSTANT(GDK_KEY_kana_N); + PRINT_CONSTANT(GDK_KEY_kana_NA); + PRINT_CONSTANT(GDK_KEY_kana_NE); + PRINT_CONSTANT(GDK_KEY_kana_NI); + PRINT_CONSTANT(GDK_KEY_kana_NO); + PRINT_CONSTANT(GDK_KEY_kana_NU); + PRINT_CONSTANT(GDK_KEY_kana_O); + PRINT_CONSTANT(GDK_KEY_kana_RA); + PRINT_CONSTANT(GDK_KEY_kana_RE); + PRINT_CONSTANT(GDK_KEY_kana_RI); + PRINT_CONSTANT(GDK_KEY_kana_RO); + PRINT_CONSTANT(GDK_KEY_kana_RU); + PRINT_CONSTANT(GDK_KEY_kana_SA); + PRINT_CONSTANT(GDK_KEY_kana_SE); + PRINT_CONSTANT(GDK_KEY_kana_SHI); + PRINT_CONSTANT(GDK_KEY_kana_SO); + PRINT_CONSTANT(GDK_KEY_kana_SU); + PRINT_CONSTANT(GDK_KEY_kana_TA); + PRINT_CONSTANT(GDK_KEY_kana_TE); + PRINT_CONSTANT(GDK_KEY_kana_TI); + PRINT_CONSTANT(GDK_KEY_kana_TO); + PRINT_CONSTANT(GDK_KEY_kana_TSU); + PRINT_CONSTANT(GDK_KEY_kana_TU); + PRINT_CONSTANT(GDK_KEY_kana_U); + PRINT_CONSTANT(GDK_KEY_kana_WA); + PRINT_CONSTANT(GDK_KEY_kana_WO); + PRINT_CONSTANT(GDK_KEY_kana_YA); + PRINT_CONSTANT(GDK_KEY_kana_YO); + PRINT_CONSTANT(GDK_KEY_kana_YU); + PRINT_CONSTANT(GDK_KEY_kana_a); + PRINT_CONSTANT(GDK_KEY_kana_closingbracket); + PRINT_CONSTANT(GDK_KEY_kana_comma); + PRINT_CONSTANT(GDK_KEY_kana_conjunctive); + PRINT_CONSTANT(GDK_KEY_kana_e); + PRINT_CONSTANT(GDK_KEY_kana_fullstop); + PRINT_CONSTANT(GDK_KEY_kana_i); + PRINT_CONSTANT(GDK_KEY_kana_middledot); + PRINT_CONSTANT(GDK_KEY_kana_o); + PRINT_CONSTANT(GDK_KEY_kana_openingbracket); + PRINT_CONSTANT(GDK_KEY_kana_switch); + PRINT_CONSTANT(GDK_KEY_kana_tsu); + PRINT_CONSTANT(GDK_KEY_kana_tu); + PRINT_CONSTANT(GDK_KEY_kana_u); + PRINT_CONSTANT(GDK_KEY_kana_ya); + PRINT_CONSTANT(GDK_KEY_kana_yo); + PRINT_CONSTANT(GDK_KEY_kana_yu); + PRINT_CONSTANT(GDK_KEY_kappa); + PRINT_CONSTANT(GDK_KEY_kcedilla); + PRINT_CONSTANT(GDK_KEY_kra); + PRINT_CONSTANT(GDK_KEY_l); + PRINT_CONSTANT(GDK_KEY_lacute); + PRINT_CONSTANT(GDK_KEY_latincross); + PRINT_CONSTANT(GDK_KEY_lbelowdot); + PRINT_CONSTANT(GDK_KEY_lcaron); + PRINT_CONSTANT(GDK_KEY_lcedilla); + PRINT_CONSTANT(GDK_KEY_leftanglebracket); + PRINT_CONSTANT(GDK_KEY_leftarrow); + PRINT_CONSTANT(GDK_KEY_leftcaret); + PRINT_CONSTANT(GDK_KEY_leftdoublequotemark); + PRINT_CONSTANT(GDK_KEY_leftmiddlecurlybrace); + PRINT_CONSTANT(GDK_KEY_leftopentriangle); + PRINT_CONSTANT(GDK_KEY_leftpointer); + PRINT_CONSTANT(GDK_KEY_leftradical); + PRINT_CONSTANT(GDK_KEY_leftshoe); + PRINT_CONSTANT(GDK_KEY_leftsinglequotemark); + PRINT_CONSTANT(GDK_KEY_leftt); + PRINT_CONSTANT(GDK_KEY_lefttack); + PRINT_CONSTANT(GDK_KEY_less); + PRINT_CONSTANT(GDK_KEY_lessthanequal); + PRINT_CONSTANT(GDK_KEY_lf); + PRINT_CONSTANT(GDK_KEY_logicaland); + PRINT_CONSTANT(GDK_KEY_logicalor); + PRINT_CONSTANT(GDK_KEY_lowleftcorner); + PRINT_CONSTANT(GDK_KEY_lowrightcorner); + PRINT_CONSTANT(GDK_KEY_lstroke); + PRINT_CONSTANT(GDK_KEY_m); + PRINT_CONSTANT(GDK_KEY_mabovedot); + PRINT_CONSTANT(GDK_KEY_macron); + PRINT_CONSTANT(GDK_KEY_malesymbol); + PRINT_CONSTANT(GDK_KEY_maltesecross); + PRINT_CONSTANT(GDK_KEY_marker); + PRINT_CONSTANT(GDK_KEY_masculine); + PRINT_CONSTANT(GDK_KEY_minus); + PRINT_CONSTANT(GDK_KEY_minutes); + PRINT_CONSTANT(GDK_KEY_mu); + PRINT_CONSTANT(GDK_KEY_multiply); + PRINT_CONSTANT(GDK_KEY_musicalflat); + PRINT_CONSTANT(GDK_KEY_musicalsharp); + PRINT_CONSTANT(GDK_KEY_n); + PRINT_CONSTANT(GDK_KEY_nabla); + PRINT_CONSTANT(GDK_KEY_nacute); + PRINT_CONSTANT(GDK_KEY_ncaron); + PRINT_CONSTANT(GDK_KEY_ncedilla); + PRINT_CONSTANT(GDK_KEY_ninesubscript); + PRINT_CONSTANT(GDK_KEY_ninesuperior); + PRINT_CONSTANT(GDK_KEY_nl); + PRINT_CONSTANT(GDK_KEY_nobreakspace); + PRINT_CONSTANT(GDK_KEY_notapproxeq); + PRINT_CONSTANT(GDK_KEY_notelementof); + PRINT_CONSTANT(GDK_KEY_notequal); + PRINT_CONSTANT(GDK_KEY_notidentical); + PRINT_CONSTANT(GDK_KEY_notsign); + PRINT_CONSTANT(GDK_KEY_ntilde); + PRINT_CONSTANT(GDK_KEY_numbersign); + PRINT_CONSTANT(GDK_KEY_numerosign); + PRINT_CONSTANT(GDK_KEY_o); + PRINT_CONSTANT(GDK_KEY_oacute); + PRINT_CONSTANT(GDK_KEY_obarred); + PRINT_CONSTANT(GDK_KEY_obelowdot); + PRINT_CONSTANT(GDK_KEY_ocaron); + PRINT_CONSTANT(GDK_KEY_ocircumflex); + PRINT_CONSTANT(GDK_KEY_ocircumflexacute); + PRINT_CONSTANT(GDK_KEY_ocircumflexbelowdot); + PRINT_CONSTANT(GDK_KEY_ocircumflexgrave); + PRINT_CONSTANT(GDK_KEY_ocircumflexhook); + PRINT_CONSTANT(GDK_KEY_ocircumflextilde); + PRINT_CONSTANT(GDK_KEY_odiaeresis); + PRINT_CONSTANT(GDK_KEY_odoubleacute); + PRINT_CONSTANT(GDK_KEY_oe); + PRINT_CONSTANT(GDK_KEY_ogonek); + PRINT_CONSTANT(GDK_KEY_ograve); + PRINT_CONSTANT(GDK_KEY_ohook); + PRINT_CONSTANT(GDK_KEY_ohorn); + PRINT_CONSTANT(GDK_KEY_ohornacute); + PRINT_CONSTANT(GDK_KEY_ohornbelowdot); + PRINT_CONSTANT(GDK_KEY_ohorngrave); + PRINT_CONSTANT(GDK_KEY_ohornhook); + PRINT_CONSTANT(GDK_KEY_ohorntilde); + PRINT_CONSTANT(GDK_KEY_omacron); + PRINT_CONSTANT(GDK_KEY_oneeighth); + PRINT_CONSTANT(GDK_KEY_onefifth); + PRINT_CONSTANT(GDK_KEY_onehalf); + PRINT_CONSTANT(GDK_KEY_onequarter); + PRINT_CONSTANT(GDK_KEY_onesixth); + PRINT_CONSTANT(GDK_KEY_onesubscript); + PRINT_CONSTANT(GDK_KEY_onesuperior); + PRINT_CONSTANT(GDK_KEY_onethird); + PRINT_CONSTANT(GDK_KEY_ooblique); + PRINT_CONSTANT(GDK_KEY_openrectbullet); + PRINT_CONSTANT(GDK_KEY_openstar); + PRINT_CONSTANT(GDK_KEY_opentribulletdown); + PRINT_CONSTANT(GDK_KEY_opentribulletup); + PRINT_CONSTANT(GDK_KEY_ordfeminine); + PRINT_CONSTANT(GDK_KEY_oslash); + PRINT_CONSTANT(GDK_KEY_otilde); + PRINT_CONSTANT(GDK_KEY_overbar); + PRINT_CONSTANT(GDK_KEY_overline); + PRINT_CONSTANT(GDK_KEY_p); + PRINT_CONSTANT(GDK_KEY_pabovedot); + PRINT_CONSTANT(GDK_KEY_paragraph); + PRINT_CONSTANT(GDK_KEY_parenleft); + PRINT_CONSTANT(GDK_KEY_parenright); + PRINT_CONSTANT(GDK_KEY_partdifferential); + PRINT_CONSTANT(GDK_KEY_partialderivative); + PRINT_CONSTANT(GDK_KEY_percent); + PRINT_CONSTANT(GDK_KEY_period); + PRINT_CONSTANT(GDK_KEY_periodcentered); + PRINT_CONSTANT(GDK_KEY_permille); + PRINT_CONSTANT(GDK_KEY_phonographcopyright); + PRINT_CONSTANT(GDK_KEY_plus); + PRINT_CONSTANT(GDK_KEY_plusminus); + PRINT_CONSTANT(GDK_KEY_prescription); + PRINT_CONSTANT(GDK_KEY_prolongedsound); + PRINT_CONSTANT(GDK_KEY_punctspace); + PRINT_CONSTANT(GDK_KEY_q); + PRINT_CONSTANT(GDK_KEY_quad); + PRINT_CONSTANT(GDK_KEY_question); + PRINT_CONSTANT(GDK_KEY_questiondown); + PRINT_CONSTANT(GDK_KEY_quotedbl); + PRINT_CONSTANT(GDK_KEY_quoteleft); + PRINT_CONSTANT(GDK_KEY_quoteright); + PRINT_CONSTANT(GDK_KEY_r); + PRINT_CONSTANT(GDK_KEY_racute); + PRINT_CONSTANT(GDK_KEY_radical); + PRINT_CONSTANT(GDK_KEY_rcaron); + PRINT_CONSTANT(GDK_KEY_rcedilla); + PRINT_CONSTANT(GDK_KEY_registered); + PRINT_CONSTANT(GDK_KEY_rightanglebracket); + PRINT_CONSTANT(GDK_KEY_rightarrow); + PRINT_CONSTANT(GDK_KEY_rightcaret); + PRINT_CONSTANT(GDK_KEY_rightdoublequotemark); + PRINT_CONSTANT(GDK_KEY_rightmiddlecurlybrace); + PRINT_CONSTANT(GDK_KEY_rightmiddlesummation); + PRINT_CONSTANT(GDK_KEY_rightopentriangle); + PRINT_CONSTANT(GDK_KEY_rightpointer); + PRINT_CONSTANT(GDK_KEY_rightshoe); + PRINT_CONSTANT(GDK_KEY_rightsinglequotemark); + PRINT_CONSTANT(GDK_KEY_rightt); + PRINT_CONSTANT(GDK_KEY_righttack); + PRINT_CONSTANT(GDK_KEY_s); + PRINT_CONSTANT(GDK_KEY_sabovedot); + PRINT_CONSTANT(GDK_KEY_sacute); + PRINT_CONSTANT(GDK_KEY_scaron); + PRINT_CONSTANT(GDK_KEY_scedilla); + PRINT_CONSTANT(GDK_KEY_schwa); + PRINT_CONSTANT(GDK_KEY_scircumflex); + PRINT_CONSTANT(GDK_KEY_script_switch); + PRINT_CONSTANT(GDK_KEY_seconds); + PRINT_CONSTANT(GDK_KEY_section); + PRINT_CONSTANT(GDK_KEY_semicolon); + PRINT_CONSTANT(GDK_KEY_semivoicedsound); + PRINT_CONSTANT(GDK_KEY_seveneighths); + PRINT_CONSTANT(GDK_KEY_sevensubscript); + PRINT_CONSTANT(GDK_KEY_sevensuperior); + PRINT_CONSTANT(GDK_KEY_signaturemark); + PRINT_CONSTANT(GDK_KEY_signifblank); + PRINT_CONSTANT(GDK_KEY_similarequal); + PRINT_CONSTANT(GDK_KEY_singlelowquotemark); + PRINT_CONSTANT(GDK_KEY_sixsubscript); + PRINT_CONSTANT(GDK_KEY_sixsuperior); + PRINT_CONSTANT(GDK_KEY_slash); + PRINT_CONSTANT(GDK_KEY_soliddiamond); + PRINT_CONSTANT(GDK_KEY_space); + PRINT_CONSTANT(GDK_KEY_squareroot); + PRINT_CONSTANT(GDK_KEY_ssharp); + PRINT_CONSTANT(GDK_KEY_sterling); + PRINT_CONSTANT(GDK_KEY_stricteq); + PRINT_CONSTANT(GDK_KEY_t); + PRINT_CONSTANT(GDK_KEY_tabovedot); + PRINT_CONSTANT(GDK_KEY_tcaron); + PRINT_CONSTANT(GDK_KEY_tcedilla); + PRINT_CONSTANT(GDK_KEY_telephone); + PRINT_CONSTANT(GDK_KEY_telephonerecorder); + PRINT_CONSTANT(GDK_KEY_therefore); + PRINT_CONSTANT(GDK_KEY_thinspace); + PRINT_CONSTANT(GDK_KEY_thorn); + PRINT_CONSTANT(GDK_KEY_threeeighths); + PRINT_CONSTANT(GDK_KEY_threefifths); + PRINT_CONSTANT(GDK_KEY_threequarters); + PRINT_CONSTANT(GDK_KEY_threesubscript); + PRINT_CONSTANT(GDK_KEY_threesuperior); + PRINT_CONSTANT(GDK_KEY_tintegral); + PRINT_CONSTANT(GDK_KEY_topintegral); + PRINT_CONSTANT(GDK_KEY_topleftparens); + PRINT_CONSTANT(GDK_KEY_topleftradical); + PRINT_CONSTANT(GDK_KEY_topleftsqbracket); + PRINT_CONSTANT(GDK_KEY_topleftsummation); + PRINT_CONSTANT(GDK_KEY_toprightparens); + PRINT_CONSTANT(GDK_KEY_toprightsqbracket); + PRINT_CONSTANT(GDK_KEY_toprightsummation); + PRINT_CONSTANT(GDK_KEY_topt); + PRINT_CONSTANT(GDK_KEY_topvertsummationconnector); + PRINT_CONSTANT(GDK_KEY_trademark); + PRINT_CONSTANT(GDK_KEY_trademarkincircle); + PRINT_CONSTANT(GDK_KEY_tslash); + PRINT_CONSTANT(GDK_KEY_twofifths); + PRINT_CONSTANT(GDK_KEY_twosubscript); + PRINT_CONSTANT(GDK_KEY_twosuperior); + PRINT_CONSTANT(GDK_KEY_twothirds); + PRINT_CONSTANT(GDK_KEY_u); + PRINT_CONSTANT(GDK_KEY_uacute); + PRINT_CONSTANT(GDK_KEY_ubelowdot); + PRINT_CONSTANT(GDK_KEY_ubreve); + PRINT_CONSTANT(GDK_KEY_ucircumflex); + PRINT_CONSTANT(GDK_KEY_udiaeresis); + PRINT_CONSTANT(GDK_KEY_udoubleacute); + PRINT_CONSTANT(GDK_KEY_ugrave); + PRINT_CONSTANT(GDK_KEY_uhook); + PRINT_CONSTANT(GDK_KEY_uhorn); + PRINT_CONSTANT(GDK_KEY_uhornacute); + PRINT_CONSTANT(GDK_KEY_uhornbelowdot); + PRINT_CONSTANT(GDK_KEY_uhorngrave); + PRINT_CONSTANT(GDK_KEY_uhornhook); + PRINT_CONSTANT(GDK_KEY_uhorntilde); + PRINT_CONSTANT(GDK_KEY_umacron); + PRINT_CONSTANT(GDK_KEY_underbar); + PRINT_CONSTANT(GDK_KEY_underscore); + PRINT_CONSTANT(GDK_KEY_union); + PRINT_CONSTANT(GDK_KEY_uogonek); + PRINT_CONSTANT(GDK_KEY_uparrow); + PRINT_CONSTANT(GDK_KEY_upcaret); + PRINT_CONSTANT(GDK_KEY_upleftcorner); + PRINT_CONSTANT(GDK_KEY_uprightcorner); + PRINT_CONSTANT(GDK_KEY_upshoe); + PRINT_CONSTANT(GDK_KEY_upstile); + PRINT_CONSTANT(GDK_KEY_uptack); + PRINT_CONSTANT(GDK_KEY_uring); + PRINT_CONSTANT(GDK_KEY_utilde); + PRINT_CONSTANT(GDK_KEY_v); + PRINT_CONSTANT(GDK_KEY_variation); + PRINT_CONSTANT(GDK_KEY_vertbar); + PRINT_CONSTANT(GDK_KEY_vertconnector); + PRINT_CONSTANT(GDK_KEY_voicedsound); + PRINT_CONSTANT(GDK_KEY_vt); + PRINT_CONSTANT(GDK_KEY_w); + PRINT_CONSTANT(GDK_KEY_wacute); + PRINT_CONSTANT(GDK_KEY_wcircumflex); + PRINT_CONSTANT(GDK_KEY_wdiaeresis); + PRINT_CONSTANT(GDK_KEY_wgrave); + PRINT_CONSTANT(GDK_KEY_x); + PRINT_CONSTANT(GDK_KEY_xabovedot); + PRINT_CONSTANT(GDK_KEY_y); + PRINT_CONSTANT(GDK_KEY_yacute); + PRINT_CONSTANT(GDK_KEY_ybelowdot); + PRINT_CONSTANT(GDK_KEY_ycircumflex); + PRINT_CONSTANT(GDK_KEY_ydiaeresis); + PRINT_CONSTANT(GDK_KEY_yen); + PRINT_CONSTANT(GDK_KEY_ygrave); + PRINT_CONSTANT(GDK_KEY_yhook); + PRINT_CONSTANT(GDK_KEY_ytilde); + PRINT_CONSTANT(GDK_KEY_z); + PRINT_CONSTANT(GDK_KEY_zabovedot); + PRINT_CONSTANT(GDK_KEY_zacute); + PRINT_CONSTANT(GDK_KEY_zcaron); + PRINT_CONSTANT(GDK_KEY_zerosubscript); + PRINT_CONSTANT(GDK_KEY_zerosuperior); + PRINT_CONSTANT(GDK_KEY_zstroke); + PRINT_CONSTANT((gint) GDK_LAST_CURSOR); + PRINT_CONSTANT((gint) GDK_LEAVE_NOTIFY); + PRINT_CONSTANT((guint) GDK_LEAVE_NOTIFY_MASK); + PRINT_CONSTANT((gint) GDK_LEFTBUTTON); + PRINT_CONSTANT((gint) GDK_LEFT_PTR); + PRINT_CONSTANT((gint) GDK_LEFT_SIDE); + PRINT_CONSTANT((gint) GDK_LEFT_TEE); + PRINT_CONSTANT((gint) GDK_LL_ANGLE); + PRINT_CONSTANT((guint) GDK_LOCK_MASK); + PRINT_CONSTANT((gint) GDK_LR_ANGLE); + PRINT_CONSTANT((gint) GDK_LSB_FIRST); + PRINT_CONSTANT(GDK_MAJOR_VERSION); + PRINT_CONSTANT((gint) GDK_MAN); + PRINT_CONSTANT((gint) GDK_MAP); + PRINT_CONSTANT(GDK_MAX_TIMECOORD_AXES); + PRINT_CONSTANT((guint) GDK_META_MASK); + PRINT_CONSTANT(GDK_MICRO_VERSION); + PRINT_CONSTANT((gint) GDK_MIDDLEBUTTON); + PRINT_CONSTANT(GDK_MINOR_VERSION); + PRINT_CONSTANT((guint) GDK_MOD1_MASK); + PRINT_CONSTANT((guint) GDK_MOD2_MASK); + PRINT_CONSTANT((guint) GDK_MOD3_MASK); + PRINT_CONSTANT((guint) GDK_MOD4_MASK); + PRINT_CONSTANT((guint) GDK_MOD5_MASK); + PRINT_CONSTANT((gint) GDK_MODE_DISABLED); + PRINT_CONSTANT((gint) GDK_MODE_SCREEN); + PRINT_CONSTANT((gint) GDK_MODE_WINDOW); + PRINT_CONSTANT((gint) GDK_MODIFIER_INTENT_CONTEXT_MENU); + PRINT_CONSTANT((gint) GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK); + PRINT_CONSTANT((gint) GDK_MODIFIER_INTENT_EXTEND_SELECTION); + PRINT_CONSTANT((gint) GDK_MODIFIER_INTENT_MODIFY_SELECTION); + PRINT_CONSTANT((gint) GDK_MODIFIER_INTENT_NO_TEXT_INPUT); + PRINT_CONSTANT((gint) GDK_MODIFIER_INTENT_PRIMARY_ACCELERATOR); + PRINT_CONSTANT((gint) GDK_MODIFIER_INTENT_SHIFT_GROUP); + PRINT_CONSTANT((guint) GDK_MODIFIER_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_13_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_14_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_15_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_16_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_17_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_18_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_19_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_20_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_21_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_22_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_23_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_24_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_25_MASK); + PRINT_CONSTANT((guint) GDK_MODIFIER_RESERVED_29_MASK); + PRINT_CONSTANT((gint) GDK_MOTION_NOTIFY); + PRINT_CONSTANT((gint) GDK_MOUSE); + PRINT_CONSTANT((gint) GDK_MSB_FIRST); + PRINT_CONSTANT((gint) GDK_NOTHING); + PRINT_CONSTANT((gint) GDK_NOTIFY_ANCESTOR); + PRINT_CONSTANT((gint) GDK_NOTIFY_INFERIOR); + PRINT_CONSTANT((gint) GDK_NOTIFY_NONLINEAR); + PRINT_CONSTANT((gint) GDK_NOTIFY_NONLINEAR_VIRTUAL); + PRINT_CONSTANT((gint) GDK_NOTIFY_UNKNOWN); + PRINT_CONSTANT((gint) GDK_NOTIFY_VIRTUAL); + PRINT_CONSTANT((gint) GDK_OK); + PRINT_CONSTANT((gint) GDK_OWNERSHIP_APPLICATION); + PRINT_CONSTANT((gint) GDK_OWNERSHIP_NONE); + PRINT_CONSTANT((gint) GDK_OWNERSHIP_WINDOW); + PRINT_CONSTANT((gint) GDK_OWNER_CHANGE); + PRINT_CONSTANT((gint) GDK_OWNER_CHANGE_CLOSE); + PRINT_CONSTANT((gint) GDK_OWNER_CHANGE_DESTROY); + PRINT_CONSTANT((gint) GDK_OWNER_CHANGE_NEW_OWNER); + PRINT_CONSTANT((gint) GDK_PAD_BUTTON_PRESS); + PRINT_CONSTANT((gint) GDK_PAD_BUTTON_RELEASE); + PRINT_CONSTANT((gint) GDK_PAD_GROUP_MODE); + PRINT_CONSTANT((gint) GDK_PAD_RING); + PRINT_CONSTANT((gint) GDK_PAD_STRIP); + PRINT_CONSTANT(GDK_PARENT_RELATIVE); + PRINT_CONSTANT((gint) GDK_PENCIL); + PRINT_CONSTANT((gint) GDK_PIRATE); + PRINT_CONSTANT((gint) GDK_PLUS); + PRINT_CONSTANT((guint) GDK_POINTER_MOTION_HINT_MASK); + PRINT_CONSTANT((guint) GDK_POINTER_MOTION_MASK); + PRINT_CONSTANT(GDK_PRIORITY_REDRAW); + PRINT_CONSTANT((guint) GDK_PROPERTY_CHANGE_MASK); + PRINT_CONSTANT((gint) GDK_PROPERTY_DELETE); + PRINT_CONSTANT((gint) GDK_PROPERTY_NEW_VALUE); + PRINT_CONSTANT((gint) GDK_PROPERTY_NOTIFY); + PRINT_CONSTANT((gint) GDK_PROP_MODE_APPEND); + PRINT_CONSTANT((gint) GDK_PROP_MODE_PREPEND); + PRINT_CONSTANT((gint) GDK_PROP_MODE_REPLACE); + PRINT_CONSTANT((gint) GDK_PROXIMITY_IN); + PRINT_CONSTANT((guint) GDK_PROXIMITY_IN_MASK); + PRINT_CONSTANT((gint) GDK_PROXIMITY_OUT); + PRINT_CONSTANT((guint) GDK_PROXIMITY_OUT_MASK); + PRINT_CONSTANT((gint) GDK_QUESTION_ARROW); + PRINT_CONSTANT((guint) GDK_RELEASE_MASK); + PRINT_CONSTANT((gint) GDK_RIGHTBUTTON); + PRINT_CONSTANT((gint) GDK_RIGHT_PTR); + PRINT_CONSTANT((gint) GDK_RIGHT_SIDE); + PRINT_CONSTANT((gint) GDK_RIGHT_TEE); + PRINT_CONSTANT((gint) GDK_RTL_LOGO); + PRINT_CONSTANT((gint) GDK_SAILBOAT); + PRINT_CONSTANT((gint) GDK_SB_DOWN_ARROW); + PRINT_CONSTANT((gint) GDK_SB_H_DOUBLE_ARROW); + PRINT_CONSTANT((gint) GDK_SB_LEFT_ARROW); + PRINT_CONSTANT((gint) GDK_SB_RIGHT_ARROW); + PRINT_CONSTANT((gint) GDK_SB_UP_ARROW); + PRINT_CONSTANT((gint) GDK_SB_V_DOUBLE_ARROW); + PRINT_CONSTANT((gint) GDK_SCROLL); + PRINT_CONSTANT((gint) GDK_SCROLL_DOWN); + PRINT_CONSTANT((gint) GDK_SCROLL_LEFT); + PRINT_CONSTANT((guint) GDK_SCROLL_MASK); + PRINT_CONSTANT((gint) GDK_SCROLL_RIGHT); + PRINT_CONSTANT((gint) GDK_SCROLL_SMOOTH); + PRINT_CONSTANT((gint) GDK_SCROLL_UP); + PRINT_CONSTANT((guint) GDK_SEAT_CAPABILITY_ALL); + PRINT_CONSTANT((guint) GDK_SEAT_CAPABILITY_ALL_POINTING); + PRINT_CONSTANT((guint) GDK_SEAT_CAPABILITY_KEYBOARD); + PRINT_CONSTANT((guint) GDK_SEAT_CAPABILITY_NONE); + PRINT_CONSTANT((guint) GDK_SEAT_CAPABILITY_POINTER); + PRINT_CONSTANT((guint) GDK_SEAT_CAPABILITY_TABLET_STYLUS); + PRINT_CONSTANT((guint) GDK_SEAT_CAPABILITY_TOUCH); + PRINT_CONSTANT((gint) GDK_SELECTION_CLEAR); + PRINT_CONSTANT((gint) GDK_SELECTION_NOTIFY); + PRINT_CONSTANT((gint) GDK_SELECTION_REQUEST); + PRINT_CONSTANT((gint) GDK_SETTING); + PRINT_CONSTANT((gint) GDK_SETTING_ACTION_CHANGED); + PRINT_CONSTANT((gint) GDK_SETTING_ACTION_DELETED); + PRINT_CONSTANT((gint) GDK_SETTING_ACTION_NEW); + PRINT_CONSTANT((guint) GDK_SHIFT_MASK); + PRINT_CONSTANT((gint) GDK_SHUTTLE); + PRINT_CONSTANT((gint) GDK_SIZING); + PRINT_CONSTANT((guint) GDK_SMOOTH_SCROLL_MASK); + PRINT_CONSTANT((gint) GDK_SOURCE_CURSOR); + PRINT_CONSTANT((gint) GDK_SOURCE_ERASER); + PRINT_CONSTANT((gint) GDK_SOURCE_KEYBOARD); + PRINT_CONSTANT((gint) GDK_SOURCE_MOUSE); + PRINT_CONSTANT((gint) GDK_SOURCE_PEN); + PRINT_CONSTANT((gint) GDK_SOURCE_TABLET_PAD); + PRINT_CONSTANT((gint) GDK_SOURCE_TOUCHPAD); + PRINT_CONSTANT((gint) GDK_SOURCE_TOUCHSCREEN); + PRINT_CONSTANT((gint) GDK_SOURCE_TRACKPOINT); + PRINT_CONSTANT((gint) GDK_SPIDER); + PRINT_CONSTANT((gint) GDK_SPRAYCAN); + PRINT_CONSTANT((gint) GDK_STAR); + PRINT_CONSTANT((guint) GDK_STRUCTURE_MASK); + PRINT_CONSTANT((gint) GDK_SUBPIXEL_LAYOUT_HORIZONTAL_BGR); + PRINT_CONSTANT((gint) GDK_SUBPIXEL_LAYOUT_HORIZONTAL_RGB); + PRINT_CONSTANT((gint) GDK_SUBPIXEL_LAYOUT_NONE); + PRINT_CONSTANT((gint) GDK_SUBPIXEL_LAYOUT_UNKNOWN); + PRINT_CONSTANT((gint) GDK_SUBPIXEL_LAYOUT_VERTICAL_BGR); + PRINT_CONSTANT((gint) GDK_SUBPIXEL_LAYOUT_VERTICAL_RGB); + PRINT_CONSTANT((guint) GDK_SUBSTRUCTURE_MASK); + PRINT_CONSTANT((guint) GDK_SUPER_MASK); + PRINT_CONSTANT((guint) GDK_TABLET_PAD_MASK); + PRINT_CONSTANT((gint) GDK_TARGET); + PRINT_CONSTANT((gint) GDK_TCROSS); + PRINT_CONSTANT((gint) GDK_TOP_LEFT_ARROW); + PRINT_CONSTANT((gint) GDK_TOP_LEFT_CORNER); + PRINT_CONSTANT((gint) GDK_TOP_RIGHT_CORNER); + PRINT_CONSTANT((gint) GDK_TOP_SIDE); + PRINT_CONSTANT((gint) GDK_TOP_TEE); + PRINT_CONSTANT((guint) GDK_TOUCHPAD_GESTURE_MASK); + PRINT_CONSTANT((gint) GDK_TOUCHPAD_GESTURE_PHASE_BEGIN); + PRINT_CONSTANT((gint) GDK_TOUCHPAD_GESTURE_PHASE_CANCEL); + PRINT_CONSTANT((gint) GDK_TOUCHPAD_GESTURE_PHASE_END); + PRINT_CONSTANT((gint) GDK_TOUCHPAD_GESTURE_PHASE_UPDATE); + PRINT_CONSTANT((gint) GDK_TOUCHPAD_PINCH); + PRINT_CONSTANT((gint) GDK_TOUCHPAD_SWIPE); + PRINT_CONSTANT((gint) GDK_TOUCH_BEGIN); + PRINT_CONSTANT((gint) GDK_TOUCH_CANCEL); + PRINT_CONSTANT((gint) GDK_TOUCH_END); + PRINT_CONSTANT((guint) GDK_TOUCH_MASK); + PRINT_CONSTANT((gint) GDK_TOUCH_UPDATE); + PRINT_CONSTANT((gint) GDK_TREK); + PRINT_CONSTANT((gint) GDK_TRIPLE_BUTTON_PRESS); + PRINT_CONSTANT((gint) GDK_UL_ANGLE); + PRINT_CONSTANT((gint) GDK_UMBRELLA); + PRINT_CONSTANT((gint) GDK_UNMAP); + PRINT_CONSTANT((gint) GDK_UR_ANGLE); + PRINT_CONSTANT((gint) GDK_VISIBILITY_FULLY_OBSCURED); + PRINT_CONSTANT((gint) GDK_VISIBILITY_NOTIFY); + PRINT_CONSTANT((guint) GDK_VISIBILITY_NOTIFY_MASK); + PRINT_CONSTANT((gint) GDK_VISIBILITY_PARTIAL); + PRINT_CONSTANT((gint) GDK_VISIBILITY_UNOBSCURED); + PRINT_CONSTANT((gint) GDK_VISUAL_DIRECT_COLOR); + PRINT_CONSTANT((gint) GDK_VISUAL_GRAYSCALE); + PRINT_CONSTANT((gint) GDK_VISUAL_PSEUDO_COLOR); + PRINT_CONSTANT((gint) GDK_VISUAL_STATIC_COLOR); + PRINT_CONSTANT((gint) GDK_VISUAL_STATIC_GRAY); + PRINT_CONSTANT((gint) GDK_VISUAL_TRUE_COLOR); + PRINT_CONSTANT((gint) GDK_WATCH); + PRINT_CONSTANT((guint) GDK_WA_CURSOR); + PRINT_CONSTANT((guint) GDK_WA_NOREDIR); + PRINT_CONSTANT((guint) GDK_WA_TITLE); + PRINT_CONSTANT((guint) GDK_WA_TYPE_HINT); + PRINT_CONSTANT((guint) GDK_WA_VISUAL); + PRINT_CONSTANT((guint) GDK_WA_WMCLASS); + PRINT_CONSTANT((guint) GDK_WA_X); + PRINT_CONSTANT((guint) GDK_WA_Y); + PRINT_CONSTANT((gint) GDK_WINDOW_CHILD); + PRINT_CONSTANT((gint) GDK_WINDOW_EDGE_EAST); + PRINT_CONSTANT((gint) GDK_WINDOW_EDGE_NORTH); + PRINT_CONSTANT((gint) GDK_WINDOW_EDGE_NORTH_EAST); + PRINT_CONSTANT((gint) GDK_WINDOW_EDGE_NORTH_WEST); + PRINT_CONSTANT((gint) GDK_WINDOW_EDGE_SOUTH); + PRINT_CONSTANT((gint) GDK_WINDOW_EDGE_SOUTH_EAST); + PRINT_CONSTANT((gint) GDK_WINDOW_EDGE_SOUTH_WEST); + PRINT_CONSTANT((gint) GDK_WINDOW_EDGE_WEST); + PRINT_CONSTANT((gint) GDK_WINDOW_FOREIGN); + PRINT_CONSTANT((gint) GDK_WINDOW_OFFSCREEN); + PRINT_CONSTANT((gint) GDK_WINDOW_ROOT); + PRINT_CONSTANT((gint) GDK_WINDOW_STATE); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_ABOVE); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_BELOW); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_BOTTOM_RESIZABLE); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_BOTTOM_TILED); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_FOCUSED); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_FULLSCREEN); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_ICONIFIED); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_LEFT_RESIZABLE); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_LEFT_TILED); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_MAXIMIZED); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_RIGHT_RESIZABLE); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_RIGHT_TILED); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_STICKY); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_TILED); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_TOP_RESIZABLE); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_TOP_TILED); + PRINT_CONSTANT((guint) GDK_WINDOW_STATE_WITHDRAWN); + PRINT_CONSTANT((gint) GDK_WINDOW_SUBSURFACE); + PRINT_CONSTANT((gint) GDK_WINDOW_TEMP); + PRINT_CONSTANT((gint) GDK_WINDOW_TOPLEVEL); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_COMBO); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_DESKTOP); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_DIALOG); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_DND); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_DOCK); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_MENU); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_NORMAL); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_NOTIFICATION); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_POPUP_MENU); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_SPLASHSCREEN); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_TOOLBAR); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_TOOLTIP); + PRINT_CONSTANT((gint) GDK_WINDOW_TYPE_HINT_UTILITY); + PRINT_CONSTANT((gint) GDK_XTERM); + PRINT_CONSTANT((gint) GDK_X_CURSOR); return 0; } diff --git a/gdk/sys/tests/layout.c b/gdk/sys/tests/layout.c index 45f2ef46113e..95134ec8c24b 100644 --- a/gdk/sys/tests/layout.c +++ b/gdk/sys/tests/layout.c @@ -7,6 +7,86 @@ #include int main() { - printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME)); + printf("%s;%zu;%zu\n", "GdkAnchorHints", sizeof(GdkAnchorHints), alignof(GdkAnchorHints)); + printf("%s;%zu;%zu\n", "GdkAxisFlags", sizeof(GdkAxisFlags), alignof(GdkAxisFlags)); + printf("%s;%zu;%zu\n", "GdkAxisUse", sizeof(GdkAxisUse), alignof(GdkAxisUse)); + printf("%s;%zu;%zu\n", "GdkByteOrder", sizeof(GdkByteOrder), alignof(GdkByteOrder)); + printf("%s;%zu;%zu\n", "GdkColor", sizeof(GdkColor), alignof(GdkColor)); + printf("%s;%zu;%zu\n", "GdkCrossingMode", sizeof(GdkCrossingMode), alignof(GdkCrossingMode)); + printf("%s;%zu;%zu\n", "GdkCursorType", sizeof(GdkCursorType), alignof(GdkCursorType)); + printf("%s;%zu;%zu\n", "GdkDevicePadFeature", sizeof(GdkDevicePadFeature), alignof(GdkDevicePadFeature)); + printf("%s;%zu;%zu\n", "GdkDeviceToolType", sizeof(GdkDeviceToolType), alignof(GdkDeviceToolType)); + printf("%s;%zu;%zu\n", "GdkDeviceType", sizeof(GdkDeviceType), alignof(GdkDeviceType)); + printf("%s;%zu;%zu\n", "GdkDragAction", sizeof(GdkDragAction), alignof(GdkDragAction)); + printf("%s;%zu;%zu\n", "GdkDragCancelReason", sizeof(GdkDragCancelReason), alignof(GdkDragCancelReason)); + printf("%s;%zu;%zu\n", "GdkDragProtocol", sizeof(GdkDragProtocol), alignof(GdkDragProtocol)); + printf("%s;%zu;%zu\n", "GdkEvent", sizeof(GdkEvent), alignof(GdkEvent)); + printf("%s;%zu;%zu\n", "GdkEventAny", sizeof(GdkEventAny), alignof(GdkEventAny)); + printf("%s;%zu;%zu\n", "GdkEventButton", sizeof(GdkEventButton), alignof(GdkEventButton)); + printf("%s;%zu;%zu\n", "GdkEventConfigure", sizeof(GdkEventConfigure), alignof(GdkEventConfigure)); + printf("%s;%zu;%zu\n", "GdkEventCrossing", sizeof(GdkEventCrossing), alignof(GdkEventCrossing)); + printf("%s;%zu;%zu\n", "GdkEventDND", sizeof(GdkEventDND), alignof(GdkEventDND)); + printf("%s;%zu;%zu\n", "GdkEventExpose", sizeof(GdkEventExpose), alignof(GdkEventExpose)); + printf("%s;%zu;%zu\n", "GdkEventFocus", sizeof(GdkEventFocus), alignof(GdkEventFocus)); + printf("%s;%zu;%zu\n", "GdkEventGrabBroken", sizeof(GdkEventGrabBroken), alignof(GdkEventGrabBroken)); + printf("%s;%zu;%zu\n", "GdkEventKey", sizeof(GdkEventKey), alignof(GdkEventKey)); + printf("%s;%zu;%zu\n", "GdkEventMask", sizeof(GdkEventMask), alignof(GdkEventMask)); + printf("%s;%zu;%zu\n", "GdkEventMotion", sizeof(GdkEventMotion), alignof(GdkEventMotion)); + printf("%s;%zu;%zu\n", "GdkEventOwnerChange", sizeof(GdkEventOwnerChange), alignof(GdkEventOwnerChange)); + printf("%s;%zu;%zu\n", "GdkEventPadAxis", sizeof(GdkEventPadAxis), alignof(GdkEventPadAxis)); + printf("%s;%zu;%zu\n", "GdkEventPadButton", sizeof(GdkEventPadButton), alignof(GdkEventPadButton)); + printf("%s;%zu;%zu\n", "GdkEventPadGroupMode", sizeof(GdkEventPadGroupMode), alignof(GdkEventPadGroupMode)); + printf("%s;%zu;%zu\n", "GdkEventProperty", sizeof(GdkEventProperty), alignof(GdkEventProperty)); + printf("%s;%zu;%zu\n", "GdkEventProximity", sizeof(GdkEventProximity), alignof(GdkEventProximity)); + printf("%s;%zu;%zu\n", "GdkEventScroll", sizeof(GdkEventScroll), alignof(GdkEventScroll)); + printf("%s;%zu;%zu\n", "GdkEventSelection", sizeof(GdkEventSelection), alignof(GdkEventSelection)); + printf("%s;%zu;%zu\n", "GdkEventSetting", sizeof(GdkEventSetting), alignof(GdkEventSetting)); + printf("%s;%zu;%zu\n", "GdkEventTouch", sizeof(GdkEventTouch), alignof(GdkEventTouch)); + printf("%s;%zu;%zu\n", "GdkEventTouchpadPinch", sizeof(GdkEventTouchpadPinch), alignof(GdkEventTouchpadPinch)); + printf("%s;%zu;%zu\n", "GdkEventTouchpadSwipe", sizeof(GdkEventTouchpadSwipe), alignof(GdkEventTouchpadSwipe)); + printf("%s;%zu;%zu\n", "GdkEventType", sizeof(GdkEventType), alignof(GdkEventType)); + printf("%s;%zu;%zu\n", "GdkEventVisibility", sizeof(GdkEventVisibility), alignof(GdkEventVisibility)); + printf("%s;%zu;%zu\n", "GdkEventWindowState", sizeof(GdkEventWindowState), alignof(GdkEventWindowState)); + printf("%s;%zu;%zu\n", "GdkFilterReturn", sizeof(GdkFilterReturn), alignof(GdkFilterReturn)); + printf("%s;%zu;%zu\n", "GdkFrameClockPhase", sizeof(GdkFrameClockPhase), alignof(GdkFrameClockPhase)); + printf("%s;%zu;%zu\n", "GdkFullscreenMode", sizeof(GdkFullscreenMode), alignof(GdkFullscreenMode)); + printf("%s;%zu;%zu\n", "GdkGLError", sizeof(GdkGLError), alignof(GdkGLError)); + printf("%s;%zu;%zu\n", "GdkGeometry", sizeof(GdkGeometry), alignof(GdkGeometry)); + printf("%s;%zu;%zu\n", "GdkGrabOwnership", sizeof(GdkGrabOwnership), alignof(GdkGrabOwnership)); + printf("%s;%zu;%zu\n", "GdkGrabStatus", sizeof(GdkGrabStatus), alignof(GdkGrabStatus)); + printf("%s;%zu;%zu\n", "GdkGravity", sizeof(GdkGravity), alignof(GdkGravity)); + printf("%s;%zu;%zu\n", "GdkInputMode", sizeof(GdkInputMode), alignof(GdkInputMode)); + printf("%s;%zu;%zu\n", "GdkInputSource", sizeof(GdkInputSource), alignof(GdkInputSource)); + printf("%s;%zu;%zu\n", "GdkKeymapKey", sizeof(GdkKeymapKey), alignof(GdkKeymapKey)); + printf("%s;%zu;%zu\n", "GdkModifierIntent", sizeof(GdkModifierIntent), alignof(GdkModifierIntent)); + printf("%s;%zu;%zu\n", "GdkModifierType", sizeof(GdkModifierType), alignof(GdkModifierType)); + printf("%s;%zu;%zu\n", "GdkNotifyType", sizeof(GdkNotifyType), alignof(GdkNotifyType)); + printf("%s;%zu;%zu\n", "GdkOwnerChange", sizeof(GdkOwnerChange), alignof(GdkOwnerChange)); + printf("%s;%zu;%zu\n", "GdkPoint", sizeof(GdkPoint), alignof(GdkPoint)); + printf("%s;%zu;%zu\n", "GdkPropMode", sizeof(GdkPropMode), alignof(GdkPropMode)); + printf("%s;%zu;%zu\n", "GdkPropertyState", sizeof(GdkPropertyState), alignof(GdkPropertyState)); + printf("%s;%zu;%zu\n", "GdkRGBA", sizeof(GdkRGBA), alignof(GdkRGBA)); + printf("%s;%zu;%zu\n", "GdkRectangle", sizeof(GdkRectangle), alignof(GdkRectangle)); + printf("%s;%zu;%zu\n", "GdkScrollDirection", sizeof(GdkScrollDirection), alignof(GdkScrollDirection)); + printf("%s;%zu;%zu\n", "GdkSeat", sizeof(GdkSeat), alignof(GdkSeat)); + printf("%s;%zu;%zu\n", "GdkSeatCapabilities", sizeof(GdkSeatCapabilities), alignof(GdkSeatCapabilities)); + printf("%s;%zu;%zu\n", "GdkSettingAction", sizeof(GdkSettingAction), alignof(GdkSettingAction)); + printf("%s;%zu;%zu\n", "GdkStatus", sizeof(GdkStatus), alignof(GdkStatus)); + printf("%s;%zu;%zu\n", "GdkSubpixelLayout", sizeof(GdkSubpixelLayout), alignof(GdkSubpixelLayout)); + printf("%s;%zu;%zu\n", "GdkTimeCoord", sizeof(GdkTimeCoord), alignof(GdkTimeCoord)); + printf("%s;%zu;%zu\n", "GdkTouchpadGesturePhase", sizeof(GdkTouchpadGesturePhase), alignof(GdkTouchpadGesturePhase)); + printf("%s;%zu;%zu\n", "GdkVisibilityState", sizeof(GdkVisibilityState), alignof(GdkVisibilityState)); + printf("%s;%zu;%zu\n", "GdkVisualType", sizeof(GdkVisualType), alignof(GdkVisualType)); + printf("%s;%zu;%zu\n", "GdkWMDecoration", sizeof(GdkWMDecoration), alignof(GdkWMDecoration)); + printf("%s;%zu;%zu\n", "GdkWMFunction", sizeof(GdkWMFunction), alignof(GdkWMFunction)); + printf("%s;%zu;%zu\n", "GdkWindowAttr", sizeof(GdkWindowAttr), alignof(GdkWindowAttr)); + printf("%s;%zu;%zu\n", "GdkWindowAttributesType", sizeof(GdkWindowAttributesType), alignof(GdkWindowAttributesType)); + printf("%s;%zu;%zu\n", "GdkWindowClass", sizeof(GdkWindowClass), alignof(GdkWindowClass)); + printf("%s;%zu;%zu\n", "GdkWindowEdge", sizeof(GdkWindowEdge), alignof(GdkWindowEdge)); + printf("%s;%zu;%zu\n", "GdkWindowHints", sizeof(GdkWindowHints), alignof(GdkWindowHints)); + printf("%s;%zu;%zu\n", "GdkWindowState", sizeof(GdkWindowState), alignof(GdkWindowState)); + printf("%s;%zu;%zu\n", "GdkWindowType", sizeof(GdkWindowType), alignof(GdkWindowType)); + printf("%s;%zu;%zu\n", "GdkWindowTypeHint", sizeof(GdkWindowTypeHint), alignof(GdkWindowTypeHint)); + printf("%s;%zu;%zu\n", "GdkWindowWindowClass", sizeof(GdkWindowWindowClass), alignof(GdkWindowWindowClass)); return 0; } diff --git a/gdk/sys/versions.txt b/gdk/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gdk/sys/versions.txt +++ b/gdk/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gdkx11/src/auto/versions.txt b/gdkx11/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gdkx11/src/auto/versions.txt +++ b/gdkx11/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gdkx11/src/auto/x11_app_launch_context.rs b/gdkx11/src/auto/x11_app_launch_context.rs index 78d2560375b0..711f80807eec 100644 --- a/gdkx11/src/auto/x11_app_launch_context.rs +++ b/gdkx11/src/auto/x11_app_launch_context.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/gdkx11/src/auto/x11_device_core.rs b/gdkx11/src/auto/x11_device_core.rs index 452893b08ff1..1804edaeff7e 100644 --- a/gdkx11/src/auto/x11_device_core.rs +++ b/gdkx11/src/auto/x11_device_core.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/gdkx11/src/auto/x11_device_manager_core.rs b/gdkx11/src/auto/x11_device_manager_core.rs index f24727eac06a..37b7cfcbc15b 100644 --- a/gdkx11/src/auto/x11_device_manager_core.rs +++ b/gdkx11/src/auto/x11_device_manager_core.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/gdkx11/src/auto/x11_display_manager.rs b/gdkx11/src/auto/x11_display_manager.rs index cee0875f1967..b6df4e291f36 100644 --- a/gdkx11/src/auto/x11_display_manager.rs +++ b/gdkx11/src/auto/x11_display_manager.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/gdkx11/src/auto/x11_drag_context.rs b/gdkx11/src/auto/x11_drag_context.rs index c396321ea9c3..ae27d48d8647 100644 --- a/gdkx11/src/auto/x11_drag_context.rs +++ b/gdkx11/src/auto/x11_drag_context.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/gdkx11/src/auto/x11_visual.rs b/gdkx11/src/auto/x11_visual.rs index 26e327a90778..063910f849ba 100644 --- a/gdkx11/src/auto/x11_visual.rs +++ b/gdkx11/src/auto/x11_visual.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/gdkx11/src/auto/x11gl_context.rs b/gdkx11/src/auto/x11gl_context.rs index 42b99437b5fe..6a8b744d0d28 100644 --- a/gdkx11/src/auto/x11gl_context.rs +++ b/gdkx11/src/auto/x11gl_context.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/gdkx11/sys/versions.txt b/gdkx11/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gdkx11/sys/versions.txt +++ b/gdkx11/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gio/src/auto/dbus_arg_info.rs b/gio/src/auto/dbus_arg_info.rs index 7d9ca0cf008d..01692f5658ed 100644 --- a/gio/src/auto/dbus_arg_info.rs +++ b/gio/src/auto/dbus_arg_info.rs @@ -2,8 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; - glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct DBusArgInfo(Shared); diff --git a/gio/src/auto/dbus_method_info.rs b/gio/src/auto/dbus_method_info.rs index 5cf8e8095ce4..277d7521cdd7 100644 --- a/gio/src/auto/dbus_method_info.rs +++ b/gio/src/auto/dbus_method_info.rs @@ -2,8 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; - glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct DBusMethodInfo(Shared); diff --git a/gio/src/auto/dbus_property_info.rs b/gio/src/auto/dbus_property_info.rs index 5779c693623e..bac420e4afb0 100644 --- a/gio/src/auto/dbus_property_info.rs +++ b/gio/src/auto/dbus_property_info.rs @@ -2,8 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; - glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct DBusPropertyInfo(Shared); diff --git a/gio/src/auto/dbus_signal_info.rs b/gio/src/auto/dbus_signal_info.rs index 661b6af607bc..2a479b59390e 100644 --- a/gio/src/auto/dbus_signal_info.rs +++ b/gio/src/auto/dbus_signal_info.rs @@ -2,8 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; - glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct DBusSignalInfo(Shared); diff --git a/gio/src/auto/list_model.rs b/gio/src/auto/list_model.rs index d1df5dd2ec7f..cb0bc062ad4f 100644 --- a/gio/src/auto/list_model.rs +++ b/gio/src/auto/list_model.rs @@ -12,6 +12,8 @@ use glib::signal::connect_raw; #[cfg(any(feature = "v2_44", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_44")))] use glib::signal::SignalHandlerId; +#[cfg(any(feature = "v2_44", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_44")))] use glib::translate::*; #[cfg(any(feature = "v2_44", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_44")))] diff --git a/gio/src/auto/list_store.rs b/gio/src/auto/list_store.rs index c467ab2eee39..d957252bbeb2 100644 --- a/gio/src/auto/list_store.rs +++ b/gio/src/auto/list_store.rs @@ -7,6 +7,8 @@ use glib::object::Cast; #[cfg(any(feature = "v2_44", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_44")))] use glib::object::IsA; +#[cfg(any(feature = "v2_44", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_44")))] use glib::translate::*; use glib::StaticType; use glib::ToValue; diff --git a/gio/src/auto/memory_monitor.rs b/gio/src/auto/memory_monitor.rs index 5c5e2483ef9c..13156da5ac05 100644 --- a/gio/src/auto/memory_monitor.rs +++ b/gio/src/auto/memory_monitor.rs @@ -15,6 +15,8 @@ use glib::signal::connect_raw; #[cfg(any(feature = "v2_64", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_64")))] use glib::signal::SignalHandlerId; +#[cfg(any(feature = "v2_64", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_64")))] use glib::translate::*; #[cfg(any(feature = "v2_64", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_64")))] diff --git a/gio/src/auto/simple_io_stream.rs b/gio/src/auto/simple_io_stream.rs index 78e2cf51a190..4bd4d47d99d0 100644 --- a/gio/src/auto/simple_io_stream.rs +++ b/gio/src/auto/simple_io_stream.rs @@ -15,6 +15,8 @@ use glib::object::Cast; #[cfg(any(feature = "v2_44", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_44")))] use glib::object::IsA; +#[cfg(any(feature = "v2_44", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_44")))] use glib::translate::*; use std::fmt; diff --git a/gio/src/auto/versions.txt b/gio/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gio/src/auto/versions.txt +++ b/gio/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gio/sys/tests/abi.rs b/gio/sys/tests/abi.rs index fd51450a21b2..5ffdf1888243 100644 --- a/gio/sys/tests/abi.rs +++ b/gio/sys/tests/abi.rs @@ -5,6 +5,7 @@ use gio_sys::*; use std::env; use std::error::Error; +use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; use std::process::Command; @@ -22,6 +23,8 @@ impl Compiler { pub fn new() -> Result> { let mut args = get_var("CC", "cc")?; args.push("-Wno-deprecated-declarations".to_owned()); + // For _Generic + args.push("-std=c11".to_owned()); // For %z support in printf when using MinGW. args.push("-D__USE_MINGW_ANSI_STDIO".to_owned()); args.extend(get_var("CFLAGS", "")?); @@ -30,14 +33,6 @@ impl Compiler { Ok(Compiler { args }) } - pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { - let arg = match val.into() { - None => format!("-D{}", var), - Some(val) => format!("-D{}={}", var, val), - }; - self.args.push(arg); - } - pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box> { let mut cmd = self.to_command(); cmd.arg(src); @@ -69,7 +64,8 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { if packages.is_empty() { return Ok(Vec::new()); } - let mut cmd = Command::new("pkg-config"); + let pkg_config = env::var_os("PKG_CONFIG").unwrap_or_else(|| OsString::from("pkg-config")); + let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); let out = cmd.output()?; @@ -92,8 +88,6 @@ struct Results { passed: usize, /// Total number of failed tests (including those that failed to compile). failed: usize, - /// Number of tests that failed to compile. - failed_to_compile: usize, } impl Results { @@ -103,15 +97,8 @@ impl Results { fn record_failed(&mut self) { self.failed += 1; } - fn record_failed_to_compile(&mut self) { - self.failed += 1; - self.failed_to_compile += 1; - } fn summary(&self) -> String { - format!( - "{} passed; {} failed (compilation errors: {})", - self.passed, self.failed, self.failed_to_compile - ) + format!("{} passed; {} failed", self.passed, self.failed) } fn expect_total_success(&self) { if self.failed == 0 { @@ -124,111 +111,94 @@ impl Results { #[test] fn cross_validate_constants_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_constants: Vec<(String, String)> = Vec::new(); - assert_eq!( - "1", - get_c_value(tmpdir.path(), &cc, "1").expect("C constant"), - "failed to obtain correct constant value for 1" - ); + for l in get_c_output("constant").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let value = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse value"); + c_constants.push((name, value)); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() { - match get_c_value(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(ref c_value) => { - if rust_value == c_value { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_value, c_value - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("constants ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_value), (c_name, c_value)) in + RUST_CONSTANTS.iter().zip(c_constants.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; + } + + if rust_value != c_value { + results.record_failed(); + eprintln!( + "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_value, &c_value + ); + continue; } + + results.record_passed(); } + results.expect_total_success(); } #[test] fn cross_validate_layout_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_layouts = Vec::new(); - assert_eq!( - Layout { - size: 1, - alignment: 1 - }, - get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"), - "failed to obtain correct layout for char type" - ); + for l in get_c_output("layout").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let size = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse size"); + let alignment = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse alignment"); + c_layouts.push((name, Layout { size, alignment })); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() { - match get_c_layout(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(c_layout) => { - if rust_layout == c_layout { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Layout mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_layout, &c_layout - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("layout ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_layout), (c_name, c_layout)) in RUST_LAYOUTS.iter().zip(c_layouts.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; } - } - results.expect_total_success(); -} -fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("layout"); - let mut cc = cc.clone(); - cc.define("ABI_TYPE_NAME", name); - cc.compile(Path::new("tests/layout.c"), &exe)?; + if rust_layout != c_layout { + results.record_failed(); + eprintln!( + "Layout mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_layout, &c_layout + ); + continue; + } - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into()); + results.record_passed(); } - let stdout = str::from_utf8(&output.stdout)?; - let mut words = stdout.trim().split_whitespace(); - let size = words.next().unwrap().parse().unwrap(); - let alignment = words.next().unwrap().parse().unwrap(); - Ok(Layout { size, alignment }) + results.expect_total_success(); } -fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("constant"); - let mut cc = cc.clone(); - cc.define("ABI_CONSTANT_NAME", name); - cc.compile(Path::new("tests/constant.c"), &exe)?; +fn get_c_output(name: &str) -> Result> { + let tmpdir = Builder::new().prefix("abi").tempdir()?; + let exe = tmpdir.path().join(name); + let c_file = Path::new("tests").join(name).with_extension("c"); + + let cc = Compiler::new().expect("configured compiler"); + cc.compile(&c_file, &exe)?; let mut abi_cmd = Command::new(exe); let output = abi_cmd.output()?; @@ -236,16 +206,7 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result +#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", \ + double: "%f", \ + long double: "%ld"), \ + CONSTANT_NAME); \ + printf("\n"); + int main() { - printf(_Generic((ABI_CONSTANT_NAME), - char *: "###gir test###%s###gir test###\n", - const char *: "###gir test###%s###gir test###\n", - char: "###gir test###%c###gir test###\n", - signed char: "###gir test###%hhd###gir test###\n", - unsigned char: "###gir test###%hhu###gir test###\n", - short int: "###gir test###%hd###gir test###\n", - unsigned short int: "###gir test###%hu###gir test###\n", - int: "###gir test###%d###gir test###\n", - unsigned int: "###gir test###%u###gir test###\n", - long: "###gir test###%ld###gir test###\n", - unsigned long: "###gir test###%lu###gir test###\n", - long long: "###gir test###%lld###gir test###\n", - unsigned long long: "###gir test###%llu###gir test###\n", - double: "###gir test###%f###gir test###\n", - long double: "###gir test###%ld###gir test###\n"), - ABI_CONSTANT_NAME); + PRINT_CONSTANT((guint) G_APPLICATION_ALLOW_REPLACEMENT); + PRINT_CONSTANT((guint) G_APPLICATION_CAN_OVERRIDE_APP_ID); + PRINT_CONSTANT((guint) G_APPLICATION_FLAGS_NONE); + PRINT_CONSTANT((guint) G_APPLICATION_HANDLES_COMMAND_LINE); + PRINT_CONSTANT((guint) G_APPLICATION_HANDLES_OPEN); + PRINT_CONSTANT((guint) G_APPLICATION_IS_LAUNCHER); + PRINT_CONSTANT((guint) G_APPLICATION_IS_SERVICE); + PRINT_CONSTANT((guint) G_APPLICATION_NON_UNIQUE); + PRINT_CONSTANT((guint) G_APPLICATION_REPLACE); + PRINT_CONSTANT((guint) G_APPLICATION_SEND_ENVIRONMENT); + PRINT_CONSTANT((guint) G_APP_INFO_CREATE_NEEDS_TERMINAL); + PRINT_CONSTANT((guint) G_APP_INFO_CREATE_NONE); + PRINT_CONSTANT((guint) G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION); + PRINT_CONSTANT((guint) G_APP_INFO_CREATE_SUPPORTS_URIS); + PRINT_CONSTANT((guint) G_ASK_PASSWORD_ANONYMOUS_SUPPORTED); + PRINT_CONSTANT((guint) G_ASK_PASSWORD_NEED_DOMAIN); + PRINT_CONSTANT((guint) G_ASK_PASSWORD_NEED_PASSWORD); + PRINT_CONSTANT((guint) G_ASK_PASSWORD_NEED_USERNAME); + PRINT_CONSTANT((guint) G_ASK_PASSWORD_SAVING_SUPPORTED); + PRINT_CONSTANT((guint) G_ASK_PASSWORD_TCRYPT); + PRINT_CONSTANT((guint) G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT); + PRINT_CONSTANT((guint) G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE); + PRINT_CONSTANT((guint) G_BUS_NAME_OWNER_FLAGS_NONE); + PRINT_CONSTANT((guint) G_BUS_NAME_OWNER_FLAGS_REPLACE); + PRINT_CONSTANT((guint) G_BUS_NAME_WATCHER_FLAGS_AUTO_START); + PRINT_CONSTANT((guint) G_BUS_NAME_WATCHER_FLAGS_NONE); + PRINT_CONSTANT((gint) G_BUS_TYPE_NONE); + PRINT_CONSTANT((gint) G_BUS_TYPE_SESSION); + PRINT_CONSTANT((gint) G_BUS_TYPE_STARTER); + PRINT_CONSTANT((gint) G_BUS_TYPE_SYSTEM); + PRINT_CONSTANT((gint) G_CONVERTER_CONVERTED); + PRINT_CONSTANT((gint) G_CONVERTER_ERROR); + PRINT_CONSTANT((gint) G_CONVERTER_FINISHED); + PRINT_CONSTANT((guint) G_CONVERTER_FLUSH); + PRINT_CONSTANT((gint) G_CONVERTER_FLUSHED); + PRINT_CONSTANT((guint) G_CONVERTER_INPUT_AT_END); + PRINT_CONSTANT((guint) G_CONVERTER_NO_FLAGS); + PRINT_CONSTANT((gint) G_CREDENTIALS_TYPE_APPLE_XUCRED); + PRINT_CONSTANT((gint) G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED); + PRINT_CONSTANT((gint) G_CREDENTIALS_TYPE_INVALID); + PRINT_CONSTANT((gint) G_CREDENTIALS_TYPE_LINUX_UCRED); + PRINT_CONSTANT((gint) G_CREDENTIALS_TYPE_NETBSD_UNPCBID); + PRINT_CONSTANT((gint) G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED); + PRINT_CONSTANT((gint) G_CREDENTIALS_TYPE_SOLARIS_UCRED); + PRINT_CONSTANT((gint) G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN); + PRINT_CONSTANT((gint) G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN); + PRINT_CONSTANT((gint) G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN); + PRINT_CONSTANT((gint) G_DATA_STREAM_NEWLINE_TYPE_ANY); + PRINT_CONSTANT((gint) G_DATA_STREAM_NEWLINE_TYPE_CR); + PRINT_CONSTANT((gint) G_DATA_STREAM_NEWLINE_TYPE_CR_LF); + PRINT_CONSTANT((gint) G_DATA_STREAM_NEWLINE_TYPE_LF); + PRINT_CONSTANT((guint) G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION); + PRINT_CONSTANT((guint) G_DBUS_CALL_FLAGS_NONE); + PRINT_CONSTANT((guint) G_DBUS_CALL_FLAGS_NO_AUTO_START); + PRINT_CONSTANT((guint) G_DBUS_CAPABILITY_FLAGS_NONE); + PRINT_CONSTANT((guint) G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING); + PRINT_CONSTANT((guint) G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS); + PRINT_CONSTANT((guint) G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT); + PRINT_CONSTANT((guint) G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER); + PRINT_CONSTANT((guint) G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING); + PRINT_CONSTANT((guint) G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION); + PRINT_CONSTANT((guint) G_DBUS_CONNECTION_FLAGS_NONE); + PRINT_CONSTANT((gint) G_DBUS_ERROR_ACCESS_DENIED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_ADDRESS_IN_USE); + PRINT_CONSTANT((gint) G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN); + PRINT_CONSTANT((gint) G_DBUS_ERROR_AUTH_FAILED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_BAD_ADDRESS); + PRINT_CONSTANT((gint) G_DBUS_ERROR_DISCONNECTED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_FAILED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_FILE_EXISTS); + PRINT_CONSTANT((gint) G_DBUS_ERROR_FILE_NOT_FOUND); + PRINT_CONSTANT((gint) G_DBUS_ERROR_INVALID_ARGS); + PRINT_CONSTANT((gint) G_DBUS_ERROR_INVALID_FILE_CONTENT); + PRINT_CONSTANT((gint) G_DBUS_ERROR_INVALID_SIGNATURE); + PRINT_CONSTANT((gint) G_DBUS_ERROR_IO_ERROR); + PRINT_CONSTANT((gint) G_DBUS_ERROR_LIMITS_EXCEEDED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_MATCH_RULE_INVALID); + PRINT_CONSTANT((gint) G_DBUS_ERROR_MATCH_RULE_NOT_FOUND); + PRINT_CONSTANT((gint) G_DBUS_ERROR_NAME_HAS_NO_OWNER); + PRINT_CONSTANT((gint) G_DBUS_ERROR_NOT_SUPPORTED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_NO_MEMORY); + PRINT_CONSTANT((gint) G_DBUS_ERROR_NO_NETWORK); + PRINT_CONSTANT((gint) G_DBUS_ERROR_NO_REPLY); + PRINT_CONSTANT((gint) G_DBUS_ERROR_NO_SERVER); + PRINT_CONSTANT((gint) G_DBUS_ERROR_OBJECT_PATH_IN_USE); + PRINT_CONSTANT((gint) G_DBUS_ERROR_PROPERTY_READ_ONLY); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SERVICE_UNKNOWN); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_CHILD_EXITED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_CHILD_SIGNALED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_CONFIG_INVALID); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_EXEC_FAILED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_FAILED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_FILE_INVALID); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_FORK_FAILED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_NO_MEMORY); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_SERVICE_INVALID); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND); + PRINT_CONSTANT((gint) G_DBUS_ERROR_SPAWN_SETUP_FAILED); + PRINT_CONSTANT((gint) G_DBUS_ERROR_TIMED_OUT); + PRINT_CONSTANT((gint) G_DBUS_ERROR_TIMEOUT); + PRINT_CONSTANT((gint) G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN); + PRINT_CONSTANT((gint) G_DBUS_ERROR_UNKNOWN_INTERFACE); + PRINT_CONSTANT((gint) G_DBUS_ERROR_UNKNOWN_METHOD); + PRINT_CONSTANT((gint) G_DBUS_ERROR_UNKNOWN_OBJECT); + PRINT_CONSTANT((gint) G_DBUS_ERROR_UNKNOWN_PROPERTY); + PRINT_CONSTANT((guint) G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD); + PRINT_CONSTANT((guint) G_DBUS_INTERFACE_SKELETON_FLAGS_NONE); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN); + PRINT_CONSTANT((guint) G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION); + PRINT_CONSTANT((guint) G_DBUS_MESSAGE_FLAGS_NONE); + PRINT_CONSTANT((guint) G_DBUS_MESSAGE_FLAGS_NO_AUTO_START); + PRINT_CONSTANT((guint) G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_INVALID); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_MEMBER); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_PATH); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_SENDER); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_TYPE_ERROR); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_TYPE_INVALID); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_TYPE_METHOD_CALL); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_TYPE_METHOD_RETURN); + PRINT_CONSTANT((gint) G_DBUS_MESSAGE_TYPE_SIGNAL); + PRINT_CONSTANT((guint) G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START); + PRINT_CONSTANT((guint) G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE); + PRINT_CONSTANT((guint) G_DBUS_PROPERTY_INFO_FLAGS_NONE); + PRINT_CONSTANT((guint) G_DBUS_PROPERTY_INFO_FLAGS_READABLE); + PRINT_CONSTANT((guint) G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE); + PRINT_CONSTANT((guint) G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START); + PRINT_CONSTANT((guint) G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION); + PRINT_CONSTANT((guint) G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS); + PRINT_CONSTANT((guint) G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES); + PRINT_CONSTANT((guint) G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES); + PRINT_CONSTANT((guint) G_DBUS_PROXY_FLAGS_NONE); + PRINT_CONSTANT((guint) G_DBUS_SEND_MESSAGE_FLAGS_NONE); + PRINT_CONSTANT((guint) G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL); + PRINT_CONSTANT((guint) G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS); + PRINT_CONSTANT((guint) G_DBUS_SERVER_FLAGS_NONE); + PRINT_CONSTANT((guint) G_DBUS_SERVER_FLAGS_RUN_IN_THREAD); + PRINT_CONSTANT((guint) G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE); + PRINT_CONSTANT((guint) G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH); + PRINT_CONSTANT((guint) G_DBUS_SIGNAL_FLAGS_NONE); + PRINT_CONSTANT((guint) G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE); + PRINT_CONSTANT((guint) G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES); + PRINT_CONSTANT((guint) G_DBUS_SUBTREE_FLAGS_NONE); + PRINT_CONSTANT(G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME); + PRINT_CONSTANT(G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE); + PRINT_CONSTANT((guint) G_DRIVE_START_NONE); + PRINT_CONSTANT((gint) G_DRIVE_START_STOP_TYPE_MULTIDISK); + PRINT_CONSTANT((gint) G_DRIVE_START_STOP_TYPE_NETWORK); + PRINT_CONSTANT((gint) G_DRIVE_START_STOP_TYPE_PASSWORD); + PRINT_CONSTANT((gint) G_DRIVE_START_STOP_TYPE_SHUTDOWN); + PRINT_CONSTANT((gint) G_DRIVE_START_STOP_TYPE_UNKNOWN); + PRINT_CONSTANT((gint) G_EMBLEM_ORIGIN_DEVICE); + PRINT_CONSTANT((gint) G_EMBLEM_ORIGIN_LIVEMETADATA); + PRINT_CONSTANT((gint) G_EMBLEM_ORIGIN_TAG); + PRINT_CONSTANT((gint) G_EMBLEM_ORIGIN_UNKNOWN); + PRINT_CONSTANT((gint) G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS); + PRINT_CONSTANT((gint) G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL); + PRINT_CONSTANT((gint) G_FILESYSTEM_PREVIEW_TYPE_NEVER); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_ACCESS_CAN_READ); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_DOS_IS_SYSTEM); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_ETAG_VALUE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_FILESYSTEM_FREE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_FILESYSTEM_READONLY); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_FILESYSTEM_SIZE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_FILESYSTEM_TYPE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_FILESYSTEM_USED); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_GVFS_BACKEND); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_ID_FILE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_ID_FILESYSTEM); + PRINT_CONSTANT((guint) G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED); + PRINT_CONSTANT((guint) G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE); + PRINT_CONSTANT((guint) G_FILE_ATTRIBUTE_INFO_NONE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_OWNER_GROUP); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_OWNER_USER); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_OWNER_USER_REAL); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_PREVIEW_ICON); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_RECENT_MODIFIED); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_SELINUX_CONTEXT); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_COPY_NAME); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_ICON); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_NAME); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_SIZE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_TARGET_URI); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_STANDARD_TYPE); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_STATUS_SET); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_STATUS_UNSET); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_THUMBNAILING_FAILED); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_THUMBNAIL_PATH); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TIME_ACCESS); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TIME_ACCESS_USEC); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TIME_CHANGED); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TIME_CHANGED_USEC); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TIME_CREATED); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TIME_CREATED_USEC); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TIME_MODIFIED); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TRASH_DELETION_DATE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_TRASH_ORIG_PATH); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_BOOLEAN); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_BYTE_STRING); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_INT32); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_INT64); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_INVALID); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_OBJECT); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_STRING); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_STRINGV); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_UINT32); + PRINT_CONSTANT((gint) G_FILE_ATTRIBUTE_TYPE_UINT64); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_BLOCKS); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_DEVICE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_GID); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_INODE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_MODE); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_NLINK); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_RDEV); + PRINT_CONSTANT(G_FILE_ATTRIBUTE_UNIX_UID); + PRINT_CONSTANT((guint) G_FILE_COPY_ALL_METADATA); + PRINT_CONSTANT((guint) G_FILE_COPY_BACKUP); + PRINT_CONSTANT((guint) G_FILE_COPY_NOFOLLOW_SYMLINKS); + PRINT_CONSTANT((guint) G_FILE_COPY_NONE); + PRINT_CONSTANT((guint) G_FILE_COPY_NO_FALLBACK_FOR_MOVE); + PRINT_CONSTANT((guint) G_FILE_COPY_OVERWRITE); + PRINT_CONSTANT((guint) G_FILE_COPY_TARGET_DEFAULT_PERMS); + PRINT_CONSTANT((guint) G_FILE_CREATE_NONE); + PRINT_CONSTANT((guint) G_FILE_CREATE_PRIVATE); + PRINT_CONSTANT((guint) G_FILE_CREATE_REPLACE_DESTINATION); + PRINT_CONSTANT((guint) G_FILE_MEASURE_APPARENT_SIZE); + PRINT_CONSTANT((guint) G_FILE_MEASURE_NONE); + PRINT_CONSTANT((guint) G_FILE_MEASURE_NO_XDEV); + PRINT_CONSTANT((guint) G_FILE_MEASURE_REPORT_ANY_ERROR); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_CHANGED); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_CREATED); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_DELETED); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_MOVED); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_MOVED_IN); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_MOVED_OUT); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_PRE_UNMOUNT); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_RENAMED); + PRINT_CONSTANT((gint) G_FILE_MONITOR_EVENT_UNMOUNTED); + PRINT_CONSTANT((guint) G_FILE_MONITOR_NONE); + PRINT_CONSTANT((guint) G_FILE_MONITOR_SEND_MOVED); + PRINT_CONSTANT((guint) G_FILE_MONITOR_WATCH_HARD_LINKS); + PRINT_CONSTANT((guint) G_FILE_MONITOR_WATCH_MOUNTS); + PRINT_CONSTANT((guint) G_FILE_MONITOR_WATCH_MOVES); + PRINT_CONSTANT((guint) G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS); + PRINT_CONSTANT((guint) G_FILE_QUERY_INFO_NONE); + PRINT_CONSTANT((gint) G_FILE_TYPE_DIRECTORY); + PRINT_CONSTANT((gint) G_FILE_TYPE_MOUNTABLE); + PRINT_CONSTANT((gint) G_FILE_TYPE_REGULAR); + PRINT_CONSTANT((gint) G_FILE_TYPE_SHORTCUT); + PRINT_CONSTANT((gint) G_FILE_TYPE_SPECIAL); + PRINT_CONSTANT((gint) G_FILE_TYPE_SYMBOLIC_LINK); + PRINT_CONSTANT((gint) G_FILE_TYPE_UNKNOWN); + PRINT_CONSTANT((gint) G_IO_ERROR_ADDRESS_IN_USE); + PRINT_CONSTANT((gint) G_IO_ERROR_ALREADY_MOUNTED); + PRINT_CONSTANT((gint) G_IO_ERROR_BROKEN_PIPE); + PRINT_CONSTANT((gint) G_IO_ERROR_BUSY); + PRINT_CONSTANT((gint) G_IO_ERROR_CANCELLED); + PRINT_CONSTANT((gint) G_IO_ERROR_CANT_CREATE_BACKUP); + PRINT_CONSTANT((gint) G_IO_ERROR_CLOSED); + PRINT_CONSTANT((gint) G_IO_ERROR_CONNECTION_CLOSED); + PRINT_CONSTANT((gint) G_IO_ERROR_CONNECTION_REFUSED); + PRINT_CONSTANT((gint) G_IO_ERROR_DBUS_ERROR); + PRINT_CONSTANT((gint) G_IO_ERROR_EXISTS); + PRINT_CONSTANT((gint) G_IO_ERROR_FAILED); + PRINT_CONSTANT((gint) G_IO_ERROR_FAILED_HANDLED); + PRINT_CONSTANT((gint) G_IO_ERROR_FILENAME_TOO_LONG); + PRINT_CONSTANT((gint) G_IO_ERROR_HOST_NOT_FOUND); + PRINT_CONSTANT((gint) G_IO_ERROR_HOST_UNREACHABLE); + PRINT_CONSTANT((gint) G_IO_ERROR_INVALID_ARGUMENT); + PRINT_CONSTANT((gint) G_IO_ERROR_INVALID_DATA); + PRINT_CONSTANT((gint) G_IO_ERROR_INVALID_FILENAME); + PRINT_CONSTANT((gint) G_IO_ERROR_IS_DIRECTORY); + PRINT_CONSTANT((gint) G_IO_ERROR_MESSAGE_TOO_LARGE); + PRINT_CONSTANT((gint) G_IO_ERROR_NETWORK_UNREACHABLE); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_CONNECTED); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_DIRECTORY); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_EMPTY); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_FOUND); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_INITIALIZED); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_MOUNTABLE_FILE); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_MOUNTED); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_REGULAR_FILE); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_SUPPORTED); + PRINT_CONSTANT((gint) G_IO_ERROR_NOT_SYMBOLIC_LINK); + PRINT_CONSTANT((gint) G_IO_ERROR_NO_SPACE); + PRINT_CONSTANT((gint) G_IO_ERROR_PARTIAL_INPUT); + PRINT_CONSTANT((gint) G_IO_ERROR_PENDING); + PRINT_CONSTANT((gint) G_IO_ERROR_PERMISSION_DENIED); + PRINT_CONSTANT((gint) G_IO_ERROR_PROXY_AUTH_FAILED); + PRINT_CONSTANT((gint) G_IO_ERROR_PROXY_FAILED); + PRINT_CONSTANT((gint) G_IO_ERROR_PROXY_NEED_AUTH); + PRINT_CONSTANT((gint) G_IO_ERROR_PROXY_NOT_ALLOWED); + PRINT_CONSTANT((gint) G_IO_ERROR_READ_ONLY); + PRINT_CONSTANT((gint) G_IO_ERROR_TIMED_OUT); + PRINT_CONSTANT((gint) G_IO_ERROR_TOO_MANY_LINKS); + PRINT_CONSTANT((gint) G_IO_ERROR_TOO_MANY_OPEN_FILES); + PRINT_CONSTANT((gint) G_IO_ERROR_WOULD_BLOCK); + PRINT_CONSTANT((gint) G_IO_ERROR_WOULD_MERGE); + PRINT_CONSTANT((gint) G_IO_ERROR_WOULD_RECURSE); + PRINT_CONSTANT((gint) G_IO_ERROR_WRONG_ETAG); + PRINT_CONSTANT((gint) G_IO_MODULE_SCOPE_BLOCK_DUPLICATES); + PRINT_CONSTANT((gint) G_IO_MODULE_SCOPE_NONE); + PRINT_CONSTANT((guint) G_IO_STREAM_SPLICE_CLOSE_STREAM1); + PRINT_CONSTANT((guint) G_IO_STREAM_SPLICE_CLOSE_STREAM2); + PRINT_CONSTANT((guint) G_IO_STREAM_SPLICE_NONE); + PRINT_CONSTANT((guint) G_IO_STREAM_SPLICE_WAIT_FOR_BOTH); + PRINT_CONSTANT(G_MEMORY_MONITOR_EXTENSION_POINT_NAME); + PRINT_CONSTANT((gint) G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL); + PRINT_CONSTANT((gint) G_MEMORY_MONITOR_WARNING_LEVEL_LOW); + PRINT_CONSTANT((gint) G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM); + PRINT_CONSTANT(G_MENU_ATTRIBUTE_ACTION); + PRINT_CONSTANT(G_MENU_ATTRIBUTE_ACTION_NAMESPACE); + PRINT_CONSTANT(G_MENU_ATTRIBUTE_ICON); + PRINT_CONSTANT(G_MENU_ATTRIBUTE_LABEL); + PRINT_CONSTANT(G_MENU_ATTRIBUTE_TARGET); + PRINT_CONSTANT(G_MENU_LINK_SECTION); + PRINT_CONSTANT(G_MENU_LINK_SUBMENU); + PRINT_CONSTANT((guint) G_MOUNT_MOUNT_NONE); + PRINT_CONSTANT((gint) G_MOUNT_OPERATION_ABORTED); + PRINT_CONSTANT((gint) G_MOUNT_OPERATION_HANDLED); + PRINT_CONSTANT((gint) G_MOUNT_OPERATION_UNHANDLED); + PRINT_CONSTANT((guint) G_MOUNT_UNMOUNT_FORCE); + PRINT_CONSTANT((guint) G_MOUNT_UNMOUNT_NONE); + PRINT_CONSTANT(G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME); + PRINT_CONSTANT((gint) G_NETWORK_CONNECTIVITY_FULL); + PRINT_CONSTANT((gint) G_NETWORK_CONNECTIVITY_LIMITED); + PRINT_CONSTANT((gint) G_NETWORK_CONNECTIVITY_LOCAL); + PRINT_CONSTANT((gint) G_NETWORK_CONNECTIVITY_PORTAL); + PRINT_CONSTANT(G_NETWORK_MONITOR_EXTENSION_POINT_NAME); + PRINT_CONSTANT((gint) G_NOTIFICATION_PRIORITY_HIGH); + PRINT_CONSTANT((gint) G_NOTIFICATION_PRIORITY_LOW); + PRINT_CONSTANT((gint) G_NOTIFICATION_PRIORITY_NORMAL); + PRINT_CONSTANT((gint) G_NOTIFICATION_PRIORITY_URGENT); + PRINT_CONSTANT((guint) G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE); + PRINT_CONSTANT((guint) G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET); + PRINT_CONSTANT((guint) G_OUTPUT_STREAM_SPLICE_NONE); + PRINT_CONSTANT((gint) G_PASSWORD_SAVE_FOR_SESSION); + PRINT_CONSTANT((gint) G_PASSWORD_SAVE_NEVER); + PRINT_CONSTANT((gint) G_PASSWORD_SAVE_PERMANENTLY); + PRINT_CONSTANT((gint) G_POLLABLE_RETURN_FAILED); + PRINT_CONSTANT((gint) G_POLLABLE_RETURN_OK); + PRINT_CONSTANT((gint) G_POLLABLE_RETURN_WOULD_BLOCK); + PRINT_CONSTANT(G_PROXY_EXTENSION_POINT_NAME); + PRINT_CONSTANT(G_PROXY_RESOLVER_EXTENSION_POINT_NAME); + PRINT_CONSTANT((gint) G_RESOLVER_ERROR_INTERNAL); + PRINT_CONSTANT((gint) G_RESOLVER_ERROR_NOT_FOUND); + PRINT_CONSTANT((gint) G_RESOLVER_ERROR_TEMPORARY_FAILURE); + PRINT_CONSTANT((guint) G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT); + PRINT_CONSTANT((guint) G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY); + PRINT_CONSTANT((guint) G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY); + PRINT_CONSTANT((gint) G_RESOLVER_RECORD_MX); + PRINT_CONSTANT((gint) G_RESOLVER_RECORD_NS); + PRINT_CONSTANT((gint) G_RESOLVER_RECORD_SOA); + PRINT_CONSTANT((gint) G_RESOLVER_RECORD_SRV); + PRINT_CONSTANT((gint) G_RESOLVER_RECORD_TXT); + PRINT_CONSTANT((gint) G_RESOURCE_ERROR_INTERNAL); + PRINT_CONSTANT((gint) G_RESOURCE_ERROR_NOT_FOUND); + PRINT_CONSTANT((guint) G_RESOURCE_FLAGS_COMPRESSED); + PRINT_CONSTANT((guint) G_RESOURCE_FLAGS_NONE); + PRINT_CONSTANT((guint) G_RESOURCE_LOOKUP_FLAGS_NONE); + PRINT_CONSTANT(G_SETTINGS_BACKEND_EXTENSION_POINT_NAME); + PRINT_CONSTANT((guint) G_SETTINGS_BIND_DEFAULT); + PRINT_CONSTANT((guint) G_SETTINGS_BIND_GET); + PRINT_CONSTANT((guint) G_SETTINGS_BIND_GET_NO_CHANGES); + PRINT_CONSTANT((guint) G_SETTINGS_BIND_INVERT_BOOLEAN); + PRINT_CONSTANT((guint) G_SETTINGS_BIND_NO_SENSITIVITY); + PRINT_CONSTANT((guint) G_SETTINGS_BIND_SET); + PRINT_CONSTANT((gint) G_SOCKET_CLIENT_COMPLETE); + PRINT_CONSTANT((gint) G_SOCKET_CLIENT_CONNECTED); + PRINT_CONSTANT((gint) G_SOCKET_CLIENT_CONNECTING); + PRINT_CONSTANT((gint) G_SOCKET_CLIENT_PROXY_NEGOTIATED); + PRINT_CONSTANT((gint) G_SOCKET_CLIENT_PROXY_NEGOTIATING); + PRINT_CONSTANT((gint) G_SOCKET_CLIENT_RESOLVED); + PRINT_CONSTANT((gint) G_SOCKET_CLIENT_RESOLVING); + PRINT_CONSTANT((gint) G_SOCKET_CLIENT_TLS_HANDSHAKED); + PRINT_CONSTANT((gint) G_SOCKET_CLIENT_TLS_HANDSHAKING); + PRINT_CONSTANT((gint) G_SOCKET_FAMILY_INVALID); + PRINT_CONSTANT((gint) G_SOCKET_FAMILY_IPV4); + PRINT_CONSTANT((gint) G_SOCKET_FAMILY_IPV6); + PRINT_CONSTANT((gint) G_SOCKET_FAMILY_UNIX); + PRINT_CONSTANT((gint) G_SOCKET_LISTENER_BINDING); + PRINT_CONSTANT((gint) G_SOCKET_LISTENER_BOUND); + PRINT_CONSTANT((gint) G_SOCKET_LISTENER_LISTENED); + PRINT_CONSTANT((gint) G_SOCKET_LISTENER_LISTENING); + PRINT_CONSTANT((guint) G_SOCKET_MSG_DONTROUTE); + PRINT_CONSTANT((guint) G_SOCKET_MSG_NONE); + PRINT_CONSTANT((guint) G_SOCKET_MSG_OOB); + PRINT_CONSTANT((guint) G_SOCKET_MSG_PEEK); + PRINT_CONSTANT((gint) G_SOCKET_PROTOCOL_DEFAULT); + PRINT_CONSTANT((gint) G_SOCKET_PROTOCOL_SCTP); + PRINT_CONSTANT((gint) G_SOCKET_PROTOCOL_TCP); + PRINT_CONSTANT((gint) G_SOCKET_PROTOCOL_UDP); + PRINT_CONSTANT((gint) G_SOCKET_PROTOCOL_UNKNOWN); + PRINT_CONSTANT((gint) G_SOCKET_TYPE_DATAGRAM); + PRINT_CONSTANT((gint) G_SOCKET_TYPE_INVALID); + PRINT_CONSTANT((gint) G_SOCKET_TYPE_SEQPACKET); + PRINT_CONSTANT((gint) G_SOCKET_TYPE_STREAM); + PRINT_CONSTANT((guint) G_SUBPROCESS_FLAGS_INHERIT_FDS); + PRINT_CONSTANT((guint) G_SUBPROCESS_FLAGS_NONE); + PRINT_CONSTANT((guint) G_SUBPROCESS_FLAGS_STDERR_MERGE); + PRINT_CONSTANT((guint) G_SUBPROCESS_FLAGS_STDERR_PIPE); + PRINT_CONSTANT((guint) G_SUBPROCESS_FLAGS_STDERR_SILENCE); + PRINT_CONSTANT((guint) G_SUBPROCESS_FLAGS_STDIN_INHERIT); + PRINT_CONSTANT((guint) G_SUBPROCESS_FLAGS_STDIN_PIPE); + PRINT_CONSTANT((guint) G_SUBPROCESS_FLAGS_STDOUT_PIPE); + PRINT_CONSTANT((guint) G_SUBPROCESS_FLAGS_STDOUT_SILENCE); + PRINT_CONSTANT((guint) G_TEST_DBUS_NONE); + PRINT_CONSTANT((gint) G_TLS_AUTHENTICATION_NONE); + PRINT_CONSTANT((gint) G_TLS_AUTHENTICATION_REQUESTED); + PRINT_CONSTANT((gint) G_TLS_AUTHENTICATION_REQUIRED); + PRINT_CONSTANT(G_TLS_BACKEND_EXTENSION_POINT_NAME); + PRINT_CONSTANT((guint) G_TLS_CERTIFICATE_BAD_IDENTITY); + PRINT_CONSTANT((guint) G_TLS_CERTIFICATE_EXPIRED); + PRINT_CONSTANT((guint) G_TLS_CERTIFICATE_GENERIC_ERROR); + PRINT_CONSTANT((guint) G_TLS_CERTIFICATE_INSECURE); + PRINT_CONSTANT((guint) G_TLS_CERTIFICATE_NOT_ACTIVATED); + PRINT_CONSTANT((gint) G_TLS_CERTIFICATE_REQUEST_NONE); + PRINT_CONSTANT((guint) G_TLS_CERTIFICATE_REVOKED); + PRINT_CONSTANT((guint) G_TLS_CERTIFICATE_UNKNOWN_CA); + PRINT_CONSTANT((guint) G_TLS_CERTIFICATE_VALIDATE_ALL); + PRINT_CONSTANT((gint) G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR); + PRINT_CONSTANT((gint) G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE); + PRINT_CONSTANT((gint) G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE); + PRINT_CONSTANT((gint) G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED); + PRINT_CONSTANT((gint) G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED); + PRINT_CONSTANT((gint) G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT); + PRINT_CONSTANT((gint) G_TLS_CHANNEL_BINDING_TLS_UNIQUE); + PRINT_CONSTANT((gint) G_TLS_DATABASE_LOOKUP_KEYPAIR); + PRINT_CONSTANT((gint) G_TLS_DATABASE_LOOKUP_NONE); + PRINT_CONSTANT(G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT); + PRINT_CONSTANT(G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER); + PRINT_CONSTANT((guint) G_TLS_DATABASE_VERIFY_NONE); + PRINT_CONSTANT((gint) G_TLS_ERROR_BAD_CERTIFICATE); + PRINT_CONSTANT((gint) G_TLS_ERROR_CERTIFICATE_REQUIRED); + PRINT_CONSTANT((gint) G_TLS_ERROR_EOF); + PRINT_CONSTANT((gint) G_TLS_ERROR_HANDSHAKE); + PRINT_CONSTANT((gint) G_TLS_ERROR_INAPPROPRIATE_FALLBACK); + PRINT_CONSTANT((gint) G_TLS_ERROR_MISC); + PRINT_CONSTANT((gint) G_TLS_ERROR_NOT_TLS); + PRINT_CONSTANT((gint) G_TLS_ERROR_UNAVAILABLE); + PRINT_CONSTANT((gint) G_TLS_INTERACTION_FAILED); + PRINT_CONSTANT((gint) G_TLS_INTERACTION_HANDLED); + PRINT_CONSTANT((gint) G_TLS_INTERACTION_UNHANDLED); + PRINT_CONSTANT((guint) G_TLS_PASSWORD_FINAL_TRY); + PRINT_CONSTANT((guint) G_TLS_PASSWORD_MANY_TRIES); + PRINT_CONSTANT((guint) G_TLS_PASSWORD_NONE); + PRINT_CONSTANT((guint) G_TLS_PASSWORD_RETRY); + PRINT_CONSTANT((gint) G_TLS_REHANDSHAKE_NEVER); + PRINT_CONSTANT((gint) G_TLS_REHANDSHAKE_SAFELY); + PRINT_CONSTANT((gint) G_TLS_REHANDSHAKE_UNSAFELY); + PRINT_CONSTANT((gint) G_UNIX_SOCKET_ADDRESS_ABSTRACT); + PRINT_CONSTANT((gint) G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED); + PRINT_CONSTANT((gint) G_UNIX_SOCKET_ADDRESS_ANONYMOUS); + PRINT_CONSTANT((gint) G_UNIX_SOCKET_ADDRESS_INVALID); + PRINT_CONSTANT((gint) G_UNIX_SOCKET_ADDRESS_PATH); + PRINT_CONSTANT(G_VFS_EXTENSION_POINT_NAME); + PRINT_CONSTANT(G_VOLUME_IDENTIFIER_KIND_CLASS); + PRINT_CONSTANT(G_VOLUME_IDENTIFIER_KIND_HAL_UDI); + PRINT_CONSTANT(G_VOLUME_IDENTIFIER_KIND_LABEL); + PRINT_CONSTANT(G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT); + PRINT_CONSTANT(G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE); + PRINT_CONSTANT(G_VOLUME_IDENTIFIER_KIND_UUID); + PRINT_CONSTANT(G_VOLUME_MONITOR_EXTENSION_POINT_NAME); + PRINT_CONSTANT((gint) G_ZLIB_COMPRESSOR_FORMAT_GZIP); + PRINT_CONSTANT((gint) G_ZLIB_COMPRESSOR_FORMAT_RAW); + PRINT_CONSTANT((gint) G_ZLIB_COMPRESSOR_FORMAT_ZLIB); return 0; } diff --git a/gio/sys/tests/layout.c b/gio/sys/tests/layout.c index 45f2ef46113e..84138763112b 100644 --- a/gio/sys/tests/layout.c +++ b/gio/sys/tests/layout.c @@ -7,6 +7,293 @@ #include int main() { - printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME)); + printf("%s;%zu;%zu\n", "GActionEntry", sizeof(GActionEntry), alignof(GActionEntry)); + printf("%s;%zu;%zu\n", "GActionGroupInterface", sizeof(GActionGroupInterface), alignof(GActionGroupInterface)); + printf("%s;%zu;%zu\n", "GActionInterface", sizeof(GActionInterface), alignof(GActionInterface)); + printf("%s;%zu;%zu\n", "GActionMapInterface", sizeof(GActionMapInterface), alignof(GActionMapInterface)); + printf("%s;%zu;%zu\n", "GAppInfoCreateFlags", sizeof(GAppInfoCreateFlags), alignof(GAppInfoCreateFlags)); + printf("%s;%zu;%zu\n", "GAppInfoIface", sizeof(GAppInfoIface), alignof(GAppInfoIface)); + printf("%s;%zu;%zu\n", "GAppLaunchContext", sizeof(GAppLaunchContext), alignof(GAppLaunchContext)); + printf("%s;%zu;%zu\n", "GAppLaunchContextClass", sizeof(GAppLaunchContextClass), alignof(GAppLaunchContextClass)); + printf("%s;%zu;%zu\n", "GApplication", sizeof(GApplication), alignof(GApplication)); + printf("%s;%zu;%zu\n", "GApplicationClass", sizeof(GApplicationClass), alignof(GApplicationClass)); + printf("%s;%zu;%zu\n", "GApplicationCommandLine", sizeof(GApplicationCommandLine), alignof(GApplicationCommandLine)); + printf("%s;%zu;%zu\n", "GApplicationCommandLineClass", sizeof(GApplicationCommandLineClass), alignof(GApplicationCommandLineClass)); + printf("%s;%zu;%zu\n", "GApplicationFlags", sizeof(GApplicationFlags), alignof(GApplicationFlags)); + printf("%s;%zu;%zu\n", "GAskPasswordFlags", sizeof(GAskPasswordFlags), alignof(GAskPasswordFlags)); + printf("%s;%zu;%zu\n", "GAsyncInitableIface", sizeof(GAsyncInitableIface), alignof(GAsyncInitableIface)); + printf("%s;%zu;%zu\n", "GAsyncResultIface", sizeof(GAsyncResultIface), alignof(GAsyncResultIface)); + printf("%s;%zu;%zu\n", "GBufferedInputStream", sizeof(GBufferedInputStream), alignof(GBufferedInputStream)); + printf("%s;%zu;%zu\n", "GBufferedInputStreamClass", sizeof(GBufferedInputStreamClass), alignof(GBufferedInputStreamClass)); + printf("%s;%zu;%zu\n", "GBufferedOutputStream", sizeof(GBufferedOutputStream), alignof(GBufferedOutputStream)); + printf("%s;%zu;%zu\n", "GBufferedOutputStreamClass", sizeof(GBufferedOutputStreamClass), alignof(GBufferedOutputStreamClass)); + printf("%s;%zu;%zu\n", "GBusNameOwnerFlags", sizeof(GBusNameOwnerFlags), alignof(GBusNameOwnerFlags)); + printf("%s;%zu;%zu\n", "GBusNameWatcherFlags", sizeof(GBusNameWatcherFlags), alignof(GBusNameWatcherFlags)); + printf("%s;%zu;%zu\n", "GBusType", sizeof(GBusType), alignof(GBusType)); + printf("%s;%zu;%zu\n", "GCancellable", sizeof(GCancellable), alignof(GCancellable)); + printf("%s;%zu;%zu\n", "GCancellableClass", sizeof(GCancellableClass), alignof(GCancellableClass)); + printf("%s;%zu;%zu\n", "GCharsetConverterClass", sizeof(GCharsetConverterClass), alignof(GCharsetConverterClass)); + printf("%s;%zu;%zu\n", "GConverterFlags", sizeof(GConverterFlags), alignof(GConverterFlags)); + printf("%s;%zu;%zu\n", "GConverterIface", sizeof(GConverterIface), alignof(GConverterIface)); + printf("%s;%zu;%zu\n", "GConverterInputStream", sizeof(GConverterInputStream), alignof(GConverterInputStream)); + printf("%s;%zu;%zu\n", "GConverterInputStreamClass", sizeof(GConverterInputStreamClass), alignof(GConverterInputStreamClass)); + printf("%s;%zu;%zu\n", "GConverterOutputStream", sizeof(GConverterOutputStream), alignof(GConverterOutputStream)); + printf("%s;%zu;%zu\n", "GConverterOutputStreamClass", sizeof(GConverterOutputStreamClass), alignof(GConverterOutputStreamClass)); + printf("%s;%zu;%zu\n", "GConverterResult", sizeof(GConverterResult), alignof(GConverterResult)); + printf("%s;%zu;%zu\n", "GCredentialsType", sizeof(GCredentialsType), alignof(GCredentialsType)); + printf("%s;%zu;%zu\n", "GDBusAnnotationInfo", sizeof(GDBusAnnotationInfo), alignof(GDBusAnnotationInfo)); + printf("%s;%zu;%zu\n", "GDBusArgInfo", sizeof(GDBusArgInfo), alignof(GDBusArgInfo)); + printf("%s;%zu;%zu\n", "GDBusCallFlags", sizeof(GDBusCallFlags), alignof(GDBusCallFlags)); + printf("%s;%zu;%zu\n", "GDBusCapabilityFlags", sizeof(GDBusCapabilityFlags), alignof(GDBusCapabilityFlags)); + printf("%s;%zu;%zu\n", "GDBusConnectionFlags", sizeof(GDBusConnectionFlags), alignof(GDBusConnectionFlags)); + printf("%s;%zu;%zu\n", "GDBusError", sizeof(GDBusError), alignof(GDBusError)); + printf("%s;%zu;%zu\n", "GDBusErrorEntry", sizeof(GDBusErrorEntry), alignof(GDBusErrorEntry)); + printf("%s;%zu;%zu\n", "GDBusInterfaceIface", sizeof(GDBusInterfaceIface), alignof(GDBusInterfaceIface)); + printf("%s;%zu;%zu\n", "GDBusInterfaceInfo", sizeof(GDBusInterfaceInfo), alignof(GDBusInterfaceInfo)); + printf("%s;%zu;%zu\n", "GDBusInterfaceSkeleton", sizeof(GDBusInterfaceSkeleton), alignof(GDBusInterfaceSkeleton)); + printf("%s;%zu;%zu\n", "GDBusInterfaceSkeletonClass", sizeof(GDBusInterfaceSkeletonClass), alignof(GDBusInterfaceSkeletonClass)); + printf("%s;%zu;%zu\n", "GDBusInterfaceSkeletonFlags", sizeof(GDBusInterfaceSkeletonFlags), alignof(GDBusInterfaceSkeletonFlags)); + printf("%s;%zu;%zu\n", "GDBusInterfaceVTable", sizeof(GDBusInterfaceVTable), alignof(GDBusInterfaceVTable)); + printf("%s;%zu;%zu\n", "GDBusMessageByteOrder", sizeof(GDBusMessageByteOrder), alignof(GDBusMessageByteOrder)); + printf("%s;%zu;%zu\n", "GDBusMessageFlags", sizeof(GDBusMessageFlags), alignof(GDBusMessageFlags)); + printf("%s;%zu;%zu\n", "GDBusMessageHeaderField", sizeof(GDBusMessageHeaderField), alignof(GDBusMessageHeaderField)); + printf("%s;%zu;%zu\n", "GDBusMessageType", sizeof(GDBusMessageType), alignof(GDBusMessageType)); + printf("%s;%zu;%zu\n", "GDBusMethodInfo", sizeof(GDBusMethodInfo), alignof(GDBusMethodInfo)); + printf("%s;%zu;%zu\n", "GDBusNodeInfo", sizeof(GDBusNodeInfo), alignof(GDBusNodeInfo)); + printf("%s;%zu;%zu\n", "GDBusObjectIface", sizeof(GDBusObjectIface), alignof(GDBusObjectIface)); + printf("%s;%zu;%zu\n", "GDBusObjectManagerClient", sizeof(GDBusObjectManagerClient), alignof(GDBusObjectManagerClient)); + printf("%s;%zu;%zu\n", "GDBusObjectManagerClientClass", sizeof(GDBusObjectManagerClientClass), alignof(GDBusObjectManagerClientClass)); + printf("%s;%zu;%zu\n", "GDBusObjectManagerClientFlags", sizeof(GDBusObjectManagerClientFlags), alignof(GDBusObjectManagerClientFlags)); + printf("%s;%zu;%zu\n", "GDBusObjectManagerIface", sizeof(GDBusObjectManagerIface), alignof(GDBusObjectManagerIface)); + printf("%s;%zu;%zu\n", "GDBusObjectManagerServer", sizeof(GDBusObjectManagerServer), alignof(GDBusObjectManagerServer)); + printf("%s;%zu;%zu\n", "GDBusObjectManagerServerClass", sizeof(GDBusObjectManagerServerClass), alignof(GDBusObjectManagerServerClass)); + printf("%s;%zu;%zu\n", "GDBusObjectProxy", sizeof(GDBusObjectProxy), alignof(GDBusObjectProxy)); + printf("%s;%zu;%zu\n", "GDBusObjectProxyClass", sizeof(GDBusObjectProxyClass), alignof(GDBusObjectProxyClass)); + printf("%s;%zu;%zu\n", "GDBusObjectSkeleton", sizeof(GDBusObjectSkeleton), alignof(GDBusObjectSkeleton)); + printf("%s;%zu;%zu\n", "GDBusObjectSkeletonClass", sizeof(GDBusObjectSkeletonClass), alignof(GDBusObjectSkeletonClass)); + printf("%s;%zu;%zu\n", "GDBusPropertyInfo", sizeof(GDBusPropertyInfo), alignof(GDBusPropertyInfo)); + printf("%s;%zu;%zu\n", "GDBusPropertyInfoFlags", sizeof(GDBusPropertyInfoFlags), alignof(GDBusPropertyInfoFlags)); + printf("%s;%zu;%zu\n", "GDBusProxy", sizeof(GDBusProxy), alignof(GDBusProxy)); + printf("%s;%zu;%zu\n", "GDBusProxyClass", sizeof(GDBusProxyClass), alignof(GDBusProxyClass)); + printf("%s;%zu;%zu\n", "GDBusProxyFlags", sizeof(GDBusProxyFlags), alignof(GDBusProxyFlags)); + printf("%s;%zu;%zu\n", "GDBusSendMessageFlags", sizeof(GDBusSendMessageFlags), alignof(GDBusSendMessageFlags)); + printf("%s;%zu;%zu\n", "GDBusServerFlags", sizeof(GDBusServerFlags), alignof(GDBusServerFlags)); + printf("%s;%zu;%zu\n", "GDBusSignalFlags", sizeof(GDBusSignalFlags), alignof(GDBusSignalFlags)); + printf("%s;%zu;%zu\n", "GDBusSignalInfo", sizeof(GDBusSignalInfo), alignof(GDBusSignalInfo)); + printf("%s;%zu;%zu\n", "GDBusSubtreeFlags", sizeof(GDBusSubtreeFlags), alignof(GDBusSubtreeFlags)); + printf("%s;%zu;%zu\n", "GDBusSubtreeVTable", sizeof(GDBusSubtreeVTable), alignof(GDBusSubtreeVTable)); + printf("%s;%zu;%zu\n", "GDataInputStream", sizeof(GDataInputStream), alignof(GDataInputStream)); + printf("%s;%zu;%zu\n", "GDataInputStreamClass", sizeof(GDataInputStreamClass), alignof(GDataInputStreamClass)); + printf("%s;%zu;%zu\n", "GDataOutputStream", sizeof(GDataOutputStream), alignof(GDataOutputStream)); + printf("%s;%zu;%zu\n", "GDataOutputStreamClass", sizeof(GDataOutputStreamClass), alignof(GDataOutputStreamClass)); + printf("%s;%zu;%zu\n", "GDataStreamByteOrder", sizeof(GDataStreamByteOrder), alignof(GDataStreamByteOrder)); + printf("%s;%zu;%zu\n", "GDataStreamNewlineType", sizeof(GDataStreamNewlineType), alignof(GDataStreamNewlineType)); + printf("%s;%zu;%zu\n", "GDatagramBasedInterface", sizeof(GDatagramBasedInterface), alignof(GDatagramBasedInterface)); + printf("%s;%zu;%zu\n", "GDesktopAppInfoClass", sizeof(GDesktopAppInfoClass), alignof(GDesktopAppInfoClass)); + printf("%s;%zu;%zu\n", "GDesktopAppInfoLookupIface", sizeof(GDesktopAppInfoLookupIface), alignof(GDesktopAppInfoLookupIface)); + printf("%s;%zu;%zu\n", "GDriveIface", sizeof(GDriveIface), alignof(GDriveIface)); + printf("%s;%zu;%zu\n", "GDriveStartFlags", sizeof(GDriveStartFlags), alignof(GDriveStartFlags)); + printf("%s;%zu;%zu\n", "GDriveStartStopType", sizeof(GDriveStartStopType), alignof(GDriveStartStopType)); + printf("%s;%zu;%zu\n", "GDtlsClientConnectionInterface", sizeof(GDtlsClientConnectionInterface), alignof(GDtlsClientConnectionInterface)); + printf("%s;%zu;%zu\n", "GDtlsConnectionInterface", sizeof(GDtlsConnectionInterface), alignof(GDtlsConnectionInterface)); + printf("%s;%zu;%zu\n", "GDtlsServerConnectionInterface", sizeof(GDtlsServerConnectionInterface), alignof(GDtlsServerConnectionInterface)); + printf("%s;%zu;%zu\n", "GEmblemOrigin", sizeof(GEmblemOrigin), alignof(GEmblemOrigin)); + printf("%s;%zu;%zu\n", "GEmblemedIcon", sizeof(GEmblemedIcon), alignof(GEmblemedIcon)); + printf("%s;%zu;%zu\n", "GEmblemedIconClass", sizeof(GEmblemedIconClass), alignof(GEmblemedIconClass)); + printf("%s;%zu;%zu\n", "GFileAttributeInfo", sizeof(GFileAttributeInfo), alignof(GFileAttributeInfo)); + printf("%s;%zu;%zu\n", "GFileAttributeInfoFlags", sizeof(GFileAttributeInfoFlags), alignof(GFileAttributeInfoFlags)); + printf("%s;%zu;%zu\n", "GFileAttributeInfoList", sizeof(GFileAttributeInfoList), alignof(GFileAttributeInfoList)); + printf("%s;%zu;%zu\n", "GFileAttributeStatus", sizeof(GFileAttributeStatus), alignof(GFileAttributeStatus)); + printf("%s;%zu;%zu\n", "GFileAttributeType", sizeof(GFileAttributeType), alignof(GFileAttributeType)); + printf("%s;%zu;%zu\n", "GFileCopyFlags", sizeof(GFileCopyFlags), alignof(GFileCopyFlags)); + printf("%s;%zu;%zu\n", "GFileCreateFlags", sizeof(GFileCreateFlags), alignof(GFileCreateFlags)); + printf("%s;%zu;%zu\n", "GFileDescriptorBasedIface", sizeof(GFileDescriptorBasedIface), alignof(GFileDescriptorBasedIface)); + printf("%s;%zu;%zu\n", "GFileEnumerator", sizeof(GFileEnumerator), alignof(GFileEnumerator)); + printf("%s;%zu;%zu\n", "GFileEnumeratorClass", sizeof(GFileEnumeratorClass), alignof(GFileEnumeratorClass)); + printf("%s;%zu;%zu\n", "GFileIOStream", sizeof(GFileIOStream), alignof(GFileIOStream)); + printf("%s;%zu;%zu\n", "GFileIOStreamClass", sizeof(GFileIOStreamClass), alignof(GFileIOStreamClass)); + printf("%s;%zu;%zu\n", "GFileIface", sizeof(GFileIface), alignof(GFileIface)); + printf("%s;%zu;%zu\n", "GFileInputStream", sizeof(GFileInputStream), alignof(GFileInputStream)); + printf("%s;%zu;%zu\n", "GFileInputStreamClass", sizeof(GFileInputStreamClass), alignof(GFileInputStreamClass)); + printf("%s;%zu;%zu\n", "GFileMeasureFlags", sizeof(GFileMeasureFlags), alignof(GFileMeasureFlags)); + printf("%s;%zu;%zu\n", "GFileMonitor", sizeof(GFileMonitor), alignof(GFileMonitor)); + printf("%s;%zu;%zu\n", "GFileMonitorClass", sizeof(GFileMonitorClass), alignof(GFileMonitorClass)); + printf("%s;%zu;%zu\n", "GFileMonitorEvent", sizeof(GFileMonitorEvent), alignof(GFileMonitorEvent)); + printf("%s;%zu;%zu\n", "GFileMonitorFlags", sizeof(GFileMonitorFlags), alignof(GFileMonitorFlags)); + printf("%s;%zu;%zu\n", "GFileOutputStream", sizeof(GFileOutputStream), alignof(GFileOutputStream)); + printf("%s;%zu;%zu\n", "GFileOutputStreamClass", sizeof(GFileOutputStreamClass), alignof(GFileOutputStreamClass)); + printf("%s;%zu;%zu\n", "GFileQueryInfoFlags", sizeof(GFileQueryInfoFlags), alignof(GFileQueryInfoFlags)); + printf("%s;%zu;%zu\n", "GFileType", sizeof(GFileType), alignof(GFileType)); + printf("%s;%zu;%zu\n", "GFilenameCompleterClass", sizeof(GFilenameCompleterClass), alignof(GFilenameCompleterClass)); + printf("%s;%zu;%zu\n", "GFilesystemPreviewType", sizeof(GFilesystemPreviewType), alignof(GFilesystemPreviewType)); + printf("%s;%zu;%zu\n", "GFilterInputStream", sizeof(GFilterInputStream), alignof(GFilterInputStream)); + printf("%s;%zu;%zu\n", "GFilterInputStreamClass", sizeof(GFilterInputStreamClass), alignof(GFilterInputStreamClass)); + printf("%s;%zu;%zu\n", "GFilterOutputStream", sizeof(GFilterOutputStream), alignof(GFilterOutputStream)); + printf("%s;%zu;%zu\n", "GFilterOutputStreamClass", sizeof(GFilterOutputStreamClass), alignof(GFilterOutputStreamClass)); + printf("%s;%zu;%zu\n", "GIOErrorEnum", sizeof(GIOErrorEnum), alignof(GIOErrorEnum)); + printf("%s;%zu;%zu\n", "GIOModuleScopeFlags", sizeof(GIOModuleScopeFlags), alignof(GIOModuleScopeFlags)); + printf("%s;%zu;%zu\n", "GIOStream", sizeof(GIOStream), alignof(GIOStream)); + printf("%s;%zu;%zu\n", "GIOStreamClass", sizeof(GIOStreamClass), alignof(GIOStreamClass)); + printf("%s;%zu;%zu\n", "GIOStreamSpliceFlags", sizeof(GIOStreamSpliceFlags), alignof(GIOStreamSpliceFlags)); + printf("%s;%zu;%zu\n", "GIconIface", sizeof(GIconIface), alignof(GIconIface)); + printf("%s;%zu;%zu\n", "GInetAddress", sizeof(GInetAddress), alignof(GInetAddress)); + printf("%s;%zu;%zu\n", "GInetAddressClass", sizeof(GInetAddressClass), alignof(GInetAddressClass)); + printf("%s;%zu;%zu\n", "GInetAddressMask", sizeof(GInetAddressMask), alignof(GInetAddressMask)); + printf("%s;%zu;%zu\n", "GInetAddressMaskClass", sizeof(GInetAddressMaskClass), alignof(GInetAddressMaskClass)); + printf("%s;%zu;%zu\n", "GInetSocketAddress", sizeof(GInetSocketAddress), alignof(GInetSocketAddress)); + printf("%s;%zu;%zu\n", "GInetSocketAddressClass", sizeof(GInetSocketAddressClass), alignof(GInetSocketAddressClass)); + printf("%s;%zu;%zu\n", "GInitableIface", sizeof(GInitableIface), alignof(GInitableIface)); + printf("%s;%zu;%zu\n", "GInputMessage", sizeof(GInputMessage), alignof(GInputMessage)); + printf("%s;%zu;%zu\n", "GInputStream", sizeof(GInputStream), alignof(GInputStream)); + printf("%s;%zu;%zu\n", "GInputStreamClass", sizeof(GInputStreamClass), alignof(GInputStreamClass)); + printf("%s;%zu;%zu\n", "GInputVector", sizeof(GInputVector), alignof(GInputVector)); + printf("%s;%zu;%zu\n", "GListModelInterface", sizeof(GListModelInterface), alignof(GListModelInterface)); + printf("%s;%zu;%zu\n", "GListStoreClass", sizeof(GListStoreClass), alignof(GListStoreClass)); + printf("%s;%zu;%zu\n", "GLoadableIconIface", sizeof(GLoadableIconIface), alignof(GLoadableIconIface)); + printf("%s;%zu;%zu\n", "GMemoryInputStream", sizeof(GMemoryInputStream), alignof(GMemoryInputStream)); + printf("%s;%zu;%zu\n", "GMemoryInputStreamClass", sizeof(GMemoryInputStreamClass), alignof(GMemoryInputStreamClass)); + printf("%s;%zu;%zu\n", "GMemoryMonitorInterface", sizeof(GMemoryMonitorInterface), alignof(GMemoryMonitorInterface)); + printf("%s;%zu;%zu\n", "GMemoryMonitorWarningLevel", sizeof(GMemoryMonitorWarningLevel), alignof(GMemoryMonitorWarningLevel)); + printf("%s;%zu;%zu\n", "GMemoryOutputStream", sizeof(GMemoryOutputStream), alignof(GMemoryOutputStream)); + printf("%s;%zu;%zu\n", "GMemoryOutputStreamClass", sizeof(GMemoryOutputStreamClass), alignof(GMemoryOutputStreamClass)); + printf("%s;%zu;%zu\n", "GMenuAttributeIter", sizeof(GMenuAttributeIter), alignof(GMenuAttributeIter)); + printf("%s;%zu;%zu\n", "GMenuAttributeIterClass", sizeof(GMenuAttributeIterClass), alignof(GMenuAttributeIterClass)); + printf("%s;%zu;%zu\n", "GMenuLinkIter", sizeof(GMenuLinkIter), alignof(GMenuLinkIter)); + printf("%s;%zu;%zu\n", "GMenuLinkIterClass", sizeof(GMenuLinkIterClass), alignof(GMenuLinkIterClass)); + printf("%s;%zu;%zu\n", "GMenuModel", sizeof(GMenuModel), alignof(GMenuModel)); + printf("%s;%zu;%zu\n", "GMenuModelClass", sizeof(GMenuModelClass), alignof(GMenuModelClass)); + printf("%s;%zu;%zu\n", "GMountIface", sizeof(GMountIface), alignof(GMountIface)); + printf("%s;%zu;%zu\n", "GMountMountFlags", sizeof(GMountMountFlags), alignof(GMountMountFlags)); + printf("%s;%zu;%zu\n", "GMountOperation", sizeof(GMountOperation), alignof(GMountOperation)); + printf("%s;%zu;%zu\n", "GMountOperationClass", sizeof(GMountOperationClass), alignof(GMountOperationClass)); + printf("%s;%zu;%zu\n", "GMountOperationResult", sizeof(GMountOperationResult), alignof(GMountOperationResult)); + printf("%s;%zu;%zu\n", "GMountUnmountFlags", sizeof(GMountUnmountFlags), alignof(GMountUnmountFlags)); + printf("%s;%zu;%zu\n", "GNativeSocketAddress", sizeof(GNativeSocketAddress), alignof(GNativeSocketAddress)); + printf("%s;%zu;%zu\n", "GNativeSocketAddressClass", sizeof(GNativeSocketAddressClass), alignof(GNativeSocketAddressClass)); + printf("%s;%zu;%zu\n", "GNativeVolumeMonitor", sizeof(GNativeVolumeMonitor), alignof(GNativeVolumeMonitor)); + printf("%s;%zu;%zu\n", "GNativeVolumeMonitorClass", sizeof(GNativeVolumeMonitorClass), alignof(GNativeVolumeMonitorClass)); + printf("%s;%zu;%zu\n", "GNetworkAddress", sizeof(GNetworkAddress), alignof(GNetworkAddress)); + printf("%s;%zu;%zu\n", "GNetworkAddressClass", sizeof(GNetworkAddressClass), alignof(GNetworkAddressClass)); + printf("%s;%zu;%zu\n", "GNetworkConnectivity", sizeof(GNetworkConnectivity), alignof(GNetworkConnectivity)); + printf("%s;%zu;%zu\n", "GNetworkMonitorInterface", sizeof(GNetworkMonitorInterface), alignof(GNetworkMonitorInterface)); + printf("%s;%zu;%zu\n", "GNetworkService", sizeof(GNetworkService), alignof(GNetworkService)); + printf("%s;%zu;%zu\n", "GNetworkServiceClass", sizeof(GNetworkServiceClass), alignof(GNetworkServiceClass)); + printf("%s;%zu;%zu\n", "GNotificationPriority", sizeof(GNotificationPriority), alignof(GNotificationPriority)); + printf("%s;%zu;%zu\n", "GOutputMessage", sizeof(GOutputMessage), alignof(GOutputMessage)); + printf("%s;%zu;%zu\n", "GOutputStream", sizeof(GOutputStream), alignof(GOutputStream)); + printf("%s;%zu;%zu\n", "GOutputStreamClass", sizeof(GOutputStreamClass), alignof(GOutputStreamClass)); + printf("%s;%zu;%zu\n", "GOutputStreamSpliceFlags", sizeof(GOutputStreamSpliceFlags), alignof(GOutputStreamSpliceFlags)); + printf("%s;%zu;%zu\n", "GOutputVector", sizeof(GOutputVector), alignof(GOutputVector)); + printf("%s;%zu;%zu\n", "GPasswordSave", sizeof(GPasswordSave), alignof(GPasswordSave)); + printf("%s;%zu;%zu\n", "GPermission", sizeof(GPermission), alignof(GPermission)); + printf("%s;%zu;%zu\n", "GPermissionClass", sizeof(GPermissionClass), alignof(GPermissionClass)); + printf("%s;%zu;%zu\n", "GPollableInputStreamInterface", sizeof(GPollableInputStreamInterface), alignof(GPollableInputStreamInterface)); + printf("%s;%zu;%zu\n", "GPollableOutputStreamInterface", sizeof(GPollableOutputStreamInterface), alignof(GPollableOutputStreamInterface)); + printf("%s;%zu;%zu\n", "GPollableReturn", sizeof(GPollableReturn), alignof(GPollableReturn)); + printf("%s;%zu;%zu\n", "GProxyAddress", sizeof(GProxyAddress), alignof(GProxyAddress)); + printf("%s;%zu;%zu\n", "GProxyAddressClass", sizeof(GProxyAddressClass), alignof(GProxyAddressClass)); + printf("%s;%zu;%zu\n", "GProxyAddressEnumerator", sizeof(GProxyAddressEnumerator), alignof(GProxyAddressEnumerator)); + printf("%s;%zu;%zu\n", "GProxyAddressEnumeratorClass", sizeof(GProxyAddressEnumeratorClass), alignof(GProxyAddressEnumeratorClass)); + printf("%s;%zu;%zu\n", "GProxyInterface", sizeof(GProxyInterface), alignof(GProxyInterface)); + printf("%s;%zu;%zu\n", "GProxyResolverInterface", sizeof(GProxyResolverInterface), alignof(GProxyResolverInterface)); + printf("%s;%zu;%zu\n", "GRemoteActionGroupInterface", sizeof(GRemoteActionGroupInterface), alignof(GRemoteActionGroupInterface)); + printf("%s;%zu;%zu\n", "GResolver", sizeof(GResolver), alignof(GResolver)); + printf("%s;%zu;%zu\n", "GResolverClass", sizeof(GResolverClass), alignof(GResolverClass)); + printf("%s;%zu;%zu\n", "GResolverError", sizeof(GResolverError), alignof(GResolverError)); + printf("%s;%zu;%zu\n", "GResolverNameLookupFlags", sizeof(GResolverNameLookupFlags), alignof(GResolverNameLookupFlags)); + printf("%s;%zu;%zu\n", "GResolverRecordType", sizeof(GResolverRecordType), alignof(GResolverRecordType)); + printf("%s;%zu;%zu\n", "GResourceError", sizeof(GResourceError), alignof(GResourceError)); + printf("%s;%zu;%zu\n", "GResourceFlags", sizeof(GResourceFlags), alignof(GResourceFlags)); + printf("%s;%zu;%zu\n", "GResourceLookupFlags", sizeof(GResourceLookupFlags), alignof(GResourceLookupFlags)); + printf("%s;%zu;%zu\n", "GSeekableIface", sizeof(GSeekableIface), alignof(GSeekableIface)); + printf("%s;%zu;%zu\n", "GSettings", sizeof(GSettings), alignof(GSettings)); + printf("%s;%zu;%zu\n", "GSettingsBackend", sizeof(GSettingsBackend), alignof(GSettingsBackend)); + printf("%s;%zu;%zu\n", "GSettingsBackendClass", sizeof(GSettingsBackendClass), alignof(GSettingsBackendClass)); + printf("%s;%zu;%zu\n", "GSettingsBindFlags", sizeof(GSettingsBindFlags), alignof(GSettingsBindFlags)); + printf("%s;%zu;%zu\n", "GSettingsClass", sizeof(GSettingsClass), alignof(GSettingsClass)); + printf("%s;%zu;%zu\n", "GSimpleActionGroup", sizeof(GSimpleActionGroup), alignof(GSimpleActionGroup)); + printf("%s;%zu;%zu\n", "GSimpleActionGroupClass", sizeof(GSimpleActionGroupClass), alignof(GSimpleActionGroupClass)); + printf("%s;%zu;%zu\n", "GSimpleProxyResolver", sizeof(GSimpleProxyResolver), alignof(GSimpleProxyResolver)); + printf("%s;%zu;%zu\n", "GSimpleProxyResolverClass", sizeof(GSimpleProxyResolverClass), alignof(GSimpleProxyResolverClass)); + printf("%s;%zu;%zu\n", "GSocket", sizeof(GSocket), alignof(GSocket)); + printf("%s;%zu;%zu\n", "GSocketAddress", sizeof(GSocketAddress), alignof(GSocketAddress)); + printf("%s;%zu;%zu\n", "GSocketAddressClass", sizeof(GSocketAddressClass), alignof(GSocketAddressClass)); + printf("%s;%zu;%zu\n", "GSocketAddressEnumerator", sizeof(GSocketAddressEnumerator), alignof(GSocketAddressEnumerator)); + printf("%s;%zu;%zu\n", "GSocketAddressEnumeratorClass", sizeof(GSocketAddressEnumeratorClass), alignof(GSocketAddressEnumeratorClass)); + printf("%s;%zu;%zu\n", "GSocketClass", sizeof(GSocketClass), alignof(GSocketClass)); + printf("%s;%zu;%zu\n", "GSocketClient", sizeof(GSocketClient), alignof(GSocketClient)); + printf("%s;%zu;%zu\n", "GSocketClientClass", sizeof(GSocketClientClass), alignof(GSocketClientClass)); + printf("%s;%zu;%zu\n", "GSocketClientEvent", sizeof(GSocketClientEvent), alignof(GSocketClientEvent)); + printf("%s;%zu;%zu\n", "GSocketConnectableIface", sizeof(GSocketConnectableIface), alignof(GSocketConnectableIface)); + printf("%s;%zu;%zu\n", "GSocketConnection", sizeof(GSocketConnection), alignof(GSocketConnection)); + printf("%s;%zu;%zu\n", "GSocketConnectionClass", sizeof(GSocketConnectionClass), alignof(GSocketConnectionClass)); + printf("%s;%zu;%zu\n", "GSocketControlMessage", sizeof(GSocketControlMessage), alignof(GSocketControlMessage)); + printf("%s;%zu;%zu\n", "GSocketControlMessageClass", sizeof(GSocketControlMessageClass), alignof(GSocketControlMessageClass)); + printf("%s;%zu;%zu\n", "GSocketFamily", sizeof(GSocketFamily), alignof(GSocketFamily)); + printf("%s;%zu;%zu\n", "GSocketListener", sizeof(GSocketListener), alignof(GSocketListener)); + printf("%s;%zu;%zu\n", "GSocketListenerClass", sizeof(GSocketListenerClass), alignof(GSocketListenerClass)); + printf("%s;%zu;%zu\n", "GSocketListenerEvent", sizeof(GSocketListenerEvent), alignof(GSocketListenerEvent)); + printf("%s;%zu;%zu\n", "GSocketMsgFlags", sizeof(GSocketMsgFlags), alignof(GSocketMsgFlags)); + printf("%s;%zu;%zu\n", "GSocketProtocol", sizeof(GSocketProtocol), alignof(GSocketProtocol)); + printf("%s;%zu;%zu\n", "GSocketService", sizeof(GSocketService), alignof(GSocketService)); + printf("%s;%zu;%zu\n", "GSocketServiceClass", sizeof(GSocketServiceClass), alignof(GSocketServiceClass)); + printf("%s;%zu;%zu\n", "GSocketType", sizeof(GSocketType), alignof(GSocketType)); + printf("%s;%zu;%zu\n", "GStaticResource", sizeof(GStaticResource), alignof(GStaticResource)); + printf("%s;%zu;%zu\n", "GSubprocessFlags", sizeof(GSubprocessFlags), alignof(GSubprocessFlags)); + printf("%s;%zu;%zu\n", "GTcpConnection", sizeof(GTcpConnection), alignof(GTcpConnection)); + printf("%s;%zu;%zu\n", "GTcpConnectionClass", sizeof(GTcpConnectionClass), alignof(GTcpConnectionClass)); + printf("%s;%zu;%zu\n", "GTcpWrapperConnection", sizeof(GTcpWrapperConnection), alignof(GTcpWrapperConnection)); + printf("%s;%zu;%zu\n", "GTcpWrapperConnectionClass", sizeof(GTcpWrapperConnectionClass), alignof(GTcpWrapperConnectionClass)); + printf("%s;%zu;%zu\n", "GTestDBusFlags", sizeof(GTestDBusFlags), alignof(GTestDBusFlags)); + printf("%s;%zu;%zu\n", "GThreadedSocketService", sizeof(GThreadedSocketService), alignof(GThreadedSocketService)); + printf("%s;%zu;%zu\n", "GThreadedSocketServiceClass", sizeof(GThreadedSocketServiceClass), alignof(GThreadedSocketServiceClass)); + printf("%s;%zu;%zu\n", "GTlsAuthenticationMode", sizeof(GTlsAuthenticationMode), alignof(GTlsAuthenticationMode)); + printf("%s;%zu;%zu\n", "GTlsBackendInterface", sizeof(GTlsBackendInterface), alignof(GTlsBackendInterface)); + printf("%s;%zu;%zu\n", "GTlsCertificate", sizeof(GTlsCertificate), alignof(GTlsCertificate)); + printf("%s;%zu;%zu\n", "GTlsCertificateClass", sizeof(GTlsCertificateClass), alignof(GTlsCertificateClass)); + printf("%s;%zu;%zu\n", "GTlsCertificateFlags", sizeof(GTlsCertificateFlags), alignof(GTlsCertificateFlags)); + printf("%s;%zu;%zu\n", "GTlsCertificateRequestFlags", sizeof(GTlsCertificateRequestFlags), alignof(GTlsCertificateRequestFlags)); + printf("%s;%zu;%zu\n", "GTlsChannelBindingError", sizeof(GTlsChannelBindingError), alignof(GTlsChannelBindingError)); + printf("%s;%zu;%zu\n", "GTlsChannelBindingType", sizeof(GTlsChannelBindingType), alignof(GTlsChannelBindingType)); + printf("%s;%zu;%zu\n", "GTlsClientConnectionInterface", sizeof(GTlsClientConnectionInterface), alignof(GTlsClientConnectionInterface)); + printf("%s;%zu;%zu\n", "GTlsConnection", sizeof(GTlsConnection), alignof(GTlsConnection)); + printf("%s;%zu;%zu\n", "GTlsConnectionClass", sizeof(GTlsConnectionClass), alignof(GTlsConnectionClass)); + printf("%s;%zu;%zu\n", "GTlsDatabase", sizeof(GTlsDatabase), alignof(GTlsDatabase)); + printf("%s;%zu;%zu\n", "GTlsDatabaseClass", sizeof(GTlsDatabaseClass), alignof(GTlsDatabaseClass)); + printf("%s;%zu;%zu\n", "GTlsDatabaseLookupFlags", sizeof(GTlsDatabaseLookupFlags), alignof(GTlsDatabaseLookupFlags)); + printf("%s;%zu;%zu\n", "GTlsDatabaseVerifyFlags", sizeof(GTlsDatabaseVerifyFlags), alignof(GTlsDatabaseVerifyFlags)); + printf("%s;%zu;%zu\n", "GTlsError", sizeof(GTlsError), alignof(GTlsError)); + printf("%s;%zu;%zu\n", "GTlsFileDatabaseInterface", sizeof(GTlsFileDatabaseInterface), alignof(GTlsFileDatabaseInterface)); + printf("%s;%zu;%zu\n", "GTlsInteraction", sizeof(GTlsInteraction), alignof(GTlsInteraction)); + printf("%s;%zu;%zu\n", "GTlsInteractionClass", sizeof(GTlsInteractionClass), alignof(GTlsInteractionClass)); + printf("%s;%zu;%zu\n", "GTlsInteractionResult", sizeof(GTlsInteractionResult), alignof(GTlsInteractionResult)); + printf("%s;%zu;%zu\n", "GTlsPassword", sizeof(GTlsPassword), alignof(GTlsPassword)); + printf("%s;%zu;%zu\n", "GTlsPasswordClass", sizeof(GTlsPasswordClass), alignof(GTlsPasswordClass)); + printf("%s;%zu;%zu\n", "GTlsPasswordFlags", sizeof(GTlsPasswordFlags), alignof(GTlsPasswordFlags)); + printf("%s;%zu;%zu\n", "GTlsRehandshakeMode", sizeof(GTlsRehandshakeMode), alignof(GTlsRehandshakeMode)); + printf("%s;%zu;%zu\n", "GTlsServerConnectionInterface", sizeof(GTlsServerConnectionInterface), alignof(GTlsServerConnectionInterface)); + printf("%s;%zu;%zu\n", "GUnixConnection", sizeof(GUnixConnection), alignof(GUnixConnection)); + printf("%s;%zu;%zu\n", "GUnixConnectionClass", sizeof(GUnixConnectionClass), alignof(GUnixConnectionClass)); + printf("%s;%zu;%zu\n", "GUnixCredentialsMessage", sizeof(GUnixCredentialsMessage), alignof(GUnixCredentialsMessage)); + printf("%s;%zu;%zu\n", "GUnixCredentialsMessageClass", sizeof(GUnixCredentialsMessageClass), alignof(GUnixCredentialsMessageClass)); + printf("%s;%zu;%zu\n", "GUnixFDList", sizeof(GUnixFDList), alignof(GUnixFDList)); + printf("%s;%zu;%zu\n", "GUnixFDListClass", sizeof(GUnixFDListClass), alignof(GUnixFDListClass)); + printf("%s;%zu;%zu\n", "GUnixFDMessage", sizeof(GUnixFDMessage), alignof(GUnixFDMessage)); + printf("%s;%zu;%zu\n", "GUnixFDMessageClass", sizeof(GUnixFDMessageClass), alignof(GUnixFDMessageClass)); + printf("%s;%zu;%zu\n", "GUnixInputStream", sizeof(GUnixInputStream), alignof(GUnixInputStream)); + printf("%s;%zu;%zu\n", "GUnixInputStreamClass", sizeof(GUnixInputStreamClass), alignof(GUnixInputStreamClass)); + printf("%s;%zu;%zu\n", "GUnixOutputStream", sizeof(GUnixOutputStream), alignof(GUnixOutputStream)); + printf("%s;%zu;%zu\n", "GUnixOutputStreamClass", sizeof(GUnixOutputStreamClass), alignof(GUnixOutputStreamClass)); + printf("%s;%zu;%zu\n", "GUnixSocketAddress", sizeof(GUnixSocketAddress), alignof(GUnixSocketAddress)); + printf("%s;%zu;%zu\n", "GUnixSocketAddressClass", sizeof(GUnixSocketAddressClass), alignof(GUnixSocketAddressClass)); + printf("%s;%zu;%zu\n", "GUnixSocketAddressType", sizeof(GUnixSocketAddressType), alignof(GUnixSocketAddressType)); + printf("%s;%zu;%zu\n", "GVfs", sizeof(GVfs), alignof(GVfs)); + printf("%s;%zu;%zu\n", "GVfsClass", sizeof(GVfsClass), alignof(GVfsClass)); + printf("%s;%zu;%zu\n", "GVolumeIface", sizeof(GVolumeIface), alignof(GVolumeIface)); + printf("%s;%zu;%zu\n", "GVolumeMonitor", sizeof(GVolumeMonitor), alignof(GVolumeMonitor)); + printf("%s;%zu;%zu\n", "GVolumeMonitorClass", sizeof(GVolumeMonitorClass), alignof(GVolumeMonitorClass)); + printf("%s;%zu;%zu\n", "GZlibCompressorClass", sizeof(GZlibCompressorClass), alignof(GZlibCompressorClass)); + printf("%s;%zu;%zu\n", "GZlibCompressorFormat", sizeof(GZlibCompressorFormat), alignof(GZlibCompressorFormat)); + printf("%s;%zu;%zu\n", "GZlibDecompressorClass", sizeof(GZlibDecompressorClass), alignof(GZlibDecompressorClass)); return 0; } diff --git a/gio/sys/versions.txt b/gio/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gio/sys/versions.txt +++ b/gio/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gir b/gir index 21213ed18b40..1c7b41a5edce 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 21213ed18b4073b478e28fa29a63908204ea70a4 +Subproject commit 1c7b41a5edceb88be75473974405044abee2bd8c diff --git a/glib/gobject-sys/tests/abi.rs b/glib/gobject-sys/tests/abi.rs index c3e11e2290c1..8ddc3b63d6b7 100644 --- a/glib/gobject-sys/tests/abi.rs +++ b/glib/gobject-sys/tests/abi.rs @@ -5,6 +5,7 @@ use gobject_sys::*; use std::env; use std::error::Error; +use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; use std::process::Command; @@ -22,6 +23,8 @@ impl Compiler { pub fn new() -> Result> { let mut args = get_var("CC", "cc")?; args.push("-Wno-deprecated-declarations".to_owned()); + // For _Generic + args.push("-std=c11".to_owned()); // For %z support in printf when using MinGW. args.push("-D__USE_MINGW_ANSI_STDIO".to_owned()); args.extend(get_var("CFLAGS", "")?); @@ -30,14 +33,6 @@ impl Compiler { Ok(Compiler { args }) } - pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { - let arg = match val.into() { - None => format!("-D{}", var), - Some(val) => format!("-D{}={}", var, val), - }; - self.args.push(arg); - } - pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box> { let mut cmd = self.to_command(); cmd.arg(src); @@ -69,7 +64,8 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { if packages.is_empty() { return Ok(Vec::new()); } - let mut cmd = Command::new("pkg-config"); + let pkg_config = env::var_os("PKG_CONFIG").unwrap_or_else(|| OsString::from("pkg-config")); + let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); let out = cmd.output()?; @@ -92,8 +88,6 @@ struct Results { passed: usize, /// Total number of failed tests (including those that failed to compile). failed: usize, - /// Number of tests that failed to compile. - failed_to_compile: usize, } impl Results { @@ -103,15 +97,8 @@ impl Results { fn record_failed(&mut self) { self.failed += 1; } - fn record_failed_to_compile(&mut self) { - self.failed += 1; - self.failed_to_compile += 1; - } fn summary(&self) -> String { - format!( - "{} passed; {} failed (compilation errors: {})", - self.passed, self.failed, self.failed_to_compile - ) + format!("{} passed; {} failed", self.passed, self.failed) } fn expect_total_success(&self) { if self.failed == 0 { @@ -124,111 +111,94 @@ impl Results { #[test] fn cross_validate_constants_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_constants: Vec<(String, String)> = Vec::new(); - assert_eq!( - "1", - get_c_value(tmpdir.path(), &cc, "1").expect("C constant"), - "failed to obtain correct constant value for 1" - ); + for l in get_c_output("constant").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let value = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse value"); + c_constants.push((name, value)); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() { - match get_c_value(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(ref c_value) => { - if rust_value == c_value { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_value, c_value - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("constants ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_value), (c_name, c_value)) in + RUST_CONSTANTS.iter().zip(c_constants.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; + } + + if rust_value != c_value { + results.record_failed(); + eprintln!( + "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_value, &c_value + ); + continue; } + + results.record_passed(); } + results.expect_total_success(); } #[test] fn cross_validate_layout_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_layouts = Vec::new(); - assert_eq!( - Layout { - size: 1, - alignment: 1 - }, - get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"), - "failed to obtain correct layout for char type" - ); + for l in get_c_output("layout").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let size = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse size"); + let alignment = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse alignment"); + c_layouts.push((name, Layout { size, alignment })); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() { - match get_c_layout(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(c_layout) => { - if rust_layout == c_layout { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Layout mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_layout, &c_layout - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("layout ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_layout), (c_name, c_layout)) in RUST_LAYOUTS.iter().zip(c_layouts.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; } - } - results.expect_total_success(); -} -fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("layout"); - let mut cc = cc.clone(); - cc.define("ABI_TYPE_NAME", name); - cc.compile(Path::new("tests/layout.c"), &exe)?; + if rust_layout != c_layout { + results.record_failed(); + eprintln!( + "Layout mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_layout, &c_layout + ); + continue; + } - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into()); + results.record_passed(); } - let stdout = str::from_utf8(&output.stdout)?; - let mut words = stdout.trim().split_whitespace(); - let size = words.next().unwrap().parse().unwrap(); - let alignment = words.next().unwrap().parse().unwrap(); - Ok(Layout { size, alignment }) + results.expect_total_success(); } -fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("constant"); - let mut cc = cc.clone(); - cc.define("ABI_CONSTANT_NAME", name); - cc.compile(Path::new("tests/constant.c"), &exe)?; +fn get_c_output(name: &str) -> Result> { + let tmpdir = Builder::new().prefix("abi").tempdir()?; + let exe = tmpdir.path().join(name); + let c_file = Path::new("tests").join(name).with_extension("c"); + + let cc = Compiler::new().expect("configured compiler"); + cc.compile(&c_file, &exe)?; let mut abi_cmd = Command::new(exe); let output = abi_cmd.output()?; @@ -236,16 +206,7 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result +#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", \ + double: "%f", \ + long double: "%ld"), \ + CONSTANT_NAME); \ + printf("\n"); + int main() { - printf(_Generic((ABI_CONSTANT_NAME), - char *: "###gir test###%s###gir test###\n", - const char *: "###gir test###%s###gir test###\n", - char: "###gir test###%c###gir test###\n", - signed char: "###gir test###%hhd###gir test###\n", - unsigned char: "###gir test###%hhu###gir test###\n", - short int: "###gir test###%hd###gir test###\n", - unsigned short int: "###gir test###%hu###gir test###\n", - int: "###gir test###%d###gir test###\n", - unsigned int: "###gir test###%u###gir test###\n", - long: "###gir test###%ld###gir test###\n", - unsigned long: "###gir test###%lu###gir test###\n", - long long: "###gir test###%lld###gir test###\n", - unsigned long long: "###gir test###%llu###gir test###\n", - double: "###gir test###%f###gir test###\n", - long double: "###gir test###%ld###gir test###\n"), - ABI_CONSTANT_NAME); + PRINT_CONSTANT((guint) G_BINDING_BIDIRECTIONAL); + PRINT_CONSTANT((guint) G_BINDING_DEFAULT); + PRINT_CONSTANT((guint) G_BINDING_INVERT_BOOLEAN); + PRINT_CONSTANT((guint) G_BINDING_SYNC_CREATE); + PRINT_CONSTANT((guint) G_CONNECT_AFTER); + PRINT_CONSTANT((guint) G_CONNECT_SWAPPED); + PRINT_CONSTANT((guint) G_PARAM_CONSTRUCT); + PRINT_CONSTANT((guint) G_PARAM_CONSTRUCT_ONLY); + PRINT_CONSTANT((guint) G_PARAM_DEPRECATED); + PRINT_CONSTANT((guint) G_PARAM_EXPLICIT_NOTIFY); + PRINT_CONSTANT((guint) G_PARAM_LAX_VALIDATION); + PRINT_CONSTANT(G_PARAM_MASK); + PRINT_CONSTANT((guint) G_PARAM_PRIVATE); + PRINT_CONSTANT((guint) G_PARAM_READABLE); + PRINT_CONSTANT((guint) G_PARAM_READWRITE); + PRINT_CONSTANT((guint) G_PARAM_STATIC_BLURB); + PRINT_CONSTANT((guint) G_PARAM_STATIC_NAME); + PRINT_CONSTANT((guint) G_PARAM_STATIC_NICK); + PRINT_CONSTANT(G_PARAM_STATIC_STRINGS); + PRINT_CONSTANT(G_PARAM_USER_SHIFT); + PRINT_CONSTANT((guint) G_PARAM_WRITABLE); + PRINT_CONSTANT((guint) G_SIGNAL_ACTION); + PRINT_CONSTANT((guint) G_SIGNAL_DEPRECATED); + PRINT_CONSTANT((guint) G_SIGNAL_DETAILED); + PRINT_CONSTANT(G_SIGNAL_FLAGS_MASK); + PRINT_CONSTANT((guint) G_SIGNAL_MATCH_CLOSURE); + PRINT_CONSTANT((guint) G_SIGNAL_MATCH_DATA); + PRINT_CONSTANT((guint) G_SIGNAL_MATCH_DETAIL); + PRINT_CONSTANT((guint) G_SIGNAL_MATCH_FUNC); + PRINT_CONSTANT((guint) G_SIGNAL_MATCH_ID); + PRINT_CONSTANT(G_SIGNAL_MATCH_MASK); + PRINT_CONSTANT((guint) G_SIGNAL_MATCH_UNBLOCKED); + PRINT_CONSTANT((guint) G_SIGNAL_MUST_COLLECT); + PRINT_CONSTANT((guint) G_SIGNAL_NO_HOOKS); + PRINT_CONSTANT((guint) G_SIGNAL_NO_RECURSE); + PRINT_CONSTANT((guint) G_SIGNAL_RUN_CLEANUP); + PRINT_CONSTANT((guint) G_SIGNAL_RUN_FIRST); + PRINT_CONSTANT((guint) G_SIGNAL_RUN_LAST); + PRINT_CONSTANT((guint) G_TYPE_DEBUG_INSTANCE_COUNT); + PRINT_CONSTANT((guint) G_TYPE_DEBUG_MASK); + PRINT_CONSTANT((guint) G_TYPE_DEBUG_NONE); + PRINT_CONSTANT((guint) G_TYPE_DEBUG_OBJECTS); + PRINT_CONSTANT((guint) G_TYPE_DEBUG_SIGNALS); + PRINT_CONSTANT((guint) G_TYPE_FLAG_ABSTRACT); + PRINT_CONSTANT((guint) G_TYPE_FLAG_CLASSED); + PRINT_CONSTANT((guint) G_TYPE_FLAG_DEEP_DERIVABLE); + PRINT_CONSTANT((guint) G_TYPE_FLAG_DERIVABLE); + PRINT_CONSTANT((guint) G_TYPE_FLAG_INSTANTIATABLE); + PRINT_CONSTANT(G_TYPE_FLAG_RESERVED_ID_BIT); + PRINT_CONSTANT((guint) G_TYPE_FLAG_VALUE_ABSTRACT); + PRINT_CONSTANT(G_TYPE_FUNDAMENTAL_MAX); + PRINT_CONSTANT(G_TYPE_FUNDAMENTAL_SHIFT); + PRINT_CONSTANT(G_TYPE_RESERVED_BSE_FIRST); + PRINT_CONSTANT(G_TYPE_RESERVED_BSE_LAST); + PRINT_CONSTANT(G_TYPE_RESERVED_GLIB_FIRST); + PRINT_CONSTANT(G_TYPE_RESERVED_GLIB_LAST); + PRINT_CONSTANT(G_TYPE_RESERVED_USER_FIRST); + PRINT_CONSTANT(G_VALUE_INTERNED_STRING); + PRINT_CONSTANT(G_VALUE_NOCOPY_CONTENTS); return 0; } diff --git a/glib/gobject-sys/tests/layout.c b/glib/gobject-sys/tests/layout.c index 45f2ef46113e..528e56993792 100644 --- a/glib/gobject-sys/tests/layout.c +++ b/glib/gobject-sys/tests/layout.c @@ -7,6 +7,66 @@ #include int main() { - printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME)); + printf("%s;%zu;%zu\n", "GBindingFlags", sizeof(GBindingFlags), alignof(GBindingFlags)); + printf("%s;%zu;%zu\n", "GClosureNotifyData", sizeof(GClosureNotifyData), alignof(GClosureNotifyData)); + printf("%s;%zu;%zu\n", "GConnectFlags", sizeof(GConnectFlags), alignof(GConnectFlags)); + printf("%s;%zu;%zu\n", "GEnumClass", sizeof(GEnumClass), alignof(GEnumClass)); + printf("%s;%zu;%zu\n", "GEnumValue", sizeof(GEnumValue), alignof(GEnumValue)); + printf("%s;%zu;%zu\n", "GFlagsClass", sizeof(GFlagsClass), alignof(GFlagsClass)); + printf("%s;%zu;%zu\n", "GFlagsValue", sizeof(GFlagsValue), alignof(GFlagsValue)); + printf("%s;%zu;%zu\n", "GInitiallyUnowned", sizeof(GInitiallyUnowned), alignof(GInitiallyUnowned)); + printf("%s;%zu;%zu\n", "GInitiallyUnownedClass", sizeof(GInitiallyUnownedClass), alignof(GInitiallyUnownedClass)); + printf("%s;%zu;%zu\n", "GInterfaceInfo", sizeof(GInterfaceInfo), alignof(GInterfaceInfo)); + printf("%s;%zu;%zu\n", "GObject", sizeof(GObject), alignof(GObject)); + printf("%s;%zu;%zu\n", "GObjectClass", sizeof(GObjectClass), alignof(GObjectClass)); + printf("%s;%zu;%zu\n", "GObjectConstructParam", sizeof(GObjectConstructParam), alignof(GObjectConstructParam)); + printf("%s;%zu;%zu\n", "GParamFlags", sizeof(GParamFlags), alignof(GParamFlags)); + printf("%s;%zu;%zu\n", "GParamSpec", sizeof(GParamSpec), alignof(GParamSpec)); + printf("%s;%zu;%zu\n", "GParamSpecBoolean", sizeof(GParamSpecBoolean), alignof(GParamSpecBoolean)); + printf("%s;%zu;%zu\n", "GParamSpecBoxed", sizeof(GParamSpecBoxed), alignof(GParamSpecBoxed)); + printf("%s;%zu;%zu\n", "GParamSpecChar", sizeof(GParamSpecChar), alignof(GParamSpecChar)); + printf("%s;%zu;%zu\n", "GParamSpecClass", sizeof(GParamSpecClass), alignof(GParamSpecClass)); + printf("%s;%zu;%zu\n", "GParamSpecDouble", sizeof(GParamSpecDouble), alignof(GParamSpecDouble)); + printf("%s;%zu;%zu\n", "GParamSpecEnum", sizeof(GParamSpecEnum), alignof(GParamSpecEnum)); + printf("%s;%zu;%zu\n", "GParamSpecFlags", sizeof(GParamSpecFlags), alignof(GParamSpecFlags)); + printf("%s;%zu;%zu\n", "GParamSpecFloat", sizeof(GParamSpecFloat), alignof(GParamSpecFloat)); + printf("%s;%zu;%zu\n", "GParamSpecGType", sizeof(GParamSpecGType), alignof(GParamSpecGType)); + printf("%s;%zu;%zu\n", "GParamSpecInt", sizeof(GParamSpecInt), alignof(GParamSpecInt)); + printf("%s;%zu;%zu\n", "GParamSpecInt64", sizeof(GParamSpecInt64), alignof(GParamSpecInt64)); + printf("%s;%zu;%zu\n", "GParamSpecLong", sizeof(GParamSpecLong), alignof(GParamSpecLong)); + printf("%s;%zu;%zu\n", "GParamSpecObject", sizeof(GParamSpecObject), alignof(GParamSpecObject)); + printf("%s;%zu;%zu\n", "GParamSpecOverride", sizeof(GParamSpecOverride), alignof(GParamSpecOverride)); + printf("%s;%zu;%zu\n", "GParamSpecParam", sizeof(GParamSpecParam), alignof(GParamSpecParam)); + printf("%s;%zu;%zu\n", "GParamSpecPointer", sizeof(GParamSpecPointer), alignof(GParamSpecPointer)); + printf("%s;%zu;%zu\n", "GParamSpecTypeInfo", sizeof(GParamSpecTypeInfo), alignof(GParamSpecTypeInfo)); + printf("%s;%zu;%zu\n", "GParamSpecUChar", sizeof(GParamSpecUChar), alignof(GParamSpecUChar)); + printf("%s;%zu;%zu\n", "GParamSpecUInt", sizeof(GParamSpecUInt), alignof(GParamSpecUInt)); + printf("%s;%zu;%zu\n", "GParamSpecUInt64", sizeof(GParamSpecUInt64), alignof(GParamSpecUInt64)); + printf("%s;%zu;%zu\n", "GParamSpecULong", sizeof(GParamSpecULong), alignof(GParamSpecULong)); + printf("%s;%zu;%zu\n", "GParamSpecUnichar", sizeof(GParamSpecUnichar), alignof(GParamSpecUnichar)); + printf("%s;%zu;%zu\n", "GParamSpecValueArray", sizeof(GParamSpecValueArray), alignof(GParamSpecValueArray)); + printf("%s;%zu;%zu\n", "GParamSpecVariant", sizeof(GParamSpecVariant), alignof(GParamSpecVariant)); + printf("%s;%zu;%zu\n", "GParameter", sizeof(GParameter), alignof(GParameter)); + printf("%s;%zu;%zu\n", "GSignalCMarshaller", sizeof(GSignalCMarshaller), alignof(GSignalCMarshaller)); + printf("%s;%zu;%zu\n", "GSignalFlags", sizeof(GSignalFlags), alignof(GSignalFlags)); + printf("%s;%zu;%zu\n", "GSignalInvocationHint", sizeof(GSignalInvocationHint), alignof(GSignalInvocationHint)); + printf("%s;%zu;%zu\n", "GSignalMatchType", sizeof(GSignalMatchType), alignof(GSignalMatchType)); + printf("%s;%zu;%zu\n", "GSignalQuery", sizeof(GSignalQuery), alignof(GSignalQuery)); + printf("%s;%zu;%zu\n", "GTypeClass", sizeof(GTypeClass), alignof(GTypeClass)); + printf("%s;%zu;%zu\n", "GTypeDebugFlags", sizeof(GTypeDebugFlags), alignof(GTypeDebugFlags)); + printf("%s;%zu;%zu\n", "GTypeFlags", sizeof(GTypeFlags), alignof(GTypeFlags)); + printf("%s;%zu;%zu\n", "GTypeFundamentalFlags", sizeof(GTypeFundamentalFlags), alignof(GTypeFundamentalFlags)); + printf("%s;%zu;%zu\n", "GTypeFundamentalInfo", sizeof(GTypeFundamentalInfo), alignof(GTypeFundamentalInfo)); + printf("%s;%zu;%zu\n", "GTypeInfo", sizeof(GTypeInfo), alignof(GTypeInfo)); + printf("%s;%zu;%zu\n", "GTypeInstance", sizeof(GTypeInstance), alignof(GTypeInstance)); + printf("%s;%zu;%zu\n", "GTypeInterface", sizeof(GTypeInterface), alignof(GTypeInterface)); + printf("%s;%zu;%zu\n", "GTypeModule", sizeof(GTypeModule), alignof(GTypeModule)); + printf("%s;%zu;%zu\n", "GTypeModuleClass", sizeof(GTypeModuleClass), alignof(GTypeModuleClass)); + printf("%s;%zu;%zu\n", "GTypePluginClass", sizeof(GTypePluginClass), alignof(GTypePluginClass)); + printf("%s;%zu;%zu\n", "GTypeQuery", sizeof(GTypeQuery), alignof(GTypeQuery)); + printf("%s;%zu;%zu\n", "GTypeValueTable", sizeof(GTypeValueTable), alignof(GTypeValueTable)); + printf("%s;%zu;%zu\n", "GValue", sizeof(GValue), alignof(GValue)); + printf("%s;%zu;%zu\n", "GValueArray", sizeof(GValueArray), alignof(GValueArray)); + printf("%s;%zu;%zu\n", "GWeakRef", sizeof(GWeakRef), alignof(GWeakRef)); return 0; } diff --git a/glib/gobject-sys/versions.txt b/glib/gobject-sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/glib/gobject-sys/versions.txt +++ b/glib/gobject-sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/glib/src/auto/checksum.rs b/glib/src/auto/checksum.rs index bc1b26e0facc..9da59a7b8c79 100644 --- a/glib/src/auto/checksum.rs +++ b/glib/src/auto/checksum.rs @@ -10,7 +10,7 @@ crate::wrapper! { pub struct Checksum(Boxed); match fn { - copy => |ptr| ffi::g_checksum_copy(mut_override(ptr)), + copy => |ptr| ffi::g_checksum_copy(ptr), free => |ptr| ffi::g_checksum_free(ptr), get_type => || ffi::g_checksum_get_type(), } diff --git a/glib/src/auto/versions.txt b/glib/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/glib/src/auto/versions.txt +++ b/glib/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/glib/sys/tests/abi.rs b/glib/sys/tests/abi.rs index db51c545e43e..4c0689b061b5 100644 --- a/glib/sys/tests/abi.rs +++ b/glib/sys/tests/abi.rs @@ -5,6 +5,7 @@ use glib_sys::*; use std::env; use std::error::Error; +use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; use std::process::Command; @@ -22,6 +23,8 @@ impl Compiler { pub fn new() -> Result> { let mut args = get_var("CC", "cc")?; args.push("-Wno-deprecated-declarations".to_owned()); + // For _Generic + args.push("-std=c11".to_owned()); // For %z support in printf when using MinGW. args.push("-D__USE_MINGW_ANSI_STDIO".to_owned()); args.extend(get_var("CFLAGS", "")?); @@ -30,14 +33,6 @@ impl Compiler { Ok(Compiler { args }) } - pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { - let arg = match val.into() { - None => format!("-D{}", var), - Some(val) => format!("-D{}={}", var, val), - }; - self.args.push(arg); - } - pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box> { let mut cmd = self.to_command(); cmd.arg(src); @@ -69,7 +64,8 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { if packages.is_empty() { return Ok(Vec::new()); } - let mut cmd = Command::new("pkg-config"); + let pkg_config = env::var_os("PKG_CONFIG").unwrap_or_else(|| OsString::from("pkg-config")); + let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); let out = cmd.output()?; @@ -92,8 +88,6 @@ struct Results { passed: usize, /// Total number of failed tests (including those that failed to compile). failed: usize, - /// Number of tests that failed to compile. - failed_to_compile: usize, } impl Results { @@ -103,15 +97,8 @@ impl Results { fn record_failed(&mut self) { self.failed += 1; } - fn record_failed_to_compile(&mut self) { - self.failed += 1; - self.failed_to_compile += 1; - } fn summary(&self) -> String { - format!( - "{} passed; {} failed (compilation errors: {})", - self.passed, self.failed, self.failed_to_compile - ) + format!("{} passed; {} failed", self.passed, self.failed) } fn expect_total_success(&self) { if self.failed == 0 { @@ -124,111 +111,94 @@ impl Results { #[test] fn cross_validate_constants_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_constants: Vec<(String, String)> = Vec::new(); - assert_eq!( - "1", - get_c_value(tmpdir.path(), &cc, "1").expect("C constant"), - "failed to obtain correct constant value for 1" - ); + for l in get_c_output("constant").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let value = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse value"); + c_constants.push((name, value)); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() { - match get_c_value(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(ref c_value) => { - if rust_value == c_value { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_value, c_value - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("constants ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_value), (c_name, c_value)) in + RUST_CONSTANTS.iter().zip(c_constants.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; + } + + if rust_value != c_value { + results.record_failed(); + eprintln!( + "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_value, &c_value + ); + continue; } + + results.record_passed(); } + results.expect_total_success(); } #[test] fn cross_validate_layout_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_layouts = Vec::new(); - assert_eq!( - Layout { - size: 1, - alignment: 1 - }, - get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"), - "failed to obtain correct layout for char type" - ); + for l in get_c_output("layout").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let size = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse size"); + let alignment = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse alignment"); + c_layouts.push((name, Layout { size, alignment })); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() { - match get_c_layout(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(c_layout) => { - if rust_layout == c_layout { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Layout mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_layout, &c_layout - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("layout ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_layout), (c_name, c_layout)) in RUST_LAYOUTS.iter().zip(c_layouts.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; } - } - results.expect_total_success(); -} -fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("layout"); - let mut cc = cc.clone(); - cc.define("ABI_TYPE_NAME", name); - cc.compile(Path::new("tests/layout.c"), &exe)?; + if rust_layout != c_layout { + results.record_failed(); + eprintln!( + "Layout mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_layout, &c_layout + ); + continue; + } - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into()); + results.record_passed(); } - let stdout = str::from_utf8(&output.stdout)?; - let mut words = stdout.trim().split_whitespace(); - let size = words.next().unwrap().parse().unwrap(); - let alignment = words.next().unwrap().parse().unwrap(); - Ok(Layout { size, alignment }) + results.expect_total_success(); } -fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("constant"); - let mut cc = cc.clone(); - cc.define("ABI_CONSTANT_NAME", name); - cc.compile(Path::new("tests/constant.c"), &exe)?; +fn get_c_output(name: &str) -> Result> { + let tmpdir = Builder::new().prefix("abi").tempdir()?; + let exe = tmpdir.path().join(name); + let c_file = Path::new("tests").join(name).with_extension("c"); + + let cc = Compiler::new().expect("configured compiler"); + cc.compile(&c_file, &exe)?; let mut abi_cmd = Command::new(exe); let output = abi_cmd.output()?; @@ -236,16 +206,7 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result +#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", \ + double: "%f", \ + long double: "%ld"), \ + CONSTANT_NAME); \ + printf("\n"); + int main() { - printf(_Generic((ABI_CONSTANT_NAME), - char *: "###gir test###%s###gir test###\n", - const char *: "###gir test###%s###gir test###\n", - char: "###gir test###%c###gir test###\n", - signed char: "###gir test###%hhd###gir test###\n", - unsigned char: "###gir test###%hhu###gir test###\n", - short int: "###gir test###%hd###gir test###\n", - unsigned short int: "###gir test###%hu###gir test###\n", - int: "###gir test###%d###gir test###\n", - unsigned int: "###gir test###%u###gir test###\n", - long: "###gir test###%ld###gir test###\n", - unsigned long: "###gir test###%lu###gir test###\n", - long long: "###gir test###%lld###gir test###\n", - unsigned long long: "###gir test###%llu###gir test###\n", - double: "###gir test###%f###gir test###\n", - long double: "###gir test###%ld###gir test###\n"), - ABI_CONSTANT_NAME); + PRINT_CONSTANT(GLIB_SYSDEF_AF_INET); + PRINT_CONSTANT(GLIB_SYSDEF_AF_INET6); + PRINT_CONSTANT(GLIB_SYSDEF_AF_UNIX); + PRINT_CONSTANT(GLIB_SYSDEF_MSG_DONTROUTE); + PRINT_CONSTANT(GLIB_SYSDEF_MSG_OOB); + PRINT_CONSTANT(GLIB_SYSDEF_MSG_PEEK); + PRINT_CONSTANT((guint) G_ASCII_ALNUM); + PRINT_CONSTANT((guint) G_ASCII_ALPHA); + PRINT_CONSTANT((guint) G_ASCII_CNTRL); + PRINT_CONSTANT((guint) G_ASCII_DIGIT); + PRINT_CONSTANT(G_ASCII_DTOSTR_BUF_SIZE); + PRINT_CONSTANT((guint) G_ASCII_GRAPH); + PRINT_CONSTANT((guint) G_ASCII_LOWER); + PRINT_CONSTANT((guint) G_ASCII_PRINT); + PRINT_CONSTANT((guint) G_ASCII_PUNCT); + PRINT_CONSTANT((guint) G_ASCII_SPACE); + PRINT_CONSTANT((guint) G_ASCII_UPPER); + PRINT_CONSTANT((guint) G_ASCII_XDIGIT); + PRINT_CONSTANT(G_BIG_ENDIAN); + PRINT_CONSTANT((gint) G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED); + PRINT_CONSTANT((gint) G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND); + PRINT_CONSTANT((gint) G_BOOKMARK_FILE_ERROR_INVALID_URI); + PRINT_CONSTANT((gint) G_BOOKMARK_FILE_ERROR_INVALID_VALUE); + PRINT_CONSTANT((gint) G_BOOKMARK_FILE_ERROR_READ); + PRINT_CONSTANT((gint) G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING); + PRINT_CONSTANT((gint) G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND); + PRINT_CONSTANT((gint) G_BOOKMARK_FILE_ERROR_WRITE); + PRINT_CONSTANT((gint) G_CHECKSUM_MD5); + PRINT_CONSTANT((gint) G_CHECKSUM_SHA1); + PRINT_CONSTANT((gint) G_CHECKSUM_SHA256); + PRINT_CONSTANT((gint) G_CHECKSUM_SHA384); + PRINT_CONSTANT((gint) G_CHECKSUM_SHA512); + PRINT_CONSTANT((gint) G_CONVERT_ERROR_BAD_URI); + PRINT_CONSTANT((gint) G_CONVERT_ERROR_EMBEDDED_NUL); + PRINT_CONSTANT((gint) G_CONVERT_ERROR_FAILED); + PRINT_CONSTANT((gint) G_CONVERT_ERROR_ILLEGAL_SEQUENCE); + PRINT_CONSTANT((gint) G_CONVERT_ERROR_NOT_ABSOLUTE_PATH); + PRINT_CONSTANT((gint) G_CONVERT_ERROR_NO_CONVERSION); + PRINT_CONSTANT((gint) G_CONVERT_ERROR_NO_MEMORY); + PRINT_CONSTANT((gint) G_CONVERT_ERROR_PARTIAL_INPUT); + PRINT_CONSTANT(G_CSET_A_2_Z); + PRINT_CONSTANT(G_CSET_DIGITS); + PRINT_CONSTANT(G_CSET_a_2_z); + PRINT_CONSTANT(G_DATALIST_FLAGS_MASK); + PRINT_CONSTANT((gint) G_DATE_APRIL); + PRINT_CONSTANT((gint) G_DATE_AUGUST); + PRINT_CONSTANT(G_DATE_BAD_DAY); + PRINT_CONSTANT(G_DATE_BAD_JULIAN); + PRINT_CONSTANT((gint) G_DATE_BAD_MONTH); + PRINT_CONSTANT((gint) G_DATE_BAD_WEEKDAY); + PRINT_CONSTANT(G_DATE_BAD_YEAR); + PRINT_CONSTANT((gint) G_DATE_DAY); + PRINT_CONSTANT((gint) G_DATE_DECEMBER); + PRINT_CONSTANT((gint) G_DATE_FEBRUARY); + PRINT_CONSTANT((gint) G_DATE_FRIDAY); + PRINT_CONSTANT((gint) G_DATE_JANUARY); + PRINT_CONSTANT((gint) G_DATE_JULY); + PRINT_CONSTANT((gint) G_DATE_JUNE); + PRINT_CONSTANT((gint) G_DATE_MARCH); + PRINT_CONSTANT((gint) G_DATE_MAY); + PRINT_CONSTANT((gint) G_DATE_MONDAY); + PRINT_CONSTANT((gint) G_DATE_MONTH); + PRINT_CONSTANT((gint) G_DATE_NOVEMBER); + PRINT_CONSTANT((gint) G_DATE_OCTOBER); + PRINT_CONSTANT((gint) G_DATE_SATURDAY); + PRINT_CONSTANT((gint) G_DATE_SEPTEMBER); + PRINT_CONSTANT((gint) G_DATE_SUNDAY); + PRINT_CONSTANT((gint) G_DATE_THURSDAY); + PRINT_CONSTANT((gint) G_DATE_TUESDAY); + PRINT_CONSTANT((gint) G_DATE_WEDNESDAY); + PRINT_CONSTANT((gint) G_DATE_YEAR); + PRINT_CONSTANT(G_E); + PRINT_CONSTANT((gint) G_ERR_DIGIT_RADIX); + PRINT_CONSTANT((gint) G_ERR_FLOAT_MALFORMED); + PRINT_CONSTANT((gint) G_ERR_FLOAT_RADIX); + PRINT_CONSTANT((gint) G_ERR_NON_DIGIT_IN_CONST); + PRINT_CONSTANT((gint) G_ERR_UNEXP_EOF); + PRINT_CONSTANT((gint) G_ERR_UNEXP_EOF_IN_COMMENT); + PRINT_CONSTANT((gint) G_ERR_UNEXP_EOF_IN_STRING); + PRINT_CONSTANT((gint) G_ERR_UNKNOWN); + PRINT_CONSTANT((gint) G_FILE_ERROR_ACCES); + PRINT_CONSTANT((gint) G_FILE_ERROR_AGAIN); + PRINT_CONSTANT((gint) G_FILE_ERROR_BADF); + PRINT_CONSTANT((gint) G_FILE_ERROR_EXIST); + PRINT_CONSTANT((gint) G_FILE_ERROR_FAILED); + PRINT_CONSTANT((gint) G_FILE_ERROR_FAULT); + PRINT_CONSTANT((gint) G_FILE_ERROR_INTR); + PRINT_CONSTANT((gint) G_FILE_ERROR_INVAL); + PRINT_CONSTANT((gint) G_FILE_ERROR_IO); + PRINT_CONSTANT((gint) G_FILE_ERROR_ISDIR); + PRINT_CONSTANT((gint) G_FILE_ERROR_LOOP); + PRINT_CONSTANT((gint) G_FILE_ERROR_MFILE); + PRINT_CONSTANT((gint) G_FILE_ERROR_NAMETOOLONG); + PRINT_CONSTANT((gint) G_FILE_ERROR_NFILE); + PRINT_CONSTANT((gint) G_FILE_ERROR_NODEV); + PRINT_CONSTANT((gint) G_FILE_ERROR_NOENT); + PRINT_CONSTANT((gint) G_FILE_ERROR_NOMEM); + PRINT_CONSTANT((gint) G_FILE_ERROR_NOSPC); + PRINT_CONSTANT((gint) G_FILE_ERROR_NOSYS); + PRINT_CONSTANT((gint) G_FILE_ERROR_NOTDIR); + PRINT_CONSTANT((gint) G_FILE_ERROR_NXIO); + PRINT_CONSTANT((gint) G_FILE_ERROR_PERM); + PRINT_CONSTANT((gint) G_FILE_ERROR_PIPE); + PRINT_CONSTANT((gint) G_FILE_ERROR_ROFS); + PRINT_CONSTANT((gint) G_FILE_ERROR_TXTBSY); + PRINT_CONSTANT((guint) G_FILE_SET_CONTENTS_CONSISTENT); + PRINT_CONSTANT((guint) G_FILE_SET_CONTENTS_DURABLE); + PRINT_CONSTANT((guint) G_FILE_SET_CONTENTS_NONE); + PRINT_CONSTANT((guint) G_FILE_SET_CONTENTS_ONLY_EXISTING); + PRINT_CONSTANT((guint) G_FILE_TEST_EXISTS); + PRINT_CONSTANT((guint) G_FILE_TEST_IS_DIR); + PRINT_CONSTANT((guint) G_FILE_TEST_IS_EXECUTABLE); + PRINT_CONSTANT((guint) G_FILE_TEST_IS_REGULAR); + PRINT_CONSTANT((guint) G_FILE_TEST_IS_SYMLINK); + PRINT_CONSTANT((guint) G_FORMAT_SIZE_BITS); + PRINT_CONSTANT((guint) G_FORMAT_SIZE_DEFAULT); + PRINT_CONSTANT((guint) G_FORMAT_SIZE_IEC_UNITS); + PRINT_CONSTANT((guint) G_FORMAT_SIZE_LONG_FORMAT); + PRINT_CONSTANT((guint) G_HOOK_FLAG_ACTIVE); + PRINT_CONSTANT((guint) G_HOOK_FLAG_IN_CALL); + PRINT_CONSTANT((guint) G_HOOK_FLAG_MASK); + PRINT_CONSTANT(G_HOOK_FLAG_USER_SHIFT); + PRINT_CONSTANT(G_IEEE754_DOUBLE_BIAS); + PRINT_CONSTANT(G_IEEE754_FLOAT_BIAS); + PRINT_CONSTANT((gint) G_IN_ORDER); + PRINT_CONSTANT((gint) G_IO_CHANNEL_ERROR_FAILED); + PRINT_CONSTANT((gint) G_IO_CHANNEL_ERROR_FBIG); + PRINT_CONSTANT((gint) G_IO_CHANNEL_ERROR_INVAL); + PRINT_CONSTANT((gint) G_IO_CHANNEL_ERROR_IO); + PRINT_CONSTANT((gint) G_IO_CHANNEL_ERROR_ISDIR); + PRINT_CONSTANT((gint) G_IO_CHANNEL_ERROR_NOSPC); + PRINT_CONSTANT((gint) G_IO_CHANNEL_ERROR_NXIO); + PRINT_CONSTANT((gint) G_IO_CHANNEL_ERROR_OVERFLOW); + PRINT_CONSTANT((gint) G_IO_CHANNEL_ERROR_PIPE); + PRINT_CONSTANT((guint) G_IO_ERR); + PRINT_CONSTANT((gint) G_IO_ERROR_AGAIN); + PRINT_CONSTANT((gint) G_IO_ERROR_INVAL); + PRINT_CONSTANT((gint) G_IO_ERROR_NONE); + PRINT_CONSTANT((gint) G_IO_ERROR_UNKNOWN); + PRINT_CONSTANT((guint) G_IO_FLAG_APPEND); + PRINT_CONSTANT((guint) G_IO_FLAG_GET_MASK); + PRINT_CONSTANT((guint) G_IO_FLAG_IS_READABLE); + PRINT_CONSTANT((guint) G_IO_FLAG_IS_SEEKABLE); + PRINT_CONSTANT((guint) G_IO_FLAG_IS_WRITABLE); + PRINT_CONSTANT((guint) G_IO_FLAG_IS_WRITEABLE); + PRINT_CONSTANT((guint) G_IO_FLAG_MASK); + PRINT_CONSTANT((guint) G_IO_FLAG_NONBLOCK); + PRINT_CONSTANT((guint) G_IO_FLAG_SET_MASK); + PRINT_CONSTANT((guint) G_IO_HUP); + PRINT_CONSTANT((guint) G_IO_IN); + PRINT_CONSTANT((guint) G_IO_NVAL); + PRINT_CONSTANT((guint) G_IO_OUT); + PRINT_CONSTANT((guint) G_IO_PRI); + PRINT_CONSTANT((gint) G_IO_STATUS_AGAIN); + PRINT_CONSTANT((gint) G_IO_STATUS_EOF); + PRINT_CONSTANT((gint) G_IO_STATUS_ERROR); + PRINT_CONSTANT((gint) G_IO_STATUS_NORMAL); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_GROUP); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_ACTIONS); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_CATEGORIES); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_COMMENT); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_EXEC); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_HIDDEN); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_ICON); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_MIME_TYPE); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_NAME); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_PATH); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_TERMINAL); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_TRY_EXEC); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_TYPE); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_URL); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_KEY_VERSION); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_TYPE_APPLICATION); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_TYPE_DIRECTORY); + PRINT_CONSTANT(G_KEY_FILE_DESKTOP_TYPE_LINK); + PRINT_CONSTANT((gint) G_KEY_FILE_ERROR_GROUP_NOT_FOUND); + PRINT_CONSTANT((gint) G_KEY_FILE_ERROR_INVALID_VALUE); + PRINT_CONSTANT((gint) G_KEY_FILE_ERROR_KEY_NOT_FOUND); + PRINT_CONSTANT((gint) G_KEY_FILE_ERROR_NOT_FOUND); + PRINT_CONSTANT((gint) G_KEY_FILE_ERROR_PARSE); + PRINT_CONSTANT((gint) G_KEY_FILE_ERROR_UNKNOWN_ENCODING); + PRINT_CONSTANT((guint) G_KEY_FILE_KEEP_COMMENTS); + PRINT_CONSTANT((guint) G_KEY_FILE_KEEP_TRANSLATIONS); + PRINT_CONSTANT((guint) G_KEY_FILE_NONE); + PRINT_CONSTANT((gint) G_LEVEL_ORDER); + PRINT_CONSTANT(G_LITTLE_ENDIAN); + PRINT_CONSTANT(G_LN10); + PRINT_CONSTANT(G_LN2); + PRINT_CONSTANT(G_LOG_2_BASE_10); + PRINT_CONSTANT(G_LOG_DOMAIN); + PRINT_CONSTANT(G_LOG_FATAL_MASK); + PRINT_CONSTANT((guint) G_LOG_FLAG_FATAL); + PRINT_CONSTANT((guint) G_LOG_FLAG_RECURSION); + PRINT_CONSTANT((guint) G_LOG_LEVEL_CRITICAL); + PRINT_CONSTANT((guint) G_LOG_LEVEL_DEBUG); + PRINT_CONSTANT((guint) G_LOG_LEVEL_ERROR); + PRINT_CONSTANT((guint) G_LOG_LEVEL_INFO); + PRINT_CONSTANT((guint) G_LOG_LEVEL_MASK); + PRINT_CONSTANT((guint) G_LOG_LEVEL_MESSAGE); + PRINT_CONSTANT(G_LOG_LEVEL_USER_SHIFT); + PRINT_CONSTANT((guint) G_LOG_LEVEL_WARNING); + PRINT_CONSTANT((gint) G_LOG_WRITER_HANDLED); + PRINT_CONSTANT((gint) G_LOG_WRITER_UNHANDLED); + PRINT_CONSTANT((guint) G_MARKUP_COLLECT_BOOLEAN); + PRINT_CONSTANT((guint) G_MARKUP_COLLECT_INVALID); + PRINT_CONSTANT((guint) G_MARKUP_COLLECT_OPTIONAL); + PRINT_CONSTANT((guint) G_MARKUP_COLLECT_STRDUP); + PRINT_CONSTANT((guint) G_MARKUP_COLLECT_STRING); + PRINT_CONSTANT((guint) G_MARKUP_COLLECT_TRISTATE); + PRINT_CONSTANT((guint) G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG); + PRINT_CONSTANT((gint) G_MARKUP_ERROR_BAD_UTF8); + PRINT_CONSTANT((gint) G_MARKUP_ERROR_EMPTY); + PRINT_CONSTANT((gint) G_MARKUP_ERROR_INVALID_CONTENT); + PRINT_CONSTANT((gint) G_MARKUP_ERROR_MISSING_ATTRIBUTE); + PRINT_CONSTANT((gint) G_MARKUP_ERROR_PARSE); + PRINT_CONSTANT((gint) G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE); + PRINT_CONSTANT((gint) G_MARKUP_ERROR_UNKNOWN_ELEMENT); + PRINT_CONSTANT((guint) G_MARKUP_IGNORE_QUALIFIED); + PRINT_CONSTANT((guint) G_MARKUP_PREFIX_ERROR_POSITION); + PRINT_CONSTANT((guint) G_MARKUP_TREAT_CDATA_AS_TEXT); + PRINT_CONSTANT((gint) G_NORMALIZE_ALL); + PRINT_CONSTANT((gint) G_NORMALIZE_ALL_COMPOSE); + PRINT_CONSTANT((gint) G_NORMALIZE_DEFAULT); + PRINT_CONSTANT((gint) G_NORMALIZE_DEFAULT_COMPOSE); + PRINT_CONSTANT((gint) G_NORMALIZE_NFC); + PRINT_CONSTANT((gint) G_NORMALIZE_NFD); + PRINT_CONSTANT((gint) G_NORMALIZE_NFKC); + PRINT_CONSTANT((gint) G_NORMALIZE_NFKD); + PRINT_CONSTANT((gint) G_NUMBER_PARSER_ERROR_INVALID); + PRINT_CONSTANT((gint) G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS); + PRINT_CONSTANT((gint) G_ONCE_STATUS_NOTCALLED); + PRINT_CONSTANT((gint) G_ONCE_STATUS_PROGRESS); + PRINT_CONSTANT((gint) G_ONCE_STATUS_READY); + PRINT_CONSTANT((gint) G_OPTION_ARG_CALLBACK); + PRINT_CONSTANT((gint) G_OPTION_ARG_DOUBLE); + PRINT_CONSTANT((gint) G_OPTION_ARG_FILENAME); + PRINT_CONSTANT((gint) G_OPTION_ARG_FILENAME_ARRAY); + PRINT_CONSTANT((gint) G_OPTION_ARG_INT); + PRINT_CONSTANT((gint) G_OPTION_ARG_INT64); + PRINT_CONSTANT((gint) G_OPTION_ARG_NONE); + PRINT_CONSTANT((gint) G_OPTION_ARG_STRING); + PRINT_CONSTANT((gint) G_OPTION_ARG_STRING_ARRAY); + PRINT_CONSTANT((gint) G_OPTION_ERROR_BAD_VALUE); + PRINT_CONSTANT((gint) G_OPTION_ERROR_FAILED); + PRINT_CONSTANT((gint) G_OPTION_ERROR_UNKNOWN_OPTION); + PRINT_CONSTANT((guint) G_OPTION_FLAG_FILENAME); + PRINT_CONSTANT((guint) G_OPTION_FLAG_HIDDEN); + PRINT_CONSTANT((guint) G_OPTION_FLAG_IN_MAIN); + PRINT_CONSTANT((guint) G_OPTION_FLAG_NOALIAS); + PRINT_CONSTANT((guint) G_OPTION_FLAG_NONE); + PRINT_CONSTANT((guint) G_OPTION_FLAG_NO_ARG); + PRINT_CONSTANT((guint) G_OPTION_FLAG_OPTIONAL_ARG); + PRINT_CONSTANT((guint) G_OPTION_FLAG_REVERSE); + PRINT_CONSTANT(G_OPTION_REMAINING); + PRINT_CONSTANT(G_PDP_ENDIAN); + PRINT_CONSTANT(G_PI); + PRINT_CONSTANT(G_PI_2); + PRINT_CONSTANT(G_PI_4); + PRINT_CONSTANT((gint) G_POST_ORDER); + PRINT_CONSTANT((gint) G_PRE_ORDER); + PRINT_CONSTANT(G_PRIORITY_DEFAULT); + PRINT_CONSTANT(G_PRIORITY_DEFAULT_IDLE); + PRINT_CONSTANT(G_PRIORITY_HIGH); + PRINT_CONSTANT(G_PRIORITY_HIGH_IDLE); + PRINT_CONSTANT(G_PRIORITY_LOW); + PRINT_CONSTANT((guint) G_REGEX_ANCHORED); + PRINT_CONSTANT((guint) G_REGEX_BSR_ANYCRLF); + PRINT_CONSTANT((guint) G_REGEX_CASELESS); + PRINT_CONSTANT((guint) G_REGEX_DOLLAR_ENDONLY); + PRINT_CONSTANT((guint) G_REGEX_DOTALL); + PRINT_CONSTANT((guint) G_REGEX_DUPNAMES); + PRINT_CONSTANT((gint) G_REGEX_ERROR_ASSERTION_EXPECTED); + PRINT_CONSTANT((gint) G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN); + PRINT_CONSTANT((gint) G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED); + PRINT_CONSTANT((gint) G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_COMPILE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_DEFINE_REPETION); + PRINT_CONSTANT((gint) G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME); + PRINT_CONSTANT((gint) G_REGEX_ERROR_EXPRESSION_TOO_LARGE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME); + PRINT_CONSTANT((gint) G_REGEX_ERROR_HEX_CODE_TOO_LARGE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INFINITE_LOOP); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INTERNAL); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INVALID_CONDITION); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INVALID_CONTROL_CHAR); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INVALID_DATA_CHARACTER); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INVALID_OCTAL_VALUE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MALFORMED_CONDITION); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MALFORMED_PROPERTY); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MATCH); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MEMORY_ERROR); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MISSING_BACK_REFERENCE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MISSING_CONTROL_CHAR); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MISSING_DIGIT); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MISSING_NAME); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MISSING_SUBPATTERN_NAME); + PRINT_CONSTANT((gint) G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR); + PRINT_CONSTANT((gint) G_REGEX_ERROR_NAME_TOO_LONG); + PRINT_CONSTANT((gint) G_REGEX_ERROR_NOTHING_TO_REPEAT); + PRINT_CONSTANT((gint) G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS); + PRINT_CONSTANT((gint) G_REGEX_ERROR_NUMBER_TOO_BIG); + PRINT_CONSTANT((gint) G_REGEX_ERROR_OPTIMIZE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED); + PRINT_CONSTANT((gint) G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS); + PRINT_CONSTANT((gint) G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER); + PRINT_CONSTANT((gint) G_REGEX_ERROR_QUANTIFIER_TOO_BIG); + PRINT_CONSTANT((gint) G_REGEX_ERROR_RANGE_OUT_OF_ORDER); + PRINT_CONSTANT((gint) G_REGEX_ERROR_REPLACE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND); + PRINT_CONSTANT((gint) G_REGEX_ERROR_STRAY_BACKSLASH); + PRINT_CONSTANT((gint) G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG); + PRINT_CONSTANT((gint) G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES); + PRINT_CONSTANT((gint) G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES); + PRINT_CONSTANT((gint) G_REGEX_ERROR_TOO_MANY_SUBPATTERNS); + PRINT_CONSTANT((gint) G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB); + PRINT_CONSTANT((gint) G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME); + PRINT_CONSTANT((gint) G_REGEX_ERROR_UNKNOWN_PROPERTY); + PRINT_CONSTANT((gint) G_REGEX_ERROR_UNMATCHED_PARENTHESIS); + PRINT_CONSTANT((gint) G_REGEX_ERROR_UNRECOGNIZED_CHARACTER); + PRINT_CONSTANT((gint) G_REGEX_ERROR_UNRECOGNIZED_ESCAPE); + PRINT_CONSTANT((gint) G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS); + PRINT_CONSTANT((gint) G_REGEX_ERROR_UNTERMINATED_COMMENT); + PRINT_CONSTANT((gint) G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND); + PRINT_CONSTANT((guint) G_REGEX_EXTENDED); + PRINT_CONSTANT((guint) G_REGEX_FIRSTLINE); + PRINT_CONSTANT((guint) G_REGEX_JAVASCRIPT_COMPAT); + PRINT_CONSTANT((guint) G_REGEX_MATCH_ANCHORED); + PRINT_CONSTANT((guint) G_REGEX_MATCH_BSR_ANY); + PRINT_CONSTANT((guint) G_REGEX_MATCH_BSR_ANYCRLF); + PRINT_CONSTANT((guint) G_REGEX_MATCH_NEWLINE_ANY); + PRINT_CONSTANT((guint) G_REGEX_MATCH_NEWLINE_ANYCRLF); + PRINT_CONSTANT((guint) G_REGEX_MATCH_NEWLINE_CR); + PRINT_CONSTANT((guint) G_REGEX_MATCH_NEWLINE_CRLF); + PRINT_CONSTANT((guint) G_REGEX_MATCH_NEWLINE_LF); + PRINT_CONSTANT((guint) G_REGEX_MATCH_NOTBOL); + PRINT_CONSTANT((guint) G_REGEX_MATCH_NOTEMPTY); + PRINT_CONSTANT((guint) G_REGEX_MATCH_NOTEMPTY_ATSTART); + PRINT_CONSTANT((guint) G_REGEX_MATCH_NOTEOL); + PRINT_CONSTANT((guint) G_REGEX_MATCH_PARTIAL); + PRINT_CONSTANT((guint) G_REGEX_MATCH_PARTIAL_HARD); + PRINT_CONSTANT((guint) G_REGEX_MATCH_PARTIAL_SOFT); + PRINT_CONSTANT((guint) G_REGEX_MULTILINE); + PRINT_CONSTANT((guint) G_REGEX_NEWLINE_ANYCRLF); + PRINT_CONSTANT((guint) G_REGEX_NEWLINE_CR); + PRINT_CONSTANT((guint) G_REGEX_NEWLINE_CRLF); + PRINT_CONSTANT((guint) G_REGEX_NEWLINE_LF); + PRINT_CONSTANT((guint) G_REGEX_NO_AUTO_CAPTURE); + PRINT_CONSTANT((guint) G_REGEX_OPTIMIZE); + PRINT_CONSTANT((guint) G_REGEX_RAW); + PRINT_CONSTANT((guint) G_REGEX_UNGREEDY); + PRINT_CONSTANT((gint) G_SEEK_CUR); + PRINT_CONSTANT((gint) G_SEEK_END); + PRINT_CONSTANT((gint) G_SEEK_SET); + PRINT_CONSTANT((gint) G_SHELL_ERROR_BAD_QUOTING); + PRINT_CONSTANT((gint) G_SHELL_ERROR_EMPTY_STRING); + PRINT_CONSTANT((gint) G_SHELL_ERROR_FAILED); + PRINT_CONSTANT((gint) G_SLICE_CONFIG_ALWAYS_MALLOC); + PRINT_CONSTANT((gint) G_SLICE_CONFIG_BYPASS_MAGAZINES); + PRINT_CONSTANT((gint) G_SLICE_CONFIG_CHUNK_SIZES); + PRINT_CONSTANT((gint) G_SLICE_CONFIG_COLOR_INCREMENT); + PRINT_CONSTANT((gint) G_SLICE_CONFIG_CONTENTION_COUNTER); + PRINT_CONSTANT((gint) G_SLICE_CONFIG_WORKING_SET_MSECS); + PRINT_CONSTANT(G_SOURCE_CONTINUE); + PRINT_CONSTANT(G_SOURCE_REMOVE); + PRINT_CONSTANT((guint) G_SPAWN_CHILD_INHERITS_STDIN); + PRINT_CONSTANT((guint) G_SPAWN_CLOEXEC_PIPES); + PRINT_CONSTANT((guint) G_SPAWN_DEFAULT); + PRINT_CONSTANT((guint) G_SPAWN_DO_NOT_REAP_CHILD); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_2BIG); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_ACCES); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_CHDIR); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_FAILED); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_FORK); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_INVAL); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_IO); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_ISDIR); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_LIBBAD); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_LOOP); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_MFILE); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_NAMETOOLONG); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_NFILE); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_NOENT); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_NOEXEC); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_NOMEM); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_NOTDIR); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_PERM); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_READ); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_TOO_BIG); + PRINT_CONSTANT((gint) G_SPAWN_ERROR_TXTBUSY); + PRINT_CONSTANT((guint) G_SPAWN_FILE_AND_ARGV_ZERO); + PRINT_CONSTANT((guint) G_SPAWN_LEAVE_DESCRIPTORS_OPEN); + PRINT_CONSTANT((guint) G_SPAWN_SEARCH_PATH); + PRINT_CONSTANT((guint) G_SPAWN_SEARCH_PATH_FROM_ENVP); + PRINT_CONSTANT((guint) G_SPAWN_STDERR_TO_DEV_NULL); + PRINT_CONSTANT((guint) G_SPAWN_STDOUT_TO_DEV_NULL); + PRINT_CONSTANT(G_SQRT2); + PRINT_CONSTANT(G_STR_DELIMITERS); + PRINT_CONSTANT((gint) G_TEST_BUILT); + PRINT_CONSTANT((gint) G_TEST_DIST); + PRINT_CONSTANT((gint) G_TEST_LOG_ERROR); + PRINT_CONSTANT((gint) G_TEST_LOG_LIST_CASE); + PRINT_CONSTANT((gint) G_TEST_LOG_MAX_RESULT); + PRINT_CONSTANT((gint) G_TEST_LOG_MESSAGE); + PRINT_CONSTANT((gint) G_TEST_LOG_MIN_RESULT); + PRINT_CONSTANT((gint) G_TEST_LOG_NONE); + PRINT_CONSTANT((gint) G_TEST_LOG_SKIP_CASE); + PRINT_CONSTANT((gint) G_TEST_LOG_START_BINARY); + PRINT_CONSTANT((gint) G_TEST_LOG_START_CASE); + PRINT_CONSTANT((gint) G_TEST_LOG_START_SUITE); + PRINT_CONSTANT((gint) G_TEST_LOG_STOP_CASE); + PRINT_CONSTANT((gint) G_TEST_LOG_STOP_SUITE); + PRINT_CONSTANT(G_TEST_OPTION_ISOLATE_DIRS); + PRINT_CONSTANT((gint) G_TEST_RUN_FAILURE); + PRINT_CONSTANT((gint) G_TEST_RUN_INCOMPLETE); + PRINT_CONSTANT((gint) G_TEST_RUN_SKIPPED); + PRINT_CONSTANT((gint) G_TEST_RUN_SUCCESS); + PRINT_CONSTANT((guint) G_TEST_SUBPROCESS_INHERIT_STDERR); + PRINT_CONSTANT((guint) G_TEST_SUBPROCESS_INHERIT_STDIN); + PRINT_CONSTANT((guint) G_TEST_SUBPROCESS_INHERIT_STDOUT); + PRINT_CONSTANT((guint) G_TEST_TRAP_INHERIT_STDIN); + PRINT_CONSTANT((guint) G_TEST_TRAP_SILENCE_STDERR); + PRINT_CONSTANT((guint) G_TEST_TRAP_SILENCE_STDOUT); + PRINT_CONSTANT((gint) G_THREAD_ERROR_AGAIN); + PRINT_CONSTANT(G_TIME_SPAN_DAY); + PRINT_CONSTANT(G_TIME_SPAN_HOUR); + PRINT_CONSTANT(G_TIME_SPAN_MILLISECOND); + PRINT_CONSTANT(G_TIME_SPAN_MINUTE); + PRINT_CONSTANT(G_TIME_SPAN_SECOND); + PRINT_CONSTANT((gint) G_TIME_TYPE_DAYLIGHT); + PRINT_CONSTANT((gint) G_TIME_TYPE_STANDARD); + PRINT_CONSTANT((gint) G_TIME_TYPE_UNIVERSAL); + PRINT_CONSTANT((gint) G_TOKEN_BINARY); + PRINT_CONSTANT((gint) G_TOKEN_CHAR); + PRINT_CONSTANT((gint) G_TOKEN_COMMA); + PRINT_CONSTANT((gint) G_TOKEN_COMMENT_MULTI); + PRINT_CONSTANT((gint) G_TOKEN_COMMENT_SINGLE); + PRINT_CONSTANT((gint) G_TOKEN_EOF); + PRINT_CONSTANT((gint) G_TOKEN_EQUAL_SIGN); + PRINT_CONSTANT((gint) G_TOKEN_ERROR); + PRINT_CONSTANT((gint) G_TOKEN_FLOAT); + PRINT_CONSTANT((gint) G_TOKEN_HEX); + PRINT_CONSTANT((gint) G_TOKEN_IDENTIFIER); + PRINT_CONSTANT((gint) G_TOKEN_IDENTIFIER_NULL); + PRINT_CONSTANT((gint) G_TOKEN_INT); + PRINT_CONSTANT((gint) G_TOKEN_LEFT_BRACE); + PRINT_CONSTANT((gint) G_TOKEN_LEFT_CURLY); + PRINT_CONSTANT((gint) G_TOKEN_LEFT_PAREN); + PRINT_CONSTANT((gint) G_TOKEN_NONE); + PRINT_CONSTANT((gint) G_TOKEN_OCTAL); + PRINT_CONSTANT((gint) G_TOKEN_RIGHT_BRACE); + PRINT_CONSTANT((gint) G_TOKEN_RIGHT_CURLY); + PRINT_CONSTANT((gint) G_TOKEN_RIGHT_PAREN); + PRINT_CONSTANT((gint) G_TOKEN_STRING); + PRINT_CONSTANT((gint) G_TOKEN_SYMBOL); + PRINT_CONSTANT((guint) G_TRAVERSE_ALL); + PRINT_CONSTANT((guint) G_TRAVERSE_LEAFS); + PRINT_CONSTANT((guint) G_TRAVERSE_LEAVES); + PRINT_CONSTANT((guint) G_TRAVERSE_MASK); + PRINT_CONSTANT((guint) G_TRAVERSE_NON_LEAFS); + PRINT_CONSTANT((guint) G_TRAVERSE_NON_LEAVES); + PRINT_CONSTANT(G_UNICHAR_MAX_DECOMPOSITION_LENGTH); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_AFTER); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_ALPHABETIC); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_AMBIGUOUS); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_BEFORE); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_BEFORE_AND_AFTER); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_CARRIAGE_RETURN); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_CLOSE_PARANTHESIS); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_CLOSE_PUNCTUATION); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_COMBINING_MARK); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_COMPLEX_CONTEXT); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_CONTINGENT); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_EMOJI_BASE); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_EMOJI_MODIFIER); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_EXCLAMATION); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_HANGUL_LV_SYLLABLE); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_HANGUL_L_JAMO); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_HANGUL_T_JAMO); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_HANGUL_V_JAMO); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_HEBREW_LETTER); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_HYPHEN); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_IDEOGRAPHIC); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_INFIX_SEPARATOR); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_INSEPARABLE); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_LINE_FEED); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_MANDATORY); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_NEXT_LINE); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_NON_BREAKING_GLUE); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_NON_STARTER); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_NUMERIC); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_OPEN_PUNCTUATION); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_POSTFIX); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_PREFIX); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_QUOTATION); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_REGIONAL_INDICATOR); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_SPACE); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_SURROGATE); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_SYMBOL); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_UNKNOWN); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_WORD_JOINER); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_ZERO_WIDTH_JOINER); + PRINT_CONSTANT((gint) G_UNICODE_BREAK_ZERO_WIDTH_SPACE); + PRINT_CONSTANT((gint) G_UNICODE_CLOSE_PUNCTUATION); + PRINT_CONSTANT((gint) G_UNICODE_CONNECT_PUNCTUATION); + PRINT_CONSTANT((gint) G_UNICODE_CONTROL); + PRINT_CONSTANT((gint) G_UNICODE_CURRENCY_SYMBOL); + PRINT_CONSTANT((gint) G_UNICODE_DASH_PUNCTUATION); + PRINT_CONSTANT((gint) G_UNICODE_DECIMAL_NUMBER); + PRINT_CONSTANT((gint) G_UNICODE_ENCLOSING_MARK); + PRINT_CONSTANT((gint) G_UNICODE_FINAL_PUNCTUATION); + PRINT_CONSTANT((gint) G_UNICODE_FORMAT); + PRINT_CONSTANT((gint) G_UNICODE_INITIAL_PUNCTUATION); + PRINT_CONSTANT((gint) G_UNICODE_LETTER_NUMBER); + PRINT_CONSTANT((gint) G_UNICODE_LINE_SEPARATOR); + PRINT_CONSTANT((gint) G_UNICODE_LOWERCASE_LETTER); + PRINT_CONSTANT((gint) G_UNICODE_MATH_SYMBOL); + PRINT_CONSTANT((gint) G_UNICODE_MODIFIER_LETTER); + PRINT_CONSTANT((gint) G_UNICODE_MODIFIER_SYMBOL); + PRINT_CONSTANT((gint) G_UNICODE_NON_SPACING_MARK); + PRINT_CONSTANT((gint) G_UNICODE_OPEN_PUNCTUATION); + PRINT_CONSTANT((gint) G_UNICODE_OTHER_LETTER); + PRINT_CONSTANT((gint) G_UNICODE_OTHER_NUMBER); + PRINT_CONSTANT((gint) G_UNICODE_OTHER_PUNCTUATION); + PRINT_CONSTANT((gint) G_UNICODE_OTHER_SYMBOL); + PRINT_CONSTANT((gint) G_UNICODE_PARAGRAPH_SEPARATOR); + PRINT_CONSTANT((gint) G_UNICODE_PRIVATE_USE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_ADLAM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_AHOM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_ANATOLIAN_HIEROGLYPHS); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_ARABIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_ARMENIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_AVESTAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BALINESE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BAMUM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BASSA_VAH); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BATAK); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BENGALI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BHAIKSUKI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BOPOMOFO); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BRAHMI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BRAILLE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BUGINESE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_BUHID); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CARIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CHAKMA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CHAM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CHEROKEE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CHORASMIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_COMMON); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_COPTIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CUNEIFORM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CYPRIOT); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_CYRILLIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_DESERET); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_DEVANAGARI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_DIVES_AKURU); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_DOGRA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_DUPLOYAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_ELBASAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_ELYMAIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_ETHIOPIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_GEORGIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_GLAGOLITIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_GOTHIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_GRANTHA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_GREEK); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_GUJARATI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_GUNJALA_GONDI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_GURMUKHI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_HAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_HANGUL); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_HANIFI_ROHINGYA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_HANUNOO); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_HATRAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_HEBREW); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_HIRAGANA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_INHERITED); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_INVALID_CODE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_JAVANESE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_KAITHI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_KANNADA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_KATAKANA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_KAYAH_LI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_KHAROSHTHI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_KHMER); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_KHOJKI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_KHUDAWADI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_LAO); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_LATIN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_LEPCHA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_LIMBU); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_LINEAR_A); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_LINEAR_B); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_LISU); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_LYCIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_LYDIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MAHAJANI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MAKASAR); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MALAYALAM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MANDAIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MANICHAEAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MARCHEN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MASARAM_GONDI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MEDEFAIDRIN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MEETEI_MAYEK); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MENDE_KIKAKUI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MEROITIC_CURSIVE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MIAO); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MODI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MONGOLIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MRO); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MULTANI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_MYANMAR); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_NABATAEAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_NANDINAGARI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_NEWA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_NEW_TAI_LUE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_NKO); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_NUSHU); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OGHAM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OLD_HUNGARIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OLD_ITALIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OLD_PERMIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OLD_PERSIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OLD_SOGDIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OLD_TURKIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OL_CHIKI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_ORIYA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OSAGE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_OSMANYA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_PAHAWH_HMONG); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_PALMYRENE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_PAU_CIN_HAU); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_PHAGS_PA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_PHOENICIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_PSALTER_PAHLAVI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_REJANG); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_RUNIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SAMARITAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SAURASHTRA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SHARADA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SHAVIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SIDDHAM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SIGNWRITING); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SINHALA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SOGDIAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SORA_SOMPENG); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SOYOMBO); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SUNDANESE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SYLOTI_NAGRI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_SYRIAC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAGALOG); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAGBANWA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAI_LE); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAI_THAM); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAI_VIET); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAKRI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TAMIL); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TANGUT); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TELUGU); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_THAANA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_THAI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TIBETAN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TIFINAGH); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_TIRHUTA); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_UGARITIC); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_UNKNOWN); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_VAI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_WANCHO); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_WARANG_CITI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_YEZIDI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_YI); + PRINT_CONSTANT((gint) G_UNICODE_SCRIPT_ZANABAZAR_SQUARE); + PRINT_CONSTANT((gint) G_UNICODE_SPACE_SEPARATOR); + PRINT_CONSTANT((gint) G_UNICODE_SPACING_MARK); + PRINT_CONSTANT((gint) G_UNICODE_SURROGATE); + PRINT_CONSTANT((gint) G_UNICODE_TITLECASE_LETTER); + PRINT_CONSTANT((gint) G_UNICODE_UNASSIGNED); + PRINT_CONSTANT((gint) G_UNICODE_UPPERCASE_LETTER); + PRINT_CONSTANT((gint) G_URI_ERROR_BAD_AUTH_PARAMS); + PRINT_CONSTANT((gint) G_URI_ERROR_BAD_FRAGMENT); + PRINT_CONSTANT((gint) G_URI_ERROR_BAD_HOST); + PRINT_CONSTANT((gint) G_URI_ERROR_BAD_PASSWORD); + PRINT_CONSTANT((gint) G_URI_ERROR_BAD_PATH); + PRINT_CONSTANT((gint) G_URI_ERROR_BAD_PORT); + PRINT_CONSTANT((gint) G_URI_ERROR_BAD_QUERY); + PRINT_CONSTANT((gint) G_URI_ERROR_BAD_SCHEME); + PRINT_CONSTANT((gint) G_URI_ERROR_BAD_USER); + PRINT_CONSTANT((gint) G_URI_ERROR_FAILED); + PRINT_CONSTANT((guint) G_URI_FLAGS_ENCODED); + PRINT_CONSTANT((guint) G_URI_FLAGS_ENCODED_FRAGMENT); + PRINT_CONSTANT((guint) G_URI_FLAGS_ENCODED_PATH); + PRINT_CONSTANT((guint) G_URI_FLAGS_ENCODED_QUERY); + PRINT_CONSTANT((guint) G_URI_FLAGS_HAS_AUTH_PARAMS); + PRINT_CONSTANT((guint) G_URI_FLAGS_HAS_PASSWORD); + PRINT_CONSTANT((guint) G_URI_FLAGS_NONE); + PRINT_CONSTANT((guint) G_URI_FLAGS_NON_DNS); + PRINT_CONSTANT((guint) G_URI_FLAGS_PARSE_RELAXED); + PRINT_CONSTANT((guint) G_URI_HIDE_AUTH_PARAMS); + PRINT_CONSTANT((guint) G_URI_HIDE_FRAGMENT); + PRINT_CONSTANT((guint) G_URI_HIDE_NONE); + PRINT_CONSTANT((guint) G_URI_HIDE_PASSWORD); + PRINT_CONSTANT((guint) G_URI_HIDE_QUERY); + PRINT_CONSTANT((guint) G_URI_HIDE_USERINFO); + PRINT_CONSTANT((guint) G_URI_PARAMS_CASE_INSENSITIVE); + PRINT_CONSTANT((guint) G_URI_PARAMS_NONE); + PRINT_CONSTANT((guint) G_URI_PARAMS_PARSE_RELAXED); + PRINT_CONSTANT((guint) G_URI_PARAMS_WWW_FORM); + PRINT_CONSTANT(G_URI_RESERVED_CHARS_GENERIC_DELIMITERS); + PRINT_CONSTANT(G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS); + PRINT_CONSTANT(G_USEC_PER_SEC); + PRINT_CONSTANT((gint) G_USER_DIRECTORY_DESKTOP); + PRINT_CONSTANT((gint) G_USER_DIRECTORY_DOCUMENTS); + PRINT_CONSTANT((gint) G_USER_DIRECTORY_DOWNLOAD); + PRINT_CONSTANT((gint) G_USER_DIRECTORY_MUSIC); + PRINT_CONSTANT((gint) G_USER_DIRECTORY_PICTURES); + PRINT_CONSTANT((gint) G_USER_DIRECTORY_PUBLIC_SHARE); + PRINT_CONSTANT((gint) G_USER_DIRECTORY_TEMPLATES); + PRINT_CONSTANT((gint) G_USER_DIRECTORY_VIDEOS); + PRINT_CONSTANT((gint) G_USER_N_DIRECTORIES); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_ARRAY); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_BOOLEAN); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_BYTE); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_DICT_ENTRY); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_DOUBLE); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_HANDLE); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_INT16); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_INT32); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_INT64); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_MAYBE); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_OBJECT_PATH); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_SIGNATURE); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_STRING); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_TUPLE); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_UINT16); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_UINT32); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_UINT64); + PRINT_CONSTANT((gint) G_VARIANT_CLASS_VARIANT); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_FAILED); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_INVALID_CHARACTER); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_RECURSION); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_TYPE_ERROR); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT); + PRINT_CONSTANT((gint) G_VARIANT_PARSE_ERROR_VALUE_EXPECTED); + PRINT_CONSTANT(G_WIN32_MSG_HANDLE); return 0; } diff --git a/glib/sys/tests/layout.c b/glib/sys/tests/layout.c index 45f2ef46113e..14b30f95fc11 100644 --- a/glib/sys/tests/layout.c +++ b/glib/sys/tests/layout.c @@ -7,6 +7,113 @@ #include int main() { - printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME)); + printf("%s;%zu;%zu\n", "GArray", sizeof(GArray), alignof(GArray)); + printf("%s;%zu;%zu\n", "GAsciiType", sizeof(GAsciiType), alignof(GAsciiType)); + printf("%s;%zu;%zu\n", "GBookmarkFileError", sizeof(GBookmarkFileError), alignof(GBookmarkFileError)); + printf("%s;%zu;%zu\n", "GByteArray", sizeof(GByteArray), alignof(GByteArray)); + printf("%s;%zu;%zu\n", "GChecksumType", sizeof(GChecksumType), alignof(GChecksumType)); + printf("%s;%zu;%zu\n", "GCond", sizeof(GCond), alignof(GCond)); + printf("%s;%zu;%zu\n", "GConvertError", sizeof(GConvertError), alignof(GConvertError)); + printf("%s;%zu;%zu\n", "GDateDMY", sizeof(GDateDMY), alignof(GDateDMY)); + printf("%s;%zu;%zu\n", "GDateDay", sizeof(GDateDay), alignof(GDateDay)); + printf("%s;%zu;%zu\n", "GDateMonth", sizeof(GDateMonth), alignof(GDateMonth)); + printf("%s;%zu;%zu\n", "GDateWeekday", sizeof(GDateWeekday), alignof(GDateWeekday)); + printf("%s;%zu;%zu\n", "GDateYear", sizeof(GDateYear), alignof(GDateYear)); + printf("%s;%zu;%zu\n", "GDebugKey", sizeof(GDebugKey), alignof(GDebugKey)); + printf("%s;%zu;%zu\n", "GError", sizeof(GError), alignof(GError)); + printf("%s;%zu;%zu\n", "GErrorType", sizeof(GErrorType), alignof(GErrorType)); + printf("%s;%zu;%zu\n", "GFileError", sizeof(GFileError), alignof(GFileError)); + printf("%s;%zu;%zu\n", "GFileSetContentsFlags", sizeof(GFileSetContentsFlags), alignof(GFileSetContentsFlags)); + printf("%s;%zu;%zu\n", "GFileTest", sizeof(GFileTest), alignof(GFileTest)); + printf("%s;%zu;%zu\n", "GFormatSizeFlags", sizeof(GFormatSizeFlags), alignof(GFormatSizeFlags)); + printf("%s;%zu;%zu\n", "GHashTableIter", sizeof(GHashTableIter), alignof(GHashTableIter)); + printf("%s;%zu;%zu\n", "GHook", sizeof(GHook), alignof(GHook)); + printf("%s;%zu;%zu\n", "GHookFlagMask", sizeof(GHookFlagMask), alignof(GHookFlagMask)); + printf("%s;%zu;%zu\n", "GHookList", sizeof(GHookList), alignof(GHookList)); + printf("%s;%zu;%zu\n", "GIOChannelError", sizeof(GIOChannelError), alignof(GIOChannelError)); + printf("%s;%zu;%zu\n", "GIOCondition", sizeof(GIOCondition), alignof(GIOCondition)); + printf("%s;%zu;%zu\n", "GIOError", sizeof(GIOError), alignof(GIOError)); + printf("%s;%zu;%zu\n", "GIOFlags", sizeof(GIOFlags), alignof(GIOFlags)); + printf("%s;%zu;%zu\n", "GIOFuncs", sizeof(GIOFuncs), alignof(GIOFuncs)); + printf("%s;%zu;%zu\n", "GIOStatus", sizeof(GIOStatus), alignof(GIOStatus)); + printf("%s;%zu;%zu\n", "GKeyFileError", sizeof(GKeyFileError), alignof(GKeyFileError)); + printf("%s;%zu;%zu\n", "GKeyFileFlags", sizeof(GKeyFileFlags), alignof(GKeyFileFlags)); + printf("%s;%zu;%zu\n", "GList", sizeof(GList), alignof(GList)); + printf("%s;%zu;%zu\n", "GLogField", sizeof(GLogField), alignof(GLogField)); + printf("%s;%zu;%zu\n", "GLogLevelFlags", sizeof(GLogLevelFlags), alignof(GLogLevelFlags)); + printf("%s;%zu;%zu\n", "GLogWriterOutput", sizeof(GLogWriterOutput), alignof(GLogWriterOutput)); + printf("%s;%zu;%zu\n", "GMarkupCollectType", sizeof(GMarkupCollectType), alignof(GMarkupCollectType)); + printf("%s;%zu;%zu\n", "GMarkupError", sizeof(GMarkupError), alignof(GMarkupError)); + printf("%s;%zu;%zu\n", "GMarkupParseFlags", sizeof(GMarkupParseFlags), alignof(GMarkupParseFlags)); + printf("%s;%zu;%zu\n", "GMarkupParser", sizeof(GMarkupParser), alignof(GMarkupParser)); + printf("%s;%zu;%zu\n", "GMemVTable", sizeof(GMemVTable), alignof(GMemVTable)); + printf("%s;%zu;%zu\n", "GMutex", sizeof(GMutex), alignof(GMutex)); + printf("%s;%zu;%zu\n", "GNode", sizeof(GNode), alignof(GNode)); + printf("%s;%zu;%zu\n", "GNormalizeMode", sizeof(GNormalizeMode), alignof(GNormalizeMode)); + printf("%s;%zu;%zu\n", "GNumberParserError", sizeof(GNumberParserError), alignof(GNumberParserError)); + printf("%s;%zu;%zu\n", "GOnce", sizeof(GOnce), alignof(GOnce)); + printf("%s;%zu;%zu\n", "GOnceStatus", sizeof(GOnceStatus), alignof(GOnceStatus)); + printf("%s;%zu;%zu\n", "GOptionArg", sizeof(GOptionArg), alignof(GOptionArg)); + printf("%s;%zu;%zu\n", "GOptionEntry", sizeof(GOptionEntry), alignof(GOptionEntry)); + printf("%s;%zu;%zu\n", "GOptionError", sizeof(GOptionError), alignof(GOptionError)); + printf("%s;%zu;%zu\n", "GOptionFlags", sizeof(GOptionFlags), alignof(GOptionFlags)); + printf("%s;%zu;%zu\n", "GPid", sizeof(GPid), alignof(GPid)); + printf("%s;%zu;%zu\n", "GPollFD", sizeof(GPollFD), alignof(GPollFD)); + printf("%s;%zu;%zu\n", "GPrivate", sizeof(GPrivate), alignof(GPrivate)); + printf("%s;%zu;%zu\n", "GPtrArray", sizeof(GPtrArray), alignof(GPtrArray)); + printf("%s;%zu;%zu\n", "GQuark", sizeof(GQuark), alignof(GQuark)); + printf("%s;%zu;%zu\n", "GQueue", sizeof(GQueue), alignof(GQueue)); + printf("%s;%zu;%zu\n", "GRWLock", sizeof(GRWLock), alignof(GRWLock)); + printf("%s;%zu;%zu\n", "GRecMutex", sizeof(GRecMutex), alignof(GRecMutex)); + printf("%s;%zu;%zu\n", "GRefString", sizeof(GRefString), alignof(GRefString)); + printf("%s;%zu;%zu\n", "GRegexCompileFlags", sizeof(GRegexCompileFlags), alignof(GRegexCompileFlags)); + printf("%s;%zu;%zu\n", "GRegexError", sizeof(GRegexError), alignof(GRegexError)); + printf("%s;%zu;%zu\n", "GRegexMatchFlags", sizeof(GRegexMatchFlags), alignof(GRegexMatchFlags)); + printf("%s;%zu;%zu\n", "GSList", sizeof(GSList), alignof(GSList)); + printf("%s;%zu;%zu\n", "GScanner", sizeof(GScanner), alignof(GScanner)); + printf("%s;%zu;%zu\n", "GSeekType", sizeof(GSeekType), alignof(GSeekType)); + printf("%s;%zu;%zu\n", "GShellError", sizeof(GShellError), alignof(GShellError)); + printf("%s;%zu;%zu\n", "GSliceConfig", sizeof(GSliceConfig), alignof(GSliceConfig)); + printf("%s;%zu;%zu\n", "GSource", sizeof(GSource), alignof(GSource)); + printf("%s;%zu;%zu\n", "GSourceCallbackFuncs", sizeof(GSourceCallbackFuncs), alignof(GSourceCallbackFuncs)); + printf("%s;%zu;%zu\n", "GSourceFuncs", sizeof(GSourceFuncs), alignof(GSourceFuncs)); + printf("%s;%zu;%zu\n", "GSpawnError", sizeof(GSpawnError), alignof(GSpawnError)); + printf("%s;%zu;%zu\n", "GSpawnFlags", sizeof(GSpawnFlags), alignof(GSpawnFlags)); + printf("%s;%zu;%zu\n", "GString", sizeof(GString), alignof(GString)); + printf("%s;%zu;%zu\n", "GStrv", sizeof(GStrv), alignof(GStrv)); + printf("%s;%zu;%zu\n", "GTestConfig", sizeof(GTestConfig), alignof(GTestConfig)); + printf("%s;%zu;%zu\n", "GTestFileType", sizeof(GTestFileType), alignof(GTestFileType)); + printf("%s;%zu;%zu\n", "GTestLogBuffer", sizeof(GTestLogBuffer), alignof(GTestLogBuffer)); + printf("%s;%zu;%zu\n", "GTestLogMsg", sizeof(GTestLogMsg), alignof(GTestLogMsg)); + printf("%s;%zu;%zu\n", "GTestLogType", sizeof(GTestLogType), alignof(GTestLogType)); + printf("%s;%zu;%zu\n", "GTestResult", sizeof(GTestResult), alignof(GTestResult)); + printf("%s;%zu;%zu\n", "GTestSubprocessFlags", sizeof(GTestSubprocessFlags), alignof(GTestSubprocessFlags)); + printf("%s;%zu;%zu\n", "GTestTrapFlags", sizeof(GTestTrapFlags), alignof(GTestTrapFlags)); + printf("%s;%zu;%zu\n", "GThreadError", sizeof(GThreadError), alignof(GThreadError)); + printf("%s;%zu;%zu\n", "GThreadPool", sizeof(GThreadPool), alignof(GThreadPool)); + printf("%s;%zu;%zu\n", "GTime", sizeof(GTime), alignof(GTime)); + printf("%s;%zu;%zu\n", "GTimeSpan", sizeof(GTimeSpan), alignof(GTimeSpan)); + printf("%s;%zu;%zu\n", "GTimeType", sizeof(GTimeType), alignof(GTimeType)); + printf("%s;%zu;%zu\n", "GTimeVal", sizeof(GTimeVal), alignof(GTimeVal)); + printf("%s;%zu;%zu\n", "GTokenType", sizeof(GTokenType), alignof(GTokenType)); + printf("%s;%zu;%zu\n", "GTokenValue", sizeof(GTokenValue), alignof(GTokenValue)); + printf("%s;%zu;%zu\n", "GTrashStack", sizeof(GTrashStack), alignof(GTrashStack)); + printf("%s;%zu;%zu\n", "GTraverseFlags", sizeof(GTraverseFlags), alignof(GTraverseFlags)); + printf("%s;%zu;%zu\n", "GTraverseType", sizeof(GTraverseType), alignof(GTraverseType)); + printf("%s;%zu;%zu\n", "GType", sizeof(GType), alignof(GType)); + printf("%s;%zu;%zu\n", "GUnicodeBreakType", sizeof(GUnicodeBreakType), alignof(GUnicodeBreakType)); + printf("%s;%zu;%zu\n", "GUnicodeScript", sizeof(GUnicodeScript), alignof(GUnicodeScript)); + printf("%s;%zu;%zu\n", "GUnicodeType", sizeof(GUnicodeType), alignof(GUnicodeType)); + printf("%s;%zu;%zu\n", "GUriError", sizeof(GUriError), alignof(GUriError)); + printf("%s;%zu;%zu\n", "GUriFlags", sizeof(GUriFlags), alignof(GUriFlags)); + printf("%s;%zu;%zu\n", "GUriHideFlags", sizeof(GUriHideFlags), alignof(GUriHideFlags)); + printf("%s;%zu;%zu\n", "GUriParamsFlags", sizeof(GUriParamsFlags), alignof(GUriParamsFlags)); + printf("%s;%zu;%zu\n", "GUriParamsIter", sizeof(GUriParamsIter), alignof(GUriParamsIter)); + printf("%s;%zu;%zu\n", "GUserDirectory", sizeof(GUserDirectory), alignof(GUserDirectory)); + printf("%s;%zu;%zu\n", "GVariantBuilder", sizeof(GVariantBuilder), alignof(GVariantBuilder)); + printf("%s;%zu;%zu\n", "GVariantClass", sizeof(GVariantClass), alignof(GVariantClass)); + printf("%s;%zu;%zu\n", "GVariantDict", sizeof(GVariantDict), alignof(GVariantDict)); + printf("%s;%zu;%zu\n", "GVariantIter", sizeof(GVariantIter), alignof(GVariantIter)); + printf("%s;%zu;%zu\n", "GVariantParseError", sizeof(GVariantParseError), alignof(GVariantParseError)); return 0; } diff --git a/glib/sys/versions.txt b/glib/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/glib/sys/versions.txt +++ b/glib/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/graphene/src/auto/versions.txt b/graphene/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/graphene/src/auto/versions.txt +++ b/graphene/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/graphene/sys/tests/abi.rs b/graphene/sys/tests/abi.rs index 570aba86f41e..1c350965ec4d 100644 --- a/graphene/sys/tests/abi.rs +++ b/graphene/sys/tests/abi.rs @@ -5,6 +5,7 @@ use graphene_sys::*; use std::env; use std::error::Error; +use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; use std::process::Command; @@ -22,6 +23,8 @@ impl Compiler { pub fn new() -> Result> { let mut args = get_var("CC", "cc")?; args.push("-Wno-deprecated-declarations".to_owned()); + // For _Generic + args.push("-std=c11".to_owned()); // For %z support in printf when using MinGW. args.push("-D__USE_MINGW_ANSI_STDIO".to_owned()); args.extend(get_var("CFLAGS", "")?); @@ -30,14 +33,6 @@ impl Compiler { Ok(Compiler { args }) } - pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { - let arg = match val.into() { - None => format!("-D{}", var), - Some(val) => format!("-D{}={}", var, val), - }; - self.args.push(arg); - } - pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box> { let mut cmd = self.to_command(); cmd.arg(src); @@ -69,7 +64,8 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { if packages.is_empty() { return Ok(Vec::new()); } - let mut cmd = Command::new("pkg-config"); + let pkg_config = env::var_os("PKG_CONFIG").unwrap_or_else(|| OsString::from("pkg-config")); + let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); let out = cmd.output()?; @@ -92,8 +88,6 @@ struct Results { passed: usize, /// Total number of failed tests (including those that failed to compile). failed: usize, - /// Number of tests that failed to compile. - failed_to_compile: usize, } impl Results { @@ -103,15 +97,8 @@ impl Results { fn record_failed(&mut self) { self.failed += 1; } - fn record_failed_to_compile(&mut self) { - self.failed += 1; - self.failed_to_compile += 1; - } fn summary(&self) -> String { - format!( - "{} passed; {} failed (compilation errors: {})", - self.passed, self.failed, self.failed_to_compile - ) + format!("{} passed; {} failed", self.passed, self.failed) } fn expect_total_success(&self) { if self.failed == 0 { @@ -124,111 +111,94 @@ impl Results { #[test] fn cross_validate_constants_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_constants: Vec<(String, String)> = Vec::new(); - assert_eq!( - "1", - get_c_value(tmpdir.path(), &cc, "1").expect("C constant"), - "failed to obtain correct constant value for 1" - ); + for l in get_c_output("constant").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let value = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse value"); + c_constants.push((name, value)); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() { - match get_c_value(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(ref c_value) => { - if rust_value == c_value { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_value, c_value - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("constants ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_value), (c_name, c_value)) in + RUST_CONSTANTS.iter().zip(c_constants.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; + } + + if rust_value != c_value { + results.record_failed(); + eprintln!( + "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_value, &c_value + ); + continue; } + + results.record_passed(); } + results.expect_total_success(); } #[test] fn cross_validate_layout_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_layouts = Vec::new(); + + for l in get_c_output("layout").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let size = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse size"); + let alignment = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse alignment"); + c_layouts.push((name, Layout { size, alignment })); + } - assert_eq!( - Layout { - size: 1, - alignment: 1 - }, - get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"), - "failed to obtain correct layout for char type" - ); + let mut results = Results::default(); - let mut results: Results = Default::default(); - for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() { - match get_c_layout(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(c_layout) => { - if rust_layout == c_layout { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Layout mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_layout, &c_layout - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("layout ... {}", results.summary()); + for ((rust_name, rust_layout), (c_name, c_layout)) in RUST_LAYOUTS.iter().zip(c_layouts.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; } - } - results.expect_total_success(); -} -fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("layout"); - let mut cc = cc.clone(); - cc.define("ABI_TYPE_NAME", name); - cc.compile(Path::new("tests/layout.c"), &exe)?; + if rust_layout != c_layout { + results.record_failed(); + eprintln!( + "Layout mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_layout, &c_layout + ); + continue; + } - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into()); + results.record_passed(); } - let stdout = str::from_utf8(&output.stdout)?; - let mut words = stdout.trim().split_whitespace(); - let size = words.next().unwrap().parse().unwrap(); - let alignment = words.next().unwrap().parse().unwrap(); - Ok(Layout { size, alignment }) + results.expect_total_success(); } -fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("constant"); - let mut cc = cc.clone(); - cc.define("ABI_CONSTANT_NAME", name); - cc.compile(Path::new("tests/constant.c"), &exe)?; +fn get_c_output(name: &str) -> Result> { + let tmpdir = Builder::new().prefix("abi").tempdir()?; + let exe = tmpdir.path().join(name); + let c_file = Path::new("tests").join(name).with_extension("c"); + + let cc = Compiler::new().expect("configured compiler"); + cc.compile(&c_file, &exe)?; let mut abi_cmd = Command::new(exe); let output = abi_cmd.output()?; @@ -236,16 +206,7 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result +#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", \ + double: "%f", \ + long double: "%ld"), \ + CONSTANT_NAME); \ + printf("\n"); + int main() { - printf(_Generic((ABI_CONSTANT_NAME), - char *: "###gir test###%s###gir test###\n", - const char *: "###gir test###%s###gir test###\n", - char: "###gir test###%c###gir test###\n", - signed char: "###gir test###%hhd###gir test###\n", - unsigned char: "###gir test###%hhu###gir test###\n", - short int: "###gir test###%hd###gir test###\n", - unsigned short int: "###gir test###%hu###gir test###\n", - int: "###gir test###%d###gir test###\n", - unsigned int: "###gir test###%u###gir test###\n", - long: "###gir test###%ld###gir test###\n", - unsigned long: "###gir test###%lu###gir test###\n", - long long: "###gir test###%lld###gir test###\n", - unsigned long long: "###gir test###%llu###gir test###\n", - double: "###gir test###%f###gir test###\n", - long double: "###gir test###%ld###gir test###\n"), - ABI_CONSTANT_NAME); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_DEFAULT); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RXYX); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RXYZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RXZX); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RXZY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RYXY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RYXZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RYZX); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RYZY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RZXY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RZXZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RZYX); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_RZYZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SXYX); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SXYZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SXZX); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SXZY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SYXY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SYXZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SYZX); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SYZY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SZXY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SZXZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SZYX); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_SZYZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_XYZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_XZY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_YXZ); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_YZX); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_ZXY); + PRINT_CONSTANT((gint) GRAPHENE_EULER_ORDER_ZYX); + PRINT_CONSTANT(GRAPHENE_HAS_GCC); + PRINT_CONSTANT(GRAPHENE_HAS_SCALAR); + PRINT_CONSTANT(GRAPHENE_HAS_SSE); + PRINT_CONSTANT(GRAPHENE_PI); + PRINT_CONSTANT(GRAPHENE_PI_2); + PRINT_CONSTANT((gint) GRAPHENE_RAY_INTERSECTION_KIND_ENTER); + PRINT_CONSTANT((gint) GRAPHENE_RAY_INTERSECTION_KIND_LEAVE); + PRINT_CONSTANT((gint) GRAPHENE_RAY_INTERSECTION_KIND_NONE); + PRINT_CONSTANT(GRAPHENE_SIMD_S); + PRINT_CONSTANT(GRAPHENE_VEC2_LEN); + PRINT_CONSTANT(GRAPHENE_VEC3_LEN); + PRINT_CONSTANT(GRAPHENE_VEC4_LEN); return 0; } diff --git a/graphene/sys/tests/layout.c b/graphene/sys/tests/layout.c index 45f2ef46113e..a14c8367daae 100644 --- a/graphene/sys/tests/layout.c +++ b/graphene/sys/tests/layout.c @@ -7,6 +7,5 @@ #include int main() { - printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME)); return 0; } diff --git a/graphene/sys/versions.txt b/graphene/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/graphene/sys/versions.txt +++ b/graphene/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gtk/src/auto/file_chooser_dialog.rs b/gtk/src/auto/file_chooser_dialog.rs index fec8fdfd555b..132bb17fb8e4 100644 --- a/gtk/src/auto/file_chooser_dialog.rs +++ b/gtk/src/auto/file_chooser_dialog.rs @@ -18,7 +18,6 @@ use crate::WindowPosition; use crate::WindowType; use glib::object::Cast; use glib::object::IsA; -use glib::translate::*; use glib::StaticType; use glib::ToValue; use std::fmt; diff --git a/gtk/src/auto/gl_area.rs b/gtk/src/auto/gl_area.rs index a473dad7dbd3..120f124a1804 100644 --- a/gtk/src/auto/gl_area.rs +++ b/gtk/src/auto/gl_area.rs @@ -14,6 +14,8 @@ use glib::signal::connect_raw; #[cfg(any(feature = "v3_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))] use glib::signal::SignalHandlerId; +#[cfg(any(feature = "v3_16", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))] use glib::translate::*; use glib::StaticType; use glib::ToValue; diff --git a/gtk/src/auto/misc.rs b/gtk/src/auto/misc.rs index ae98a6aff1a7..5ba1790b028d 100644 --- a/gtk/src/auto/misc.rs +++ b/gtk/src/auto/misc.rs @@ -4,7 +4,6 @@ use crate::Buildable; use crate::Widget; -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/gtk/src/auto/model_button.rs b/gtk/src/auto/model_button.rs index c49153c35e0f..30354f50e13b 100644 --- a/gtk/src/auto/model_button.rs +++ b/gtk/src/auto/model_button.rs @@ -26,6 +26,8 @@ use glib::signal::connect_raw; #[cfg(any(feature = "v3_16", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))] use glib::signal::SignalHandlerId; +#[cfg(any(feature = "v3_16", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))] use glib::translate::*; use glib::StaticType; use glib::ToValue; diff --git a/gtk/src/auto/native_dialog.rs b/gtk/src/auto/native_dialog.rs index d3ab538cc9fa..d7a639d3b0d1 100644 --- a/gtk/src/auto/native_dialog.rs +++ b/gtk/src/auto/native_dialog.rs @@ -18,6 +18,8 @@ use glib::signal::connect_raw; #[cfg(any(feature = "v3_20", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))] use glib::signal::SignalHandlerId; +#[cfg(any(feature = "v3_20", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))] use glib::translate::*; #[cfg(any(feature = "v3_20", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))] diff --git a/gtk/src/auto/recent_chooser_dialog.rs b/gtk/src/auto/recent_chooser_dialog.rs index 85bc08353f5d..443584f328f7 100644 --- a/gtk/src/auto/recent_chooser_dialog.rs +++ b/gtk/src/auto/recent_chooser_dialog.rs @@ -19,7 +19,6 @@ use crate::WindowPosition; use crate::WindowType; use glib::object::Cast; use glib::object::IsA; -use glib::translate::*; use glib::StaticType; use glib::ToValue; use std::fmt; diff --git a/gtk/src/auto/selection_data.rs b/gtk/src/auto/selection_data.rs index 215fcb105df3..a44ecbefd36a 100644 --- a/gtk/src/auto/selection_data.rs +++ b/gtk/src/auto/selection_data.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct SelectionData(Boxed); match fn { - copy => |ptr| ffi::gtk_selection_data_copy(mut_override(ptr)), + copy => |ptr| ffi::gtk_selection_data_copy(ptr), free => |ptr| ffi::gtk_selection_data_free(ptr), get_type => || ffi::gtk_selection_data_get_type(), } diff --git a/gtk/src/auto/shortcut_label.rs b/gtk/src/auto/shortcut_label.rs index 7a01349abd1b..aac27d3d9864 100644 --- a/gtk/src/auto/shortcut_label.rs +++ b/gtk/src/auto/shortcut_label.rs @@ -22,6 +22,8 @@ use glib::signal::connect_raw; #[cfg(any(feature = "v3_22", feature = "dox"))] #[cfg_attr(feature = "dox", doc(cfg(feature = "v3_22")))] use glib::signal::SignalHandlerId; +#[cfg(any(feature = "v3_22", feature = "dox"))] +#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_22")))] use glib::translate::*; use glib::StaticType; use glib::ToValue; diff --git a/gtk/src/auto/text_iter.rs b/gtk/src/auto/text_iter.rs index fcdae70b85c4..5898a064969e 100644 --- a/gtk/src/auto/text_iter.rs +++ b/gtk/src/auto/text_iter.rs @@ -16,7 +16,7 @@ glib::wrapper! { pub struct TextIter(Boxed); match fn { - copy => |ptr| ffi::gtk_text_iter_copy(mut_override(ptr)), + copy => |ptr| ffi::gtk_text_iter_copy(ptr), free => |ptr| ffi::gtk_text_iter_free(ptr), init => |_ptr| (), clear => |_ptr| (), diff --git a/gtk/src/auto/tree_path.rs b/gtk/src/auto/tree_path.rs index 2063073c4b9a..3f240d729fda 100644 --- a/gtk/src/auto/tree_path.rs +++ b/gtk/src/auto/tree_path.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct TreePath(Boxed); match fn { - copy => |ptr| ffi::gtk_tree_path_copy(mut_override(ptr)), + copy => |ptr| ffi::gtk_tree_path_copy(ptr), free => |ptr| ffi::gtk_tree_path_free(ptr), get_type => || ffi::gtk_tree_path_get_type(), } diff --git a/gtk/src/auto/versions.txt b/gtk/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gtk/src/auto/versions.txt +++ b/gtk/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/gtk/sys/tests/abi.rs b/gtk/sys/tests/abi.rs index 23b657ff0d6b..fe9e89b8eacb 100644 --- a/gtk/sys/tests/abi.rs +++ b/gtk/sys/tests/abi.rs @@ -5,6 +5,7 @@ use gtk_sys::*; use std::env; use std::error::Error; +use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; use std::process::Command; @@ -22,6 +23,8 @@ impl Compiler { pub fn new() -> Result> { let mut args = get_var("CC", "cc")?; args.push("-Wno-deprecated-declarations".to_owned()); + // For _Generic + args.push("-std=c11".to_owned()); // For %z support in printf when using MinGW. args.push("-D__USE_MINGW_ANSI_STDIO".to_owned()); args.extend(get_var("CFLAGS", "")?); @@ -30,14 +33,6 @@ impl Compiler { Ok(Compiler { args }) } - pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { - let arg = match val.into() { - None => format!("-D{}", var), - Some(val) => format!("-D{}={}", var, val), - }; - self.args.push(arg); - } - pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box> { let mut cmd = self.to_command(); cmd.arg(src); @@ -69,7 +64,8 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { if packages.is_empty() { return Ok(Vec::new()); } - let mut cmd = Command::new("pkg-config"); + let pkg_config = env::var_os("PKG_CONFIG").unwrap_or_else(|| OsString::from("pkg-config")); + let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); let out = cmd.output()?; @@ -92,8 +88,6 @@ struct Results { passed: usize, /// Total number of failed tests (including those that failed to compile). failed: usize, - /// Number of tests that failed to compile. - failed_to_compile: usize, } impl Results { @@ -103,15 +97,8 @@ impl Results { fn record_failed(&mut self) { self.failed += 1; } - fn record_failed_to_compile(&mut self) { - self.failed += 1; - self.failed_to_compile += 1; - } fn summary(&self) -> String { - format!( - "{} passed; {} failed (compilation errors: {})", - self.passed, self.failed, self.failed_to_compile - ) + format!("{} passed; {} failed", self.passed, self.failed) } fn expect_total_success(&self) { if self.failed == 0 { @@ -124,111 +111,94 @@ impl Results { #[test] fn cross_validate_constants_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_constants: Vec<(String, String)> = Vec::new(); - assert_eq!( - "1", - get_c_value(tmpdir.path(), &cc, "1").expect("C constant"), - "failed to obtain correct constant value for 1" - ); + for l in get_c_output("constant").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let value = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse value"); + c_constants.push((name, value)); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() { - match get_c_value(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(ref c_value) => { - if rust_value == c_value { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_value, c_value - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("constants ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_value), (c_name, c_value)) in + RUST_CONSTANTS.iter().zip(c_constants.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; + } + + if rust_value != c_value { + results.record_failed(); + eprintln!( + "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_value, &c_value + ); + continue; } + + results.record_passed(); } + results.expect_total_success(); } #[test] fn cross_validate_layout_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_layouts = Vec::new(); - assert_eq!( - Layout { - size: 1, - alignment: 1 - }, - get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"), - "failed to obtain correct layout for char type" - ); + for l in get_c_output("layout").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let size = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse size"); + let alignment = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse alignment"); + c_layouts.push((name, Layout { size, alignment })); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() { - match get_c_layout(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(c_layout) => { - if rust_layout == c_layout { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Layout mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_layout, &c_layout - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("layout ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_layout), (c_name, c_layout)) in RUST_LAYOUTS.iter().zip(c_layouts.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; } - } - results.expect_total_success(); -} -fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("layout"); - let mut cc = cc.clone(); - cc.define("ABI_TYPE_NAME", name); - cc.compile(Path::new("tests/layout.c"), &exe)?; + if rust_layout != c_layout { + results.record_failed(); + eprintln!( + "Layout mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_layout, &c_layout + ); + continue; + } - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into()); + results.record_passed(); } - let stdout = str::from_utf8(&output.stdout)?; - let mut words = stdout.trim().split_whitespace(); - let size = words.next().unwrap().parse().unwrap(); - let alignment = words.next().unwrap().parse().unwrap(); - Ok(Layout { size, alignment }) + results.expect_total_success(); } -fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("constant"); - let mut cc = cc.clone(); - cc.define("ABI_CONSTANT_NAME", name); - cc.compile(Path::new("tests/constant.c"), &exe)?; +fn get_c_output(name: &str) -> Result> { + let tmpdir = Builder::new().prefix("abi").tempdir()?; + let exe = tmpdir.path().join(name); + let c_file = Path::new("tests").join(name).with_extension("c"); + + let cc = Compiler::new().expect("configured compiler"); + cc.compile(&c_file, &exe)?; let mut abi_cmd = Command::new(exe); let output = abi_cmd.output()?; @@ -236,16 +206,7 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result +#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", \ + double: "%f", \ + long double: "%ld"), \ + CONSTANT_NAME); \ + printf("\n"); + int main() { - printf(_Generic((ABI_CONSTANT_NAME), - char *: "###gir test###%s###gir test###\n", - const char *: "###gir test###%s###gir test###\n", - char: "###gir test###%c###gir test###\n", - signed char: "###gir test###%hhd###gir test###\n", - unsigned char: "###gir test###%hhu###gir test###\n", - short int: "###gir test###%hd###gir test###\n", - unsigned short int: "###gir test###%hu###gir test###\n", - int: "###gir test###%d###gir test###\n", - unsigned int: "###gir test###%u###gir test###\n", - long: "###gir test###%ld###gir test###\n", - unsigned long: "###gir test###%lu###gir test###\n", - long long: "###gir test###%lld###gir test###\n", - unsigned long long: "###gir test###%llu###gir test###\n", - double: "###gir test###%f###gir test###\n", - long double: "###gir test###%ld###gir test###\n"), - ABI_CONSTANT_NAME); + PRINT_CONSTANT((guint) GTK_ACCEL_LOCKED); + PRINT_CONSTANT((guint) GTK_ACCEL_MASK); + PRINT_CONSTANT((guint) GTK_ACCEL_VISIBLE); + PRINT_CONSTANT((gint) GTK_ALIGN_BASELINE); + PRINT_CONSTANT((gint) GTK_ALIGN_CENTER); + PRINT_CONSTANT((gint) GTK_ALIGN_END); + PRINT_CONSTANT((gint) GTK_ALIGN_FILL); + PRINT_CONSTANT((gint) GTK_ALIGN_START); + PRINT_CONSTANT((guint) GTK_APPLICATION_INHIBIT_IDLE); + PRINT_CONSTANT((guint) GTK_APPLICATION_INHIBIT_LOGOUT); + PRINT_CONSTANT((guint) GTK_APPLICATION_INHIBIT_SUSPEND); + PRINT_CONSTANT((guint) GTK_APPLICATION_INHIBIT_SWITCH); + PRINT_CONSTANT((gint) GTK_ARROWS_BOTH); + PRINT_CONSTANT((gint) GTK_ARROWS_END); + PRINT_CONSTANT((gint) GTK_ARROWS_START); + PRINT_CONSTANT((gint) GTK_ARROW_DOWN); + PRINT_CONSTANT((gint) GTK_ARROW_LEFT); + PRINT_CONSTANT((gint) GTK_ARROW_NONE); + PRINT_CONSTANT((gint) GTK_ARROW_RIGHT); + PRINT_CONSTANT((gint) GTK_ARROW_UP); + PRINT_CONSTANT((gint) GTK_ASSISTANT_PAGE_CONFIRM); + PRINT_CONSTANT((gint) GTK_ASSISTANT_PAGE_CONTENT); + PRINT_CONSTANT((gint) GTK_ASSISTANT_PAGE_CUSTOM); + PRINT_CONSTANT((gint) GTK_ASSISTANT_PAGE_INTRO); + PRINT_CONSTANT((gint) GTK_ASSISTANT_PAGE_PROGRESS); + PRINT_CONSTANT((gint) GTK_ASSISTANT_PAGE_SUMMARY); + PRINT_CONSTANT((gint) GTK_BASELINE_POSITION_BOTTOM); + PRINT_CONSTANT((gint) GTK_BASELINE_POSITION_CENTER); + PRINT_CONSTANT((gint) GTK_BASELINE_POSITION_TOP); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_DASHED); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_DOTTED); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_DOUBLE); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_GROOVE); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_HIDDEN); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_INSET); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_NONE); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_OUTSET); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_RIDGE); + PRINT_CONSTANT((gint) GTK_BORDER_STYLE_SOLID); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_DUPLICATE_ID); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_INVALID_ATTRIBUTE); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_INVALID_ID); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_INVALID_PROPERTY); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_INVALID_SIGNAL); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_INVALID_TAG); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_INVALID_VALUE); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_MISSING_ATTRIBUTE); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_TEMPLATE_MISMATCH); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_UNHANDLED_TAG); + PRINT_CONSTANT((gint) GTK_BUILDER_ERROR_VERSION_MISMATCH); + PRINT_CONSTANT((gint) GTK_BUTTONBOX_CENTER); + PRINT_CONSTANT((gint) GTK_BUTTONBOX_EDGE); + PRINT_CONSTANT((gint) GTK_BUTTONBOX_END); + PRINT_CONSTANT((gint) GTK_BUTTONBOX_EXPAND); + PRINT_CONSTANT((gint) GTK_BUTTONBOX_SPREAD); + PRINT_CONSTANT((gint) GTK_BUTTONBOX_START); + PRINT_CONSTANT((gint) GTK_BUTTONS_CANCEL); + PRINT_CONSTANT((gint) GTK_BUTTONS_CLOSE); + PRINT_CONSTANT((gint) GTK_BUTTONS_NONE); + PRINT_CONSTANT((gint) GTK_BUTTONS_OK); + PRINT_CONSTANT((gint) GTK_BUTTONS_OK_CANCEL); + PRINT_CONSTANT((gint) GTK_BUTTONS_YES_NO); + PRINT_CONSTANT((gint) GTK_BUTTON_ROLE_CHECK); + PRINT_CONSTANT((gint) GTK_BUTTON_ROLE_NORMAL); + PRINT_CONSTANT((gint) GTK_BUTTON_ROLE_RADIO); + PRINT_CONSTANT((guint) GTK_CALENDAR_NO_MONTH_CHANGE); + PRINT_CONSTANT((guint) GTK_CALENDAR_SHOW_DAY_NAMES); + PRINT_CONSTANT((guint) GTK_CALENDAR_SHOW_DETAILS); + PRINT_CONSTANT((guint) GTK_CALENDAR_SHOW_HEADING); + PRINT_CONSTANT((guint) GTK_CALENDAR_SHOW_WEEK_NUMBERS); + PRINT_CONSTANT((gint) GTK_CELL_RENDERER_ACCEL_MODE_GTK); + PRINT_CONSTANT((gint) GTK_CELL_RENDERER_ACCEL_MODE_MODIFIER_TAP); + PRINT_CONSTANT((gint) GTK_CELL_RENDERER_ACCEL_MODE_OTHER); + PRINT_CONSTANT((guint) GTK_CELL_RENDERER_EXPANDABLE); + PRINT_CONSTANT((guint) GTK_CELL_RENDERER_EXPANDED); + PRINT_CONSTANT((guint) GTK_CELL_RENDERER_FOCUSED); + PRINT_CONSTANT((guint) GTK_CELL_RENDERER_INSENSITIVE); + PRINT_CONSTANT((gint) GTK_CELL_RENDERER_MODE_ACTIVATABLE); + PRINT_CONSTANT((gint) GTK_CELL_RENDERER_MODE_EDITABLE); + PRINT_CONSTANT((gint) GTK_CELL_RENDERER_MODE_INERT); + PRINT_CONSTANT((guint) GTK_CELL_RENDERER_PRELIT); + PRINT_CONSTANT((guint) GTK_CELL_RENDERER_SELECTED); + PRINT_CONSTANT((guint) GTK_CELL_RENDERER_SORTED); + PRINT_CONSTANT((gint) GTK_CORNER_BOTTOM_LEFT); + PRINT_CONSTANT((gint) GTK_CORNER_BOTTOM_RIGHT); + PRINT_CONSTANT((gint) GTK_CORNER_TOP_LEFT); + PRINT_CONSTANT((gint) GTK_CORNER_TOP_RIGHT); + PRINT_CONSTANT((gint) GTK_CSS_PROVIDER_ERROR_DEPRECATED); + PRINT_CONSTANT((gint) GTK_CSS_PROVIDER_ERROR_FAILED); + PRINT_CONSTANT((gint) GTK_CSS_PROVIDER_ERROR_IMPORT); + PRINT_CONSTANT((gint) GTK_CSS_PROVIDER_ERROR_NAME); + PRINT_CONSTANT((gint) GTK_CSS_PROVIDER_ERROR_SYNTAX); + PRINT_CONSTANT((gint) GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE); + PRINT_CONSTANT((gint) GTK_CSS_SECTION_BINDING_SET); + PRINT_CONSTANT((gint) GTK_CSS_SECTION_COLOR_DEFINITION); + PRINT_CONSTANT((gint) GTK_CSS_SECTION_DECLARATION); + PRINT_CONSTANT((gint) GTK_CSS_SECTION_DOCUMENT); + PRINT_CONSTANT((gint) GTK_CSS_SECTION_IMPORT); + PRINT_CONSTANT((gint) GTK_CSS_SECTION_KEYFRAMES); + PRINT_CONSTANT((gint) GTK_CSS_SECTION_RULESET); + PRINT_CONSTANT((gint) GTK_CSS_SECTION_SELECTOR); + PRINT_CONSTANT((gint) GTK_CSS_SECTION_VALUE); + PRINT_CONSTANT((guint) GTK_DEBUG_ACTIONS); + PRINT_CONSTANT((guint) GTK_DEBUG_BASELINES); + PRINT_CONSTANT((guint) GTK_DEBUG_BUILDER); + PRINT_CONSTANT((guint) GTK_DEBUG_GEOMETRY); + PRINT_CONSTANT((guint) GTK_DEBUG_ICONTHEME); + PRINT_CONSTANT((guint) GTK_DEBUG_INTERACTIVE); + PRINT_CONSTANT((guint) GTK_DEBUG_KEYBINDINGS); + PRINT_CONSTANT((guint) GTK_DEBUG_LAYOUT); + PRINT_CONSTANT((guint) GTK_DEBUG_MISC); + PRINT_CONSTANT((guint) GTK_DEBUG_MODULES); + PRINT_CONSTANT((guint) GTK_DEBUG_MULTIHEAD); + PRINT_CONSTANT((guint) GTK_DEBUG_NO_CSS_CACHE); + PRINT_CONSTANT((guint) GTK_DEBUG_NO_PIXEL_CACHE); + PRINT_CONSTANT((guint) GTK_DEBUG_PIXEL_CACHE); + PRINT_CONSTANT((guint) GTK_DEBUG_PLUGSOCKET); + PRINT_CONSTANT((guint) GTK_DEBUG_PRINTING); + PRINT_CONSTANT((guint) GTK_DEBUG_RESIZE); + PRINT_CONSTANT((guint) GTK_DEBUG_SIZE_REQUEST); + PRINT_CONSTANT((guint) GTK_DEBUG_TEXT); + PRINT_CONSTANT((guint) GTK_DEBUG_TOUCHSCREEN); + PRINT_CONSTANT((guint) GTK_DEBUG_TREE); + PRINT_CONSTANT((guint) GTK_DEBUG_UPDATES); + PRINT_CONSTANT((gint) GTK_DELETE_CHARS); + PRINT_CONSTANT((gint) GTK_DELETE_DISPLAY_LINES); + PRINT_CONSTANT((gint) GTK_DELETE_DISPLAY_LINE_ENDS); + PRINT_CONSTANT((gint) GTK_DELETE_PARAGRAPHS); + PRINT_CONSTANT((gint) GTK_DELETE_PARAGRAPH_ENDS); + PRINT_CONSTANT((gint) GTK_DELETE_WHITESPACE); + PRINT_CONSTANT((gint) GTK_DELETE_WORDS); + PRINT_CONSTANT((gint) GTK_DELETE_WORD_ENDS); + PRINT_CONSTANT((guint) GTK_DEST_DEFAULT_ALL); + PRINT_CONSTANT((guint) GTK_DEST_DEFAULT_DROP); + PRINT_CONSTANT((guint) GTK_DEST_DEFAULT_HIGHLIGHT); + PRINT_CONSTANT((guint) GTK_DEST_DEFAULT_MOTION); + PRINT_CONSTANT((guint) GTK_DIALOG_DESTROY_WITH_PARENT); + PRINT_CONSTANT((guint) GTK_DIALOG_MODAL); + PRINT_CONSTANT((guint) GTK_DIALOG_USE_HEADER_BAR); + PRINT_CONSTANT((gint) GTK_DIR_DOWN); + PRINT_CONSTANT((gint) GTK_DIR_LEFT); + PRINT_CONSTANT((gint) GTK_DIR_RIGHT); + PRINT_CONSTANT((gint) GTK_DIR_TAB_BACKWARD); + PRINT_CONSTANT((gint) GTK_DIR_TAB_FORWARD); + PRINT_CONSTANT((gint) GTK_DIR_UP); + PRINT_CONSTANT((gint) GTK_DRAG_RESULT_ERROR); + PRINT_CONSTANT((gint) GTK_DRAG_RESULT_GRAB_BROKEN); + PRINT_CONSTANT((gint) GTK_DRAG_RESULT_NO_TARGET); + PRINT_CONSTANT((gint) GTK_DRAG_RESULT_SUCCESS); + PRINT_CONSTANT((gint) GTK_DRAG_RESULT_TIMEOUT_EXPIRED); + PRINT_CONSTANT((gint) GTK_DRAG_RESULT_USER_CANCELLED); + PRINT_CONSTANT((gint) GTK_ENTRY_ICON_PRIMARY); + PRINT_CONSTANT((gint) GTK_ENTRY_ICON_SECONDARY); + PRINT_CONSTANT((guint) GTK_EVENT_CONTROLLER_SCROLL_BOTH_AXES); + PRINT_CONSTANT((guint) GTK_EVENT_CONTROLLER_SCROLL_DISCRETE); + PRINT_CONSTANT((guint) GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL); + PRINT_CONSTANT((guint) GTK_EVENT_CONTROLLER_SCROLL_KINETIC); + PRINT_CONSTANT((guint) GTK_EVENT_CONTROLLER_SCROLL_NONE); + PRINT_CONSTANT((guint) GTK_EVENT_CONTROLLER_SCROLL_VERTICAL); + PRINT_CONSTANT((gint) GTK_EVENT_SEQUENCE_CLAIMED); + PRINT_CONSTANT((gint) GTK_EVENT_SEQUENCE_DENIED); + PRINT_CONSTANT((gint) GTK_EVENT_SEQUENCE_NONE); + PRINT_CONSTANT((guint) GTK_EXPAND); + PRINT_CONSTANT((gint) GTK_EXPANDER_COLLAPSED); + PRINT_CONSTANT((gint) GTK_EXPANDER_EXPANDED); + PRINT_CONSTANT((gint) GTK_EXPANDER_SEMI_COLLAPSED); + PRINT_CONSTANT((gint) GTK_EXPANDER_SEMI_EXPANDED); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_ACTION_OPEN); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_ACTION_SAVE); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_ERROR_BAD_FILENAME); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME); + PRINT_CONSTANT((gint) GTK_FILE_CHOOSER_ERROR_NONEXISTENT); + PRINT_CONSTANT((guint) GTK_FILE_FILTER_DISPLAY_NAME); + PRINT_CONSTANT((guint) GTK_FILE_FILTER_FILENAME); + PRINT_CONSTANT((guint) GTK_FILE_FILTER_MIME_TYPE); + PRINT_CONSTANT((guint) GTK_FILE_FILTER_URI); + PRINT_CONSTANT((guint) GTK_FILL); + PRINT_CONSTANT((guint) GTK_FONT_CHOOSER_LEVEL_FAMILY); + PRINT_CONSTANT((guint) GTK_FONT_CHOOSER_LEVEL_FEATURES); + PRINT_CONSTANT((guint) GTK_FONT_CHOOSER_LEVEL_SIZE); + PRINT_CONSTANT((guint) GTK_FONT_CHOOSER_LEVEL_STYLE); + PRINT_CONSTANT((guint) GTK_FONT_CHOOSER_LEVEL_VARIATIONS); + PRINT_CONSTANT((guint) GTK_ICON_LOOKUP_DIR_LTR); + PRINT_CONSTANT((guint) GTK_ICON_LOOKUP_DIR_RTL); + PRINT_CONSTANT((guint) GTK_ICON_LOOKUP_FORCE_REGULAR); + PRINT_CONSTANT((guint) GTK_ICON_LOOKUP_FORCE_SIZE); + PRINT_CONSTANT((guint) GTK_ICON_LOOKUP_FORCE_SVG); + PRINT_CONSTANT((guint) GTK_ICON_LOOKUP_FORCE_SYMBOLIC); + PRINT_CONSTANT((guint) GTK_ICON_LOOKUP_GENERIC_FALLBACK); + PRINT_CONSTANT((guint) GTK_ICON_LOOKUP_NO_SVG); + PRINT_CONSTANT((guint) GTK_ICON_LOOKUP_USE_BUILTIN); + PRINT_CONSTANT((gint) GTK_ICON_SIZE_BUTTON); + PRINT_CONSTANT((gint) GTK_ICON_SIZE_DIALOG); + PRINT_CONSTANT((gint) GTK_ICON_SIZE_DND); + PRINT_CONSTANT((gint) GTK_ICON_SIZE_INVALID); + PRINT_CONSTANT((gint) GTK_ICON_SIZE_LARGE_TOOLBAR); + PRINT_CONSTANT((gint) GTK_ICON_SIZE_MENU); + PRINT_CONSTANT((gint) GTK_ICON_SIZE_SMALL_TOOLBAR); + PRINT_CONSTANT((gint) GTK_ICON_THEME_FAILED); + PRINT_CONSTANT((gint) GTK_ICON_THEME_NOT_FOUND); + PRINT_CONSTANT((gint) GTK_ICON_VIEW_DROP_ABOVE); + PRINT_CONSTANT((gint) GTK_ICON_VIEW_DROP_BELOW); + PRINT_CONSTANT((gint) GTK_ICON_VIEW_DROP_INTO); + PRINT_CONSTANT((gint) GTK_ICON_VIEW_DROP_LEFT); + PRINT_CONSTANT((gint) GTK_ICON_VIEW_DROP_RIGHT); + PRINT_CONSTANT((gint) GTK_ICON_VIEW_NO_DROP); + PRINT_CONSTANT((gint) GTK_IMAGE_ANIMATION); + PRINT_CONSTANT((gint) GTK_IMAGE_EMPTY); + PRINT_CONSTANT((gint) GTK_IMAGE_GICON); + PRINT_CONSTANT((gint) GTK_IMAGE_ICON_NAME); + PRINT_CONSTANT((gint) GTK_IMAGE_ICON_SET); + PRINT_CONSTANT((gint) GTK_IMAGE_PIXBUF); + PRINT_CONSTANT((gint) GTK_IMAGE_STOCK); + PRINT_CONSTANT((gint) GTK_IMAGE_SURFACE); + PRINT_CONSTANT((gint) GTK_IM_PREEDIT_CALLBACK); + PRINT_CONSTANT((gint) GTK_IM_PREEDIT_NONE); + PRINT_CONSTANT((gint) GTK_IM_PREEDIT_NOTHING); + PRINT_CONSTANT((gint) GTK_IM_STATUS_CALLBACK); + PRINT_CONSTANT((gint) GTK_IM_STATUS_NONE); + PRINT_CONSTANT((gint) GTK_IM_STATUS_NOTHING); + PRINT_CONSTANT(GTK_INPUT_ERROR); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_EMOJI); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_INHIBIT_OSK); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_LOWERCASE); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_NONE); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_NO_EMOJI); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_NO_SPELLCHECK); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_SPELLCHECK); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_UPPERCASE_CHARS); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_UPPERCASE_SENTENCES); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_UPPERCASE_WORDS); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_VERTICAL_WRITING); + PRINT_CONSTANT((guint) GTK_INPUT_HINT_WORD_COMPLETION); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_ALPHA); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_DIGITS); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_EMAIL); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_FREE_FORM); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_NAME); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_NUMBER); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_PASSWORD); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_PHONE); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_PIN); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_TERMINAL); + PRINT_CONSTANT((gint) GTK_INPUT_PURPOSE_URL); + PRINT_CONSTANT((guint) GTK_JUNCTION_BOTTOM); + PRINT_CONSTANT((guint) GTK_JUNCTION_CORNER_BOTTOMLEFT); + PRINT_CONSTANT((guint) GTK_JUNCTION_CORNER_BOTTOMRIGHT); + PRINT_CONSTANT((guint) GTK_JUNCTION_CORNER_TOPLEFT); + PRINT_CONSTANT((guint) GTK_JUNCTION_CORNER_TOPRIGHT); + PRINT_CONSTANT((guint) GTK_JUNCTION_LEFT); + PRINT_CONSTANT((guint) GTK_JUNCTION_NONE); + PRINT_CONSTANT((guint) GTK_JUNCTION_RIGHT); + PRINT_CONSTANT((guint) GTK_JUNCTION_TOP); + PRINT_CONSTANT((gint) GTK_JUSTIFY_CENTER); + PRINT_CONSTANT((gint) GTK_JUSTIFY_FILL); + PRINT_CONSTANT((gint) GTK_JUSTIFY_LEFT); + PRINT_CONSTANT((gint) GTK_JUSTIFY_RIGHT); + PRINT_CONSTANT((gint) GTK_LEVEL_BAR_MODE_CONTINUOUS); + PRINT_CONSTANT((gint) GTK_LEVEL_BAR_MODE_DISCRETE); + PRINT_CONSTANT(GTK_LEVEL_BAR_OFFSET_FULL); + PRINT_CONSTANT(GTK_LEVEL_BAR_OFFSET_HIGH); + PRINT_CONSTANT(GTK_LEVEL_BAR_OFFSET_LOW); + PRINT_CONSTANT((gint) GTK_LICENSE_AGPL_3_0); + PRINT_CONSTANT((gint) GTK_LICENSE_AGPL_3_0_ONLY); + PRINT_CONSTANT((gint) GTK_LICENSE_APACHE_2_0); + PRINT_CONSTANT((gint) GTK_LICENSE_ARTISTIC); + PRINT_CONSTANT((gint) GTK_LICENSE_BSD); + PRINT_CONSTANT((gint) GTK_LICENSE_BSD_3); + PRINT_CONSTANT((gint) GTK_LICENSE_CUSTOM); + PRINT_CONSTANT((gint) GTK_LICENSE_GPL_2_0); + PRINT_CONSTANT((gint) GTK_LICENSE_GPL_2_0_ONLY); + PRINT_CONSTANT((gint) GTK_LICENSE_GPL_3_0); + PRINT_CONSTANT((gint) GTK_LICENSE_GPL_3_0_ONLY); + PRINT_CONSTANT((gint) GTK_LICENSE_LGPL_2_1); + PRINT_CONSTANT((gint) GTK_LICENSE_LGPL_2_1_ONLY); + PRINT_CONSTANT((gint) GTK_LICENSE_LGPL_3_0); + PRINT_CONSTANT((gint) GTK_LICENSE_LGPL_3_0_ONLY); + PRINT_CONSTANT((gint) GTK_LICENSE_MIT_X11); + PRINT_CONSTANT((gint) GTK_LICENSE_MPL_2_0); + PRINT_CONSTANT((gint) GTK_LICENSE_UNKNOWN); + PRINT_CONSTANT(GTK_MAX_COMPOSE_LEN); + PRINT_CONSTANT((gint) GTK_MENU_DIR_CHILD); + PRINT_CONSTANT((gint) GTK_MENU_DIR_NEXT); + PRINT_CONSTANT((gint) GTK_MENU_DIR_PARENT); + PRINT_CONSTANT((gint) GTK_MENU_DIR_PREV); + PRINT_CONSTANT((gint) GTK_MESSAGE_ERROR); + PRINT_CONSTANT((gint) GTK_MESSAGE_INFO); + PRINT_CONSTANT((gint) GTK_MESSAGE_OTHER); + PRINT_CONSTANT((gint) GTK_MESSAGE_QUESTION); + PRINT_CONSTANT((gint) GTK_MESSAGE_WARNING); + PRINT_CONSTANT((gint) GTK_MOVEMENT_BUFFER_ENDS); + PRINT_CONSTANT((gint) GTK_MOVEMENT_DISPLAY_LINES); + PRINT_CONSTANT((gint) GTK_MOVEMENT_DISPLAY_LINE_ENDS); + PRINT_CONSTANT((gint) GTK_MOVEMENT_HORIZONTAL_PAGES); + PRINT_CONSTANT((gint) GTK_MOVEMENT_LOGICAL_POSITIONS); + PRINT_CONSTANT((gint) GTK_MOVEMENT_PAGES); + PRINT_CONSTANT((gint) GTK_MOVEMENT_PARAGRAPHS); + PRINT_CONSTANT((gint) GTK_MOVEMENT_PARAGRAPH_ENDS); + PRINT_CONSTANT((gint) GTK_MOVEMENT_VISUAL_POSITIONS); + PRINT_CONSTANT((gint) GTK_MOVEMENT_WORDS); + PRINT_CONSTANT((gint) GTK_NOTEBOOK_TAB_FIRST); + PRINT_CONSTANT((gint) GTK_NOTEBOOK_TAB_LAST); + PRINT_CONSTANT((gint) GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT); + PRINT_CONSTANT((gint) GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT); + PRINT_CONSTANT((gint) GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP); + PRINT_CONSTANT((gint) GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM); + PRINT_CONSTANT((gint) GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP); + PRINT_CONSTANT((gint) GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM); + PRINT_CONSTANT((gint) GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT); + PRINT_CONSTANT((gint) GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT); + PRINT_CONSTANT((gint) GTK_ORIENTATION_HORIZONTAL); + PRINT_CONSTANT((gint) GTK_ORIENTATION_VERTICAL); + PRINT_CONSTANT((gint) GTK_PACK_DIRECTION_BTT); + PRINT_CONSTANT((gint) GTK_PACK_DIRECTION_LTR); + PRINT_CONSTANT((gint) GTK_PACK_DIRECTION_RTL); + PRINT_CONSTANT((gint) GTK_PACK_DIRECTION_TTB); + PRINT_CONSTANT((gint) GTK_PACK_END); + PRINT_CONSTANT((gint) GTK_PACK_START); + PRINT_CONSTANT((gint) GTK_PAD_ACTION_BUTTON); + PRINT_CONSTANT((gint) GTK_PAD_ACTION_RING); + PRINT_CONSTANT((gint) GTK_PAD_ACTION_STRIP); + PRINT_CONSTANT((gint) GTK_PAGE_ORIENTATION_LANDSCAPE); + PRINT_CONSTANT((gint) GTK_PAGE_ORIENTATION_PORTRAIT); + PRINT_CONSTANT((gint) GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE); + PRINT_CONSTANT((gint) GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT); + PRINT_CONSTANT((gint) GTK_PAGE_SET_ALL); + PRINT_CONSTANT((gint) GTK_PAGE_SET_EVEN); + PRINT_CONSTANT((gint) GTK_PAGE_SET_ODD); + PRINT_CONSTANT((gint) GTK_PAN_DIRECTION_DOWN); + PRINT_CONSTANT((gint) GTK_PAN_DIRECTION_LEFT); + PRINT_CONSTANT((gint) GTK_PAN_DIRECTION_RIGHT); + PRINT_CONSTANT((gint) GTK_PAN_DIRECTION_UP); + PRINT_CONSTANT(GTK_PAPER_NAME_A3); + PRINT_CONSTANT(GTK_PAPER_NAME_A4); + PRINT_CONSTANT(GTK_PAPER_NAME_A5); + PRINT_CONSTANT(GTK_PAPER_NAME_B5); + PRINT_CONSTANT(GTK_PAPER_NAME_EXECUTIVE); + PRINT_CONSTANT(GTK_PAPER_NAME_LEGAL); + PRINT_CONSTANT(GTK_PAPER_NAME_LETTER); + PRINT_CONSTANT((gint) GTK_PATH_CLASS); + PRINT_CONSTANT((gint) GTK_PATH_PRIO_APPLICATION); + PRINT_CONSTANT((gint) GTK_PATH_PRIO_GTK); + PRINT_CONSTANT((gint) GTK_PATH_PRIO_HIGHEST); + PRINT_CONSTANT((gint) GTK_PATH_PRIO_LOWEST); + PRINT_CONSTANT(GTK_PATH_PRIO_MASK); + PRINT_CONSTANT((gint) GTK_PATH_PRIO_RC); + PRINT_CONSTANT((gint) GTK_PATH_PRIO_THEME); + PRINT_CONSTANT((gint) GTK_PATH_WIDGET); + PRINT_CONSTANT((gint) GTK_PATH_WIDGET_CLASS); + PRINT_CONSTANT((gint) GTK_PHASE_BUBBLE); + PRINT_CONSTANT((gint) GTK_PHASE_CAPTURE); + PRINT_CONSTANT((gint) GTK_PHASE_NONE); + PRINT_CONSTANT((gint) GTK_PHASE_TARGET); + PRINT_CONSTANT((guint) GTK_PLACES_OPEN_NEW_TAB); + PRINT_CONSTANT((guint) GTK_PLACES_OPEN_NEW_WINDOW); + PRINT_CONSTANT((guint) GTK_PLACES_OPEN_NORMAL); + PRINT_CONSTANT((gint) GTK_POLICY_ALWAYS); + PRINT_CONSTANT((gint) GTK_POLICY_AUTOMATIC); + PRINT_CONSTANT((gint) GTK_POLICY_EXTERNAL); + PRINT_CONSTANT((gint) GTK_POLICY_NEVER); + PRINT_CONSTANT((gint) GTK_POPOVER_CONSTRAINT_NONE); + PRINT_CONSTANT((gint) GTK_POPOVER_CONSTRAINT_WINDOW); + PRINT_CONSTANT((gint) GTK_POS_BOTTOM); + PRINT_CONSTANT((gint) GTK_POS_LEFT); + PRINT_CONSTANT((gint) GTK_POS_RIGHT); + PRINT_CONSTANT((gint) GTK_POS_TOP); + PRINT_CONSTANT((gint) GTK_PRINT_DUPLEX_HORIZONTAL); + PRINT_CONSTANT((gint) GTK_PRINT_DUPLEX_SIMPLEX); + PRINT_CONSTANT((gint) GTK_PRINT_DUPLEX_VERTICAL); + PRINT_CONSTANT((gint) GTK_PRINT_ERROR_GENERAL); + PRINT_CONSTANT((gint) GTK_PRINT_ERROR_INTERNAL_ERROR); + PRINT_CONSTANT((gint) GTK_PRINT_ERROR_INVALID_FILE); + PRINT_CONSTANT((gint) GTK_PRINT_ERROR_NOMEM); + PRINT_CONSTANT((gint) GTK_PRINT_OPERATION_ACTION_EXPORT); + PRINT_CONSTANT((gint) GTK_PRINT_OPERATION_ACTION_PREVIEW); + PRINT_CONSTANT((gint) GTK_PRINT_OPERATION_ACTION_PRINT); + PRINT_CONSTANT((gint) GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG); + PRINT_CONSTANT((gint) GTK_PRINT_OPERATION_RESULT_APPLY); + PRINT_CONSTANT((gint) GTK_PRINT_OPERATION_RESULT_CANCEL); + PRINT_CONSTANT((gint) GTK_PRINT_OPERATION_RESULT_ERROR); + PRINT_CONSTANT((gint) GTK_PRINT_OPERATION_RESULT_IN_PROGRESS); + PRINT_CONSTANT((gint) GTK_PRINT_PAGES_ALL); + PRINT_CONSTANT((gint) GTK_PRINT_PAGES_CURRENT); + PRINT_CONSTANT((gint) GTK_PRINT_PAGES_RANGES); + PRINT_CONSTANT((gint) GTK_PRINT_PAGES_SELECTION); + PRINT_CONSTANT((gint) GTK_PRINT_QUALITY_DRAFT); + PRINT_CONSTANT((gint) GTK_PRINT_QUALITY_HIGH); + PRINT_CONSTANT((gint) GTK_PRINT_QUALITY_LOW); + PRINT_CONSTANT((gint) GTK_PRINT_QUALITY_NORMAL); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_COLLATE); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_DEFAULT_SOURCE); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_DITHER); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_DUPLEX); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_FINISHINGS); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_MEDIA_TYPE); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_NUMBER_UP); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_N_COPIES); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_ORIENTATION); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_OUTPUT_BASENAME); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_OUTPUT_BIN); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_OUTPUT_DIR); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_OUTPUT_URI); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_PAGE_RANGES); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_PAGE_SET); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_PAPER_FORMAT); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_PAPER_HEIGHT); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_PAPER_WIDTH); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_PRINTER); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_PRINTER_LPI); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_PRINT_PAGES); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_QUALITY); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_RESOLUTION); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_RESOLUTION_X); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_RESOLUTION_Y); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_REVERSE); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_SCALE); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_USE_COLOR); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA); + PRINT_CONSTANT(GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION); + PRINT_CONSTANT((gint) GTK_PRINT_STATUS_FINISHED); + PRINT_CONSTANT((gint) GTK_PRINT_STATUS_FINISHED_ABORTED); + PRINT_CONSTANT((gint) GTK_PRINT_STATUS_GENERATING_DATA); + PRINT_CONSTANT((gint) GTK_PRINT_STATUS_INITIAL); + PRINT_CONSTANT((gint) GTK_PRINT_STATUS_PENDING); + PRINT_CONSTANT((gint) GTK_PRINT_STATUS_PENDING_ISSUE); + PRINT_CONSTANT((gint) GTK_PRINT_STATUS_PREPARING); + PRINT_CONSTANT((gint) GTK_PRINT_STATUS_PRINTING); + PRINT_CONSTANT((gint) GTK_PRINT_STATUS_SENDING_DATA); + PRINT_CONSTANT(GTK_PRIORITY_RESIZE); + PRINT_CONSTANT((guint) GTK_RC_BASE); + PRINT_CONSTANT((guint) GTK_RC_BG); + PRINT_CONSTANT((guint) GTK_RC_FG); + PRINT_CONSTANT((guint) GTK_RC_TEXT); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_ACTIVE); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_APPLICATION); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_BASE); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_BG); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_BG_PIXMAP); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_BIND); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_BINDING); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_CLASS); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_COLOR); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_ENGINE); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_FG); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_FONT); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_FONTSET); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_FONT_NAME); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_GTK); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_HIGHEST); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_IM_MODULE_FILE); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_IM_MODULE_PATH); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_INCLUDE); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_INSENSITIVE); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_INVALID); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_LAST); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_LOWEST); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_LTR); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_MODULE_PATH); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_NORMAL); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_PIXMAP_PATH); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_PRELIGHT); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_RC); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_RTL); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_SELECTED); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_STOCK); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_STYLE); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_TEXT); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_THEME); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_UNBIND); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_WIDGET); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_WIDGET_CLASS); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_XTHICKNESS); + PRINT_CONSTANT((gint) GTK_RC_TOKEN_YTHICKNESS); + PRINT_CONSTANT((gint) GTK_RECENT_CHOOSER_ERROR_INVALID_URI); + PRINT_CONSTANT((gint) GTK_RECENT_CHOOSER_ERROR_NOT_FOUND); + PRINT_CONSTANT((guint) GTK_RECENT_FILTER_AGE); + PRINT_CONSTANT((guint) GTK_RECENT_FILTER_APPLICATION); + PRINT_CONSTANT((guint) GTK_RECENT_FILTER_DISPLAY_NAME); + PRINT_CONSTANT((guint) GTK_RECENT_FILTER_GROUP); + PRINT_CONSTANT((guint) GTK_RECENT_FILTER_MIME_TYPE); + PRINT_CONSTANT((guint) GTK_RECENT_FILTER_URI); + PRINT_CONSTANT((gint) GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING); + PRINT_CONSTANT((gint) GTK_RECENT_MANAGER_ERROR_INVALID_URI); + PRINT_CONSTANT((gint) GTK_RECENT_MANAGER_ERROR_NOT_FOUND); + PRINT_CONSTANT((gint) GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED); + PRINT_CONSTANT((gint) GTK_RECENT_MANAGER_ERROR_READ); + PRINT_CONSTANT((gint) GTK_RECENT_MANAGER_ERROR_UNKNOWN); + PRINT_CONSTANT((gint) GTK_RECENT_MANAGER_ERROR_WRITE); + PRINT_CONSTANT((gint) GTK_RECENT_SORT_CUSTOM); + PRINT_CONSTANT((gint) GTK_RECENT_SORT_LRU); + PRINT_CONSTANT((gint) GTK_RECENT_SORT_MRU); + PRINT_CONSTANT((gint) GTK_RECENT_SORT_NONE); + PRINT_CONSTANT((guint) GTK_REGION_EVEN); + PRINT_CONSTANT((guint) GTK_REGION_FIRST); + PRINT_CONSTANT((guint) GTK_REGION_LAST); + PRINT_CONSTANT((guint) GTK_REGION_ODD); + PRINT_CONSTANT((guint) GTK_REGION_ONLY); + PRINT_CONSTANT((guint) GTK_REGION_SORTED); + PRINT_CONSTANT((gint) GTK_RELIEF_HALF); + PRINT_CONSTANT((gint) GTK_RELIEF_NONE); + PRINT_CONSTANT((gint) GTK_RELIEF_NORMAL); + PRINT_CONSTANT((gint) GTK_RESIZE_IMMEDIATE); + PRINT_CONSTANT((gint) GTK_RESIZE_PARENT); + PRINT_CONSTANT((gint) GTK_RESIZE_QUEUE); + PRINT_CONSTANT((gint) GTK_RESPONSE_ACCEPT); + PRINT_CONSTANT((gint) GTK_RESPONSE_APPLY); + PRINT_CONSTANT((gint) GTK_RESPONSE_CANCEL); + PRINT_CONSTANT((gint) GTK_RESPONSE_CLOSE); + PRINT_CONSTANT((gint) GTK_RESPONSE_DELETE_EVENT); + PRINT_CONSTANT((gint) GTK_RESPONSE_HELP); + PRINT_CONSTANT((gint) GTK_RESPONSE_NO); + PRINT_CONSTANT((gint) GTK_RESPONSE_NONE); + PRINT_CONSTANT((gint) GTK_RESPONSE_OK); + PRINT_CONSTANT((gint) GTK_RESPONSE_REJECT); + PRINT_CONSTANT((gint) GTK_RESPONSE_YES); + PRINT_CONSTANT((gint) GTK_REVEALER_TRANSITION_TYPE_CROSSFADE); + PRINT_CONSTANT((gint) GTK_REVEALER_TRANSITION_TYPE_NONE); + PRINT_CONSTANT((gint) GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN); + PRINT_CONSTANT((gint) GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT); + PRINT_CONSTANT((gint) GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT); + PRINT_CONSTANT((gint) GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP); + PRINT_CONSTANT((gint) GTK_SCROLL_END); + PRINT_CONSTANT((gint) GTK_SCROLL_ENDS); + PRINT_CONSTANT((gint) GTK_SCROLL_HORIZONTAL_ENDS); + PRINT_CONSTANT((gint) GTK_SCROLL_HORIZONTAL_PAGES); + PRINT_CONSTANT((gint) GTK_SCROLL_HORIZONTAL_STEPS); + PRINT_CONSTANT((gint) GTK_SCROLL_JUMP); + PRINT_CONSTANT((gint) GTK_SCROLL_MINIMUM); + PRINT_CONSTANT((gint) GTK_SCROLL_NATURAL); + PRINT_CONSTANT((gint) GTK_SCROLL_NONE); + PRINT_CONSTANT((gint) GTK_SCROLL_PAGES); + PRINT_CONSTANT((gint) GTK_SCROLL_PAGE_BACKWARD); + PRINT_CONSTANT((gint) GTK_SCROLL_PAGE_DOWN); + PRINT_CONSTANT((gint) GTK_SCROLL_PAGE_FORWARD); + PRINT_CONSTANT((gint) GTK_SCROLL_PAGE_LEFT); + PRINT_CONSTANT((gint) GTK_SCROLL_PAGE_RIGHT); + PRINT_CONSTANT((gint) GTK_SCROLL_PAGE_UP); + PRINT_CONSTANT((gint) GTK_SCROLL_START); + PRINT_CONSTANT((gint) GTK_SCROLL_STEPS); + PRINT_CONSTANT((gint) GTK_SCROLL_STEP_BACKWARD); + PRINT_CONSTANT((gint) GTK_SCROLL_STEP_DOWN); + PRINT_CONSTANT((gint) GTK_SCROLL_STEP_FORWARD); + PRINT_CONSTANT((gint) GTK_SCROLL_STEP_LEFT); + PRINT_CONSTANT((gint) GTK_SCROLL_STEP_RIGHT); + PRINT_CONSTANT((gint) GTK_SCROLL_STEP_UP); + PRINT_CONSTANT((gint) GTK_SELECTION_BROWSE); + PRINT_CONSTANT((gint) GTK_SELECTION_MULTIPLE); + PRINT_CONSTANT((gint) GTK_SELECTION_NONE); + PRINT_CONSTANT((gint) GTK_SELECTION_SINGLE); + PRINT_CONSTANT((gint) GTK_SENSITIVITY_AUTO); + PRINT_CONSTANT((gint) GTK_SENSITIVITY_OFF); + PRINT_CONSTANT((gint) GTK_SENSITIVITY_ON); + PRINT_CONSTANT((gint) GTK_SHADOW_ETCHED_IN); + PRINT_CONSTANT((gint) GTK_SHADOW_ETCHED_OUT); + PRINT_CONSTANT((gint) GTK_SHADOW_IN); + PRINT_CONSTANT((gint) GTK_SHADOW_NONE); + PRINT_CONSTANT((gint) GTK_SHADOW_OUT); + PRINT_CONSTANT((gint) GTK_SHORTCUT_ACCELERATOR); + PRINT_CONSTANT((gint) GTK_SHORTCUT_GESTURE); + PRINT_CONSTANT((gint) GTK_SHORTCUT_GESTURE_PINCH); + PRINT_CONSTANT((gint) GTK_SHORTCUT_GESTURE_ROTATE_CLOCKWISE); + PRINT_CONSTANT((gint) GTK_SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE); + PRINT_CONSTANT((gint) GTK_SHORTCUT_GESTURE_STRETCH); + PRINT_CONSTANT((gint) GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT); + PRINT_CONSTANT((gint) GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT); + PRINT_CONSTANT((guint) GTK_SHRINK); + PRINT_CONSTANT((gint) GTK_SIZE_GROUP_BOTH); + PRINT_CONSTANT((gint) GTK_SIZE_GROUP_HORIZONTAL); + PRINT_CONSTANT((gint) GTK_SIZE_GROUP_NONE); + PRINT_CONSTANT((gint) GTK_SIZE_GROUP_VERTICAL); + PRINT_CONSTANT((gint) GTK_SIZE_REQUEST_CONSTANT_SIZE); + PRINT_CONSTANT((gint) GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH); + PRINT_CONSTANT((gint) GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT); + PRINT_CONSTANT((gint) GTK_SORT_ASCENDING); + PRINT_CONSTANT((gint) GTK_SORT_DESCENDING); + PRINT_CONSTANT((gint) GTK_SPIN_END); + PRINT_CONSTANT((gint) GTK_SPIN_HOME); + PRINT_CONSTANT((gint) GTK_SPIN_PAGE_BACKWARD); + PRINT_CONSTANT((gint) GTK_SPIN_PAGE_FORWARD); + PRINT_CONSTANT((gint) GTK_SPIN_STEP_BACKWARD); + PRINT_CONSTANT((gint) GTK_SPIN_STEP_FORWARD); + PRINT_CONSTANT((gint) GTK_SPIN_USER_DEFINED); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_CROSSFADE); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_NONE); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_OVER_DOWN); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_OVER_LEFT); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_OVER_RIGHT); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_OVER_UP); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_SLIDE_UP); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_UNDER_DOWN); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_UNDER_LEFT); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT); + PRINT_CONSTANT((gint) GTK_STACK_TRANSITION_TYPE_UNDER_UP); + PRINT_CONSTANT((gint) GTK_STATE_ACTIVE); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_ACTIVE); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_BACKDROP); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_CHECKED); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_DIR_LTR); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_DIR_RTL); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_DROP_ACTIVE); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_FOCUSED); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_INCONSISTENT); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_INSENSITIVE); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_LINK); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_NORMAL); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_PRELIGHT); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_SELECTED); + PRINT_CONSTANT((guint) GTK_STATE_FLAG_VISITED); + PRINT_CONSTANT((gint) GTK_STATE_FOCUSED); + PRINT_CONSTANT((gint) GTK_STATE_INCONSISTENT); + PRINT_CONSTANT((gint) GTK_STATE_INSENSITIVE); + PRINT_CONSTANT((gint) GTK_STATE_NORMAL); + PRINT_CONSTANT((gint) GTK_STATE_PRELIGHT); + PRINT_CONSTANT((gint) GTK_STATE_SELECTED); + PRINT_CONSTANT(GTK_STOCK_ABOUT); + PRINT_CONSTANT(GTK_STOCK_ADD); + PRINT_CONSTANT(GTK_STOCK_APPLY); + PRINT_CONSTANT(GTK_STOCK_BOLD); + PRINT_CONSTANT(GTK_STOCK_CANCEL); + PRINT_CONSTANT(GTK_STOCK_CAPS_LOCK_WARNING); + PRINT_CONSTANT(GTK_STOCK_CDROM); + PRINT_CONSTANT(GTK_STOCK_CLEAR); + PRINT_CONSTANT(GTK_STOCK_CLOSE); + PRINT_CONSTANT(GTK_STOCK_COLOR_PICKER); + PRINT_CONSTANT(GTK_STOCK_CONNECT); + PRINT_CONSTANT(GTK_STOCK_CONVERT); + PRINT_CONSTANT(GTK_STOCK_COPY); + PRINT_CONSTANT(GTK_STOCK_CUT); + PRINT_CONSTANT(GTK_STOCK_DELETE); + PRINT_CONSTANT(GTK_STOCK_DIALOG_AUTHENTICATION); + PRINT_CONSTANT(GTK_STOCK_DIALOG_ERROR); + PRINT_CONSTANT(GTK_STOCK_DIALOG_INFO); + PRINT_CONSTANT(GTK_STOCK_DIALOG_QUESTION); + PRINT_CONSTANT(GTK_STOCK_DIALOG_WARNING); + PRINT_CONSTANT(GTK_STOCK_DIRECTORY); + PRINT_CONSTANT(GTK_STOCK_DISCARD); + PRINT_CONSTANT(GTK_STOCK_DISCONNECT); + PRINT_CONSTANT(GTK_STOCK_DND); + PRINT_CONSTANT(GTK_STOCK_DND_MULTIPLE); + PRINT_CONSTANT(GTK_STOCK_EDIT); + PRINT_CONSTANT(GTK_STOCK_EXECUTE); + PRINT_CONSTANT(GTK_STOCK_FILE); + PRINT_CONSTANT(GTK_STOCK_FIND); + PRINT_CONSTANT(GTK_STOCK_FIND_AND_REPLACE); + PRINT_CONSTANT(GTK_STOCK_FLOPPY); + PRINT_CONSTANT(GTK_STOCK_FULLSCREEN); + PRINT_CONSTANT(GTK_STOCK_GOTO_BOTTOM); + PRINT_CONSTANT(GTK_STOCK_GOTO_FIRST); + PRINT_CONSTANT(GTK_STOCK_GOTO_LAST); + PRINT_CONSTANT(GTK_STOCK_GOTO_TOP); + PRINT_CONSTANT(GTK_STOCK_GO_BACK); + PRINT_CONSTANT(GTK_STOCK_GO_DOWN); + PRINT_CONSTANT(GTK_STOCK_GO_FORWARD); + PRINT_CONSTANT(GTK_STOCK_GO_UP); + PRINT_CONSTANT(GTK_STOCK_HARDDISK); + PRINT_CONSTANT(GTK_STOCK_HELP); + PRINT_CONSTANT(GTK_STOCK_HOME); + PRINT_CONSTANT(GTK_STOCK_INDENT); + PRINT_CONSTANT(GTK_STOCK_INDEX); + PRINT_CONSTANT(GTK_STOCK_INFO); + PRINT_CONSTANT(GTK_STOCK_ITALIC); + PRINT_CONSTANT(GTK_STOCK_JUMP_TO); + PRINT_CONSTANT(GTK_STOCK_JUSTIFY_CENTER); + PRINT_CONSTANT(GTK_STOCK_JUSTIFY_FILL); + PRINT_CONSTANT(GTK_STOCK_JUSTIFY_LEFT); + PRINT_CONSTANT(GTK_STOCK_JUSTIFY_RIGHT); + PRINT_CONSTANT(GTK_STOCK_LEAVE_FULLSCREEN); + PRINT_CONSTANT(GTK_STOCK_MEDIA_FORWARD); + PRINT_CONSTANT(GTK_STOCK_MEDIA_NEXT); + PRINT_CONSTANT(GTK_STOCK_MEDIA_PAUSE); + PRINT_CONSTANT(GTK_STOCK_MEDIA_PLAY); + PRINT_CONSTANT(GTK_STOCK_MEDIA_PREVIOUS); + PRINT_CONSTANT(GTK_STOCK_MEDIA_RECORD); + PRINT_CONSTANT(GTK_STOCK_MEDIA_REWIND); + PRINT_CONSTANT(GTK_STOCK_MEDIA_STOP); + PRINT_CONSTANT(GTK_STOCK_MISSING_IMAGE); + PRINT_CONSTANT(GTK_STOCK_NETWORK); + PRINT_CONSTANT(GTK_STOCK_NEW); + PRINT_CONSTANT(GTK_STOCK_NO); + PRINT_CONSTANT(GTK_STOCK_OK); + PRINT_CONSTANT(GTK_STOCK_OPEN); + PRINT_CONSTANT(GTK_STOCK_ORIENTATION_LANDSCAPE); + PRINT_CONSTANT(GTK_STOCK_ORIENTATION_PORTRAIT); + PRINT_CONSTANT(GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE); + PRINT_CONSTANT(GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT); + PRINT_CONSTANT(GTK_STOCK_PAGE_SETUP); + PRINT_CONSTANT(GTK_STOCK_PASTE); + PRINT_CONSTANT(GTK_STOCK_PREFERENCES); + PRINT_CONSTANT(GTK_STOCK_PRINT); + PRINT_CONSTANT(GTK_STOCK_PRINT_ERROR); + PRINT_CONSTANT(GTK_STOCK_PRINT_PAUSED); + PRINT_CONSTANT(GTK_STOCK_PRINT_PREVIEW); + PRINT_CONSTANT(GTK_STOCK_PRINT_REPORT); + PRINT_CONSTANT(GTK_STOCK_PRINT_WARNING); + PRINT_CONSTANT(GTK_STOCK_PROPERTIES); + PRINT_CONSTANT(GTK_STOCK_QUIT); + PRINT_CONSTANT(GTK_STOCK_REDO); + PRINT_CONSTANT(GTK_STOCK_REFRESH); + PRINT_CONSTANT(GTK_STOCK_REMOVE); + PRINT_CONSTANT(GTK_STOCK_REVERT_TO_SAVED); + PRINT_CONSTANT(GTK_STOCK_SAVE); + PRINT_CONSTANT(GTK_STOCK_SAVE_AS); + PRINT_CONSTANT(GTK_STOCK_SELECT_ALL); + PRINT_CONSTANT(GTK_STOCK_SELECT_COLOR); + PRINT_CONSTANT(GTK_STOCK_SELECT_FONT); + PRINT_CONSTANT(GTK_STOCK_SORT_ASCENDING); + PRINT_CONSTANT(GTK_STOCK_SORT_DESCENDING); + PRINT_CONSTANT(GTK_STOCK_SPELL_CHECK); + PRINT_CONSTANT(GTK_STOCK_STOP); + PRINT_CONSTANT(GTK_STOCK_STRIKETHROUGH); + PRINT_CONSTANT(GTK_STOCK_UNDELETE); + PRINT_CONSTANT(GTK_STOCK_UNDERLINE); + PRINT_CONSTANT(GTK_STOCK_UNDO); + PRINT_CONSTANT(GTK_STOCK_UNINDENT); + PRINT_CONSTANT(GTK_STOCK_YES); + PRINT_CONSTANT(GTK_STOCK_ZOOM_100); + PRINT_CONSTANT(GTK_STOCK_ZOOM_FIT); + PRINT_CONSTANT(GTK_STOCK_ZOOM_IN); + PRINT_CONSTANT(GTK_STOCK_ZOOM_OUT); + PRINT_CONSTANT(GTK_STYLE_CLASS_ACCELERATOR); + PRINT_CONSTANT(GTK_STYLE_CLASS_ARROW); + PRINT_CONSTANT(GTK_STYLE_CLASS_BACKGROUND); + PRINT_CONSTANT(GTK_STYLE_CLASS_BOTTOM); + PRINT_CONSTANT(GTK_STYLE_CLASS_BUTTON); + PRINT_CONSTANT(GTK_STYLE_CLASS_CALENDAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_CELL); + PRINT_CONSTANT(GTK_STYLE_CLASS_CHECK); + PRINT_CONSTANT(GTK_STYLE_CLASS_COMBOBOX_ENTRY); + PRINT_CONSTANT(GTK_STYLE_CLASS_CONTEXT_MENU); + PRINT_CONSTANT(GTK_STYLE_CLASS_CSD); + PRINT_CONSTANT(GTK_STYLE_CLASS_CURSOR_HANDLE); + PRINT_CONSTANT(GTK_STYLE_CLASS_DEFAULT); + PRINT_CONSTANT(GTK_STYLE_CLASS_DESTRUCTIVE_ACTION); + PRINT_CONSTANT(GTK_STYLE_CLASS_DIM_LABEL); + PRINT_CONSTANT(GTK_STYLE_CLASS_DND); + PRINT_CONSTANT(GTK_STYLE_CLASS_DOCK); + PRINT_CONSTANT(GTK_STYLE_CLASS_ENTRY); + PRINT_CONSTANT(GTK_STYLE_CLASS_ERROR); + PRINT_CONSTANT(GTK_STYLE_CLASS_EXPANDER); + PRINT_CONSTANT(GTK_STYLE_CLASS_FLAT); + PRINT_CONSTANT(GTK_STYLE_CLASS_FRAME); + PRINT_CONSTANT(GTK_STYLE_CLASS_GRIP); + PRINT_CONSTANT(GTK_STYLE_CLASS_HEADER); + PRINT_CONSTANT(GTK_STYLE_CLASS_HIGHLIGHT); + PRINT_CONSTANT(GTK_STYLE_CLASS_HORIZONTAL); + PRINT_CONSTANT(GTK_STYLE_CLASS_IMAGE); + PRINT_CONSTANT(GTK_STYLE_CLASS_INFO); + PRINT_CONSTANT(GTK_STYLE_CLASS_INLINE_TOOLBAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_INSERTION_CURSOR); + PRINT_CONSTANT(GTK_STYLE_CLASS_LABEL); + PRINT_CONSTANT(GTK_STYLE_CLASS_LEFT); + PRINT_CONSTANT(GTK_STYLE_CLASS_LEVEL_BAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_LINKED); + PRINT_CONSTANT(GTK_STYLE_CLASS_LIST); + PRINT_CONSTANT(GTK_STYLE_CLASS_LIST_ROW); + PRINT_CONSTANT(GTK_STYLE_CLASS_MARK); + PRINT_CONSTANT(GTK_STYLE_CLASS_MENU); + PRINT_CONSTANT(GTK_STYLE_CLASS_MENUBAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_MENUITEM); + PRINT_CONSTANT(GTK_STYLE_CLASS_MESSAGE_DIALOG); + PRINT_CONSTANT(GTK_STYLE_CLASS_MONOSPACE); + PRINT_CONSTANT(GTK_STYLE_CLASS_NEEDS_ATTENTION); + PRINT_CONSTANT(GTK_STYLE_CLASS_NOTEBOOK); + PRINT_CONSTANT(GTK_STYLE_CLASS_OSD); + PRINT_CONSTANT(GTK_STYLE_CLASS_OVERSHOOT); + PRINT_CONSTANT(GTK_STYLE_CLASS_PANE_SEPARATOR); + PRINT_CONSTANT(GTK_STYLE_CLASS_PAPER); + PRINT_CONSTANT(GTK_STYLE_CLASS_POPOVER); + PRINT_CONSTANT(GTK_STYLE_CLASS_POPUP); + PRINT_CONSTANT(GTK_STYLE_CLASS_PRIMARY_TOOLBAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_PROGRESSBAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_PULSE); + PRINT_CONSTANT(GTK_STYLE_CLASS_QUESTION); + PRINT_CONSTANT(GTK_STYLE_CLASS_RADIO); + PRINT_CONSTANT(GTK_STYLE_CLASS_RAISED); + PRINT_CONSTANT(GTK_STYLE_CLASS_READ_ONLY); + PRINT_CONSTANT(GTK_STYLE_CLASS_RIGHT); + PRINT_CONSTANT(GTK_STYLE_CLASS_RUBBERBAND); + PRINT_CONSTANT(GTK_STYLE_CLASS_SCALE); + PRINT_CONSTANT(GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE); + PRINT_CONSTANT(GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW); + PRINT_CONSTANT(GTK_STYLE_CLASS_SCROLLBAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_SCROLLBARS_JUNCTION); + PRINT_CONSTANT(GTK_STYLE_CLASS_SEPARATOR); + PRINT_CONSTANT(GTK_STYLE_CLASS_SIDEBAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_SLIDER); + PRINT_CONSTANT(GTK_STYLE_CLASS_SPINBUTTON); + PRINT_CONSTANT(GTK_STYLE_CLASS_SPINNER); + PRINT_CONSTANT(GTK_STYLE_CLASS_STATUSBAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_SUBTITLE); + PRINT_CONSTANT(GTK_STYLE_CLASS_SUGGESTED_ACTION); + PRINT_CONSTANT(GTK_STYLE_CLASS_TITLE); + PRINT_CONSTANT(GTK_STYLE_CLASS_TITLEBAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_TOOLBAR); + PRINT_CONSTANT(GTK_STYLE_CLASS_TOOLTIP); + PRINT_CONSTANT(GTK_STYLE_CLASS_TOP); + PRINT_CONSTANT(GTK_STYLE_CLASS_TOUCH_SELECTION); + PRINT_CONSTANT(GTK_STYLE_CLASS_TROUGH); + PRINT_CONSTANT(GTK_STYLE_CLASS_UNDERSHOOT); + PRINT_CONSTANT(GTK_STYLE_CLASS_VERTICAL); + PRINT_CONSTANT(GTK_STYLE_CLASS_VIEW); + PRINT_CONSTANT(GTK_STYLE_CLASS_WARNING); + PRINT_CONSTANT(GTK_STYLE_CLASS_WIDE); + PRINT_CONSTANT((guint) GTK_STYLE_CONTEXT_PRINT_NONE); + PRINT_CONSTANT((guint) GTK_STYLE_CONTEXT_PRINT_RECURSE); + PRINT_CONSTANT((guint) GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_BACKGROUND_COLOR); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_BACKGROUND_IMAGE); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_BORDER_COLOR); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_BORDER_RADIUS); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_BORDER_STYLE); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_BORDER_WIDTH); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_COLOR); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_FONT); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_MARGIN); + PRINT_CONSTANT(GTK_STYLE_PROPERTY_PADDING); + PRINT_CONSTANT(GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); + PRINT_CONSTANT(GTK_STYLE_PROVIDER_PRIORITY_FALLBACK); + PRINT_CONSTANT(GTK_STYLE_PROVIDER_PRIORITY_SETTINGS); + PRINT_CONSTANT(GTK_STYLE_PROVIDER_PRIORITY_THEME); + PRINT_CONSTANT(GTK_STYLE_PROVIDER_PRIORITY_USER); + PRINT_CONSTANT(GTK_STYLE_REGION_COLUMN); + PRINT_CONSTANT(GTK_STYLE_REGION_COLUMN_HEADER); + PRINT_CONSTANT(GTK_STYLE_REGION_ROW); + PRINT_CONSTANT(GTK_STYLE_REGION_TAB); + PRINT_CONSTANT((guint) GTK_TARGET_OTHER_APP); + PRINT_CONSTANT((guint) GTK_TARGET_OTHER_WIDGET); + PRINT_CONSTANT((guint) GTK_TARGET_SAME_APP); + PRINT_CONSTANT((guint) GTK_TARGET_SAME_WIDGET); + PRINT_CONSTANT((gint) GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS); + PRINT_CONSTANT((gint) GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT); + PRINT_CONSTANT((gint) GTK_TEXT_BUFFER_TARGET_INFO_TEXT); + PRINT_CONSTANT((gint) GTK_TEXT_DIR_LTR); + PRINT_CONSTANT((gint) GTK_TEXT_DIR_NONE); + PRINT_CONSTANT((gint) GTK_TEXT_DIR_RTL); + PRINT_CONSTANT((gint) GTK_TEXT_EXTEND_SELECTION_LINE); + PRINT_CONSTANT((gint) GTK_TEXT_EXTEND_SELECTION_WORD); + PRINT_CONSTANT((guint) GTK_TEXT_SEARCH_CASE_INSENSITIVE); + PRINT_CONSTANT((guint) GTK_TEXT_SEARCH_TEXT_ONLY); + PRINT_CONSTANT((guint) GTK_TEXT_SEARCH_VISIBLE_ONLY); + PRINT_CONSTANT((gint) GTK_TEXT_VIEW_LAYER_ABOVE); + PRINT_CONSTANT((gint) GTK_TEXT_VIEW_LAYER_ABOVE_TEXT); + PRINT_CONSTANT((gint) GTK_TEXT_VIEW_LAYER_BELOW); + PRINT_CONSTANT((gint) GTK_TEXT_VIEW_LAYER_BELOW_TEXT); + PRINT_CONSTANT(GTK_TEXT_VIEW_PRIORITY_VALIDATE); + PRINT_CONSTANT((gint) GTK_TEXT_WINDOW_BOTTOM); + PRINT_CONSTANT((gint) GTK_TEXT_WINDOW_LEFT); + PRINT_CONSTANT((gint) GTK_TEXT_WINDOW_PRIVATE); + PRINT_CONSTANT((gint) GTK_TEXT_WINDOW_RIGHT); + PRINT_CONSTANT((gint) GTK_TEXT_WINDOW_TEXT); + PRINT_CONSTANT((gint) GTK_TEXT_WINDOW_TOP); + PRINT_CONSTANT((gint) GTK_TEXT_WINDOW_WIDGET); + PRINT_CONSTANT((gint) GTK_TOOLBAR_BOTH); + PRINT_CONSTANT((gint) GTK_TOOLBAR_BOTH_HORIZ); + PRINT_CONSTANT((gint) GTK_TOOLBAR_ICONS); + PRINT_CONSTANT((gint) GTK_TOOLBAR_SPACE_EMPTY); + PRINT_CONSTANT((gint) GTK_TOOLBAR_SPACE_LINE); + PRINT_CONSTANT((gint) GTK_TOOLBAR_TEXT); + PRINT_CONSTANT((guint) GTK_TOOL_PALETTE_DRAG_GROUPS); + PRINT_CONSTANT((guint) GTK_TOOL_PALETTE_DRAG_ITEMS); + PRINT_CONSTANT((guint) GTK_TREE_MODEL_ITERS_PERSIST); + PRINT_CONSTANT((guint) GTK_TREE_MODEL_LIST_ONLY); + PRINT_CONSTANT(GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID); + PRINT_CONSTANT(GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_COLUMN_AUTOSIZE); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_COLUMN_FIXED); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_COLUMN_GROW_ONLY); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_DROP_AFTER); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_DROP_BEFORE); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_DROP_INTO_OR_AFTER); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_DROP_INTO_OR_BEFORE); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_GRID_LINES_BOTH); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_GRID_LINES_HORIZONTAL); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_GRID_LINES_NONE); + PRINT_CONSTANT((gint) GTK_TREE_VIEW_GRID_LINES_VERTICAL); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_ACCELERATOR); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_AUTO); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_MENU); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_MENUBAR); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_MENUITEM); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_PLACEHOLDER); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_POPUP); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_POPUP_WITH_ACCELS); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_SEPARATOR); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_TOOLBAR); + PRINT_CONSTANT((guint) GTK_UI_MANAGER_TOOLITEM); + PRINT_CONSTANT((gint) GTK_UNIT_INCH); + PRINT_CONSTANT((gint) GTK_UNIT_MM); + PRINT_CONSTANT((gint) GTK_UNIT_NONE); + PRINT_CONSTANT((gint) GTK_UNIT_POINTS); + PRINT_CONSTANT((gint) GTK_UPDATE_ALWAYS); + PRINT_CONSTANT((gint) GTK_UPDATE_IF_VALID); + PRINT_CONSTANT((gint) GTK_WIDGET_HELP_TOOLTIP); + PRINT_CONSTANT((gint) GTK_WIDGET_HELP_WHATS_THIS); + PRINT_CONSTANT((gint) GTK_WINDOW_POPUP); + PRINT_CONSTANT((gint) GTK_WINDOW_TOPLEVEL); + PRINT_CONSTANT((gint) GTK_WIN_POS_CENTER); + PRINT_CONSTANT((gint) GTK_WIN_POS_CENTER_ALWAYS); + PRINT_CONSTANT((gint) GTK_WIN_POS_CENTER_ON_PARENT); + PRINT_CONSTANT((gint) GTK_WIN_POS_MOUSE); + PRINT_CONSTANT((gint) GTK_WIN_POS_NONE); + PRINT_CONSTANT((gint) GTK_WRAP_CHAR); + PRINT_CONSTANT((gint) GTK_WRAP_NONE); + PRINT_CONSTANT((gint) GTK_WRAP_WORD); + PRINT_CONSTANT((gint) GTK_WRAP_WORD_CHAR); return 0; } diff --git a/gtk/sys/tests/layout.c b/gtk/sys/tests/layout.c index 45f2ef46113e..c11c32932d39 100644 --- a/gtk/sys/tests/layout.c +++ b/gtk/sys/tests/layout.c @@ -7,6 +7,645 @@ #include int main() { - printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME)); + printf("%s;%zu;%zu\n", "GtkAboutDialog", sizeof(GtkAboutDialog), alignof(GtkAboutDialog)); + printf("%s;%zu;%zu\n", "GtkAboutDialogClass", sizeof(GtkAboutDialogClass), alignof(GtkAboutDialogClass)); + printf("%s;%zu;%zu\n", "GtkAccelFlags", sizeof(GtkAccelFlags), alignof(GtkAccelFlags)); + printf("%s;%zu;%zu\n", "GtkAccelGroup", sizeof(GtkAccelGroup), alignof(GtkAccelGroup)); + printf("%s;%zu;%zu\n", "GtkAccelGroupClass", sizeof(GtkAccelGroupClass), alignof(GtkAccelGroupClass)); + printf("%s;%zu;%zu\n", "GtkAccelGroupEntry", sizeof(GtkAccelGroupEntry), alignof(GtkAccelGroupEntry)); + printf("%s;%zu;%zu\n", "GtkAccelKey", sizeof(GtkAccelKey), alignof(GtkAccelKey)); + printf("%s;%zu;%zu\n", "GtkAccelLabel", sizeof(GtkAccelLabel), alignof(GtkAccelLabel)); + printf("%s;%zu;%zu\n", "GtkAccelLabelClass", sizeof(GtkAccelLabelClass), alignof(GtkAccelLabelClass)); + printf("%s;%zu;%zu\n", "GtkAccessible", sizeof(GtkAccessible), alignof(GtkAccessible)); + printf("%s;%zu;%zu\n", "GtkAccessibleClass", sizeof(GtkAccessibleClass), alignof(GtkAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkAction", sizeof(GtkAction), alignof(GtkAction)); + printf("%s;%zu;%zu\n", "GtkActionBar", sizeof(GtkActionBar), alignof(GtkActionBar)); + printf("%s;%zu;%zu\n", "GtkActionBarClass", sizeof(GtkActionBarClass), alignof(GtkActionBarClass)); + printf("%s;%zu;%zu\n", "GtkActionClass", sizeof(GtkActionClass), alignof(GtkActionClass)); + printf("%s;%zu;%zu\n", "GtkActionEntry", sizeof(GtkActionEntry), alignof(GtkActionEntry)); + printf("%s;%zu;%zu\n", "GtkActionGroup", sizeof(GtkActionGroup), alignof(GtkActionGroup)); + printf("%s;%zu;%zu\n", "GtkActionGroupClass", sizeof(GtkActionGroupClass), alignof(GtkActionGroupClass)); + printf("%s;%zu;%zu\n", "GtkActionableInterface", sizeof(GtkActionableInterface), alignof(GtkActionableInterface)); + printf("%s;%zu;%zu\n", "GtkActivatableIface", sizeof(GtkActivatableIface), alignof(GtkActivatableIface)); + printf("%s;%zu;%zu\n", "GtkAdjustment", sizeof(GtkAdjustment), alignof(GtkAdjustment)); + printf("%s;%zu;%zu\n", "GtkAdjustmentClass", sizeof(GtkAdjustmentClass), alignof(GtkAdjustmentClass)); + printf("%s;%zu;%zu\n", "GtkAlign", sizeof(GtkAlign), alignof(GtkAlign)); + printf("%s;%zu;%zu\n", "GtkAlignment", sizeof(GtkAlignment), alignof(GtkAlignment)); + printf("%s;%zu;%zu\n", "GtkAlignmentClass", sizeof(GtkAlignmentClass), alignof(GtkAlignmentClass)); + printf("%s;%zu;%zu\n", "GtkAllocation", sizeof(GtkAllocation), alignof(GtkAllocation)); + printf("%s;%zu;%zu\n", "GtkAppChooserButton", sizeof(GtkAppChooserButton), alignof(GtkAppChooserButton)); + printf("%s;%zu;%zu\n", "GtkAppChooserButtonClass", sizeof(GtkAppChooserButtonClass), alignof(GtkAppChooserButtonClass)); + printf("%s;%zu;%zu\n", "GtkAppChooserDialog", sizeof(GtkAppChooserDialog), alignof(GtkAppChooserDialog)); + printf("%s;%zu;%zu\n", "GtkAppChooserDialogClass", sizeof(GtkAppChooserDialogClass), alignof(GtkAppChooserDialogClass)); + printf("%s;%zu;%zu\n", "GtkAppChooserWidget", sizeof(GtkAppChooserWidget), alignof(GtkAppChooserWidget)); + printf("%s;%zu;%zu\n", "GtkAppChooserWidgetClass", sizeof(GtkAppChooserWidgetClass), alignof(GtkAppChooserWidgetClass)); + printf("%s;%zu;%zu\n", "GtkApplication", sizeof(GtkApplication), alignof(GtkApplication)); + printf("%s;%zu;%zu\n", "GtkApplicationClass", sizeof(GtkApplicationClass), alignof(GtkApplicationClass)); + printf("%s;%zu;%zu\n", "GtkApplicationInhibitFlags", sizeof(GtkApplicationInhibitFlags), alignof(GtkApplicationInhibitFlags)); + printf("%s;%zu;%zu\n", "GtkApplicationWindow", sizeof(GtkApplicationWindow), alignof(GtkApplicationWindow)); + printf("%s;%zu;%zu\n", "GtkApplicationWindowClass", sizeof(GtkApplicationWindowClass), alignof(GtkApplicationWindowClass)); + printf("%s;%zu;%zu\n", "GtkArrow", sizeof(GtkArrow), alignof(GtkArrow)); + printf("%s;%zu;%zu\n", "GtkArrowAccessible", sizeof(GtkArrowAccessible), alignof(GtkArrowAccessible)); + printf("%s;%zu;%zu\n", "GtkArrowAccessibleClass", sizeof(GtkArrowAccessibleClass), alignof(GtkArrowAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkArrowClass", sizeof(GtkArrowClass), alignof(GtkArrowClass)); + printf("%s;%zu;%zu\n", "GtkArrowPlacement", sizeof(GtkArrowPlacement), alignof(GtkArrowPlacement)); + printf("%s;%zu;%zu\n", "GtkArrowType", sizeof(GtkArrowType), alignof(GtkArrowType)); + printf("%s;%zu;%zu\n", "GtkAspectFrame", sizeof(GtkAspectFrame), alignof(GtkAspectFrame)); + printf("%s;%zu;%zu\n", "GtkAspectFrameClass", sizeof(GtkAspectFrameClass), alignof(GtkAspectFrameClass)); + printf("%s;%zu;%zu\n", "GtkAssistant", sizeof(GtkAssistant), alignof(GtkAssistant)); + printf("%s;%zu;%zu\n", "GtkAssistantClass", sizeof(GtkAssistantClass), alignof(GtkAssistantClass)); + printf("%s;%zu;%zu\n", "GtkAssistantPageType", sizeof(GtkAssistantPageType), alignof(GtkAssistantPageType)); + printf("%s;%zu;%zu\n", "GtkAttachOptions", sizeof(GtkAttachOptions), alignof(GtkAttachOptions)); + printf("%s;%zu;%zu\n", "GtkBaselinePosition", sizeof(GtkBaselinePosition), alignof(GtkBaselinePosition)); + printf("%s;%zu;%zu\n", "GtkBin", sizeof(GtkBin), alignof(GtkBin)); + printf("%s;%zu;%zu\n", "GtkBinClass", sizeof(GtkBinClass), alignof(GtkBinClass)); + printf("%s;%zu;%zu\n", "GtkBindingArg", sizeof(GtkBindingArg), alignof(GtkBindingArg)); + printf("%s;%zu;%zu\n", "GtkBindingSet", sizeof(GtkBindingSet), alignof(GtkBindingSet)); + printf("%s;%zu;%zu\n", "GtkBindingSignal", sizeof(GtkBindingSignal), alignof(GtkBindingSignal)); + printf("%s;%zu;%zu\n", "GtkBooleanCellAccessible", sizeof(GtkBooleanCellAccessible), alignof(GtkBooleanCellAccessible)); + printf("%s;%zu;%zu\n", "GtkBooleanCellAccessibleClass", sizeof(GtkBooleanCellAccessibleClass), alignof(GtkBooleanCellAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkBorder", sizeof(GtkBorder), alignof(GtkBorder)); + printf("%s;%zu;%zu\n", "GtkBorderStyle", sizeof(GtkBorderStyle), alignof(GtkBorderStyle)); + printf("%s;%zu;%zu\n", "GtkBox", sizeof(GtkBox), alignof(GtkBox)); + printf("%s;%zu;%zu\n", "GtkBoxClass", sizeof(GtkBoxClass), alignof(GtkBoxClass)); + printf("%s;%zu;%zu\n", "GtkBuildableIface", sizeof(GtkBuildableIface), alignof(GtkBuildableIface)); + printf("%s;%zu;%zu\n", "GtkBuilder", sizeof(GtkBuilder), alignof(GtkBuilder)); + printf("%s;%zu;%zu\n", "GtkBuilderClass", sizeof(GtkBuilderClass), alignof(GtkBuilderClass)); + printf("%s;%zu;%zu\n", "GtkBuilderError", sizeof(GtkBuilderError), alignof(GtkBuilderError)); + printf("%s;%zu;%zu\n", "GtkButton", sizeof(GtkButton), alignof(GtkButton)); + printf("%s;%zu;%zu\n", "GtkButtonAccessible", sizeof(GtkButtonAccessible), alignof(GtkButtonAccessible)); + printf("%s;%zu;%zu\n", "GtkButtonAccessibleClass", sizeof(GtkButtonAccessibleClass), alignof(GtkButtonAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkButtonBox", sizeof(GtkButtonBox), alignof(GtkButtonBox)); + printf("%s;%zu;%zu\n", "GtkButtonBoxClass", sizeof(GtkButtonBoxClass), alignof(GtkButtonBoxClass)); + printf("%s;%zu;%zu\n", "GtkButtonBoxStyle", sizeof(GtkButtonBoxStyle), alignof(GtkButtonBoxStyle)); + printf("%s;%zu;%zu\n", "GtkButtonClass", sizeof(GtkButtonClass), alignof(GtkButtonClass)); + printf("%s;%zu;%zu\n", "GtkButtonRole", sizeof(GtkButtonRole), alignof(GtkButtonRole)); + printf("%s;%zu;%zu\n", "GtkButtonsType", sizeof(GtkButtonsType), alignof(GtkButtonsType)); + printf("%s;%zu;%zu\n", "GtkCalendar", sizeof(GtkCalendar), alignof(GtkCalendar)); + printf("%s;%zu;%zu\n", "GtkCalendarClass", sizeof(GtkCalendarClass), alignof(GtkCalendarClass)); + printf("%s;%zu;%zu\n", "GtkCalendarDisplayOptions", sizeof(GtkCalendarDisplayOptions), alignof(GtkCalendarDisplayOptions)); + printf("%s;%zu;%zu\n", "GtkCellAccessible", sizeof(GtkCellAccessible), alignof(GtkCellAccessible)); + printf("%s;%zu;%zu\n", "GtkCellAccessibleClass", sizeof(GtkCellAccessibleClass), alignof(GtkCellAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkCellAccessibleParentIface", sizeof(GtkCellAccessibleParentIface), alignof(GtkCellAccessibleParentIface)); + printf("%s;%zu;%zu\n", "GtkCellArea", sizeof(GtkCellArea), alignof(GtkCellArea)); + printf("%s;%zu;%zu\n", "GtkCellAreaBox", sizeof(GtkCellAreaBox), alignof(GtkCellAreaBox)); + printf("%s;%zu;%zu\n", "GtkCellAreaBoxClass", sizeof(GtkCellAreaBoxClass), alignof(GtkCellAreaBoxClass)); + printf("%s;%zu;%zu\n", "GtkCellAreaClass", sizeof(GtkCellAreaClass), alignof(GtkCellAreaClass)); + printf("%s;%zu;%zu\n", "GtkCellAreaContext", sizeof(GtkCellAreaContext), alignof(GtkCellAreaContext)); + printf("%s;%zu;%zu\n", "GtkCellAreaContextClass", sizeof(GtkCellAreaContextClass), alignof(GtkCellAreaContextClass)); + printf("%s;%zu;%zu\n", "GtkCellEditableIface", sizeof(GtkCellEditableIface), alignof(GtkCellEditableIface)); + printf("%s;%zu;%zu\n", "GtkCellLayoutIface", sizeof(GtkCellLayoutIface), alignof(GtkCellLayoutIface)); + printf("%s;%zu;%zu\n", "GtkCellRenderer", sizeof(GtkCellRenderer), alignof(GtkCellRenderer)); + printf("%s;%zu;%zu\n", "GtkCellRendererAccel", sizeof(GtkCellRendererAccel), alignof(GtkCellRendererAccel)); + printf("%s;%zu;%zu\n", "GtkCellRendererAccelClass", sizeof(GtkCellRendererAccelClass), alignof(GtkCellRendererAccelClass)); + printf("%s;%zu;%zu\n", "GtkCellRendererAccelMode", sizeof(GtkCellRendererAccelMode), alignof(GtkCellRendererAccelMode)); + printf("%s;%zu;%zu\n", "GtkCellRendererClass", sizeof(GtkCellRendererClass), alignof(GtkCellRendererClass)); + printf("%s;%zu;%zu\n", "GtkCellRendererCombo", sizeof(GtkCellRendererCombo), alignof(GtkCellRendererCombo)); + printf("%s;%zu;%zu\n", "GtkCellRendererComboClass", sizeof(GtkCellRendererComboClass), alignof(GtkCellRendererComboClass)); + printf("%s;%zu;%zu\n", "GtkCellRendererMode", sizeof(GtkCellRendererMode), alignof(GtkCellRendererMode)); + printf("%s;%zu;%zu\n", "GtkCellRendererPixbuf", sizeof(GtkCellRendererPixbuf), alignof(GtkCellRendererPixbuf)); + printf("%s;%zu;%zu\n", "GtkCellRendererPixbufClass", sizeof(GtkCellRendererPixbufClass), alignof(GtkCellRendererPixbufClass)); + printf("%s;%zu;%zu\n", "GtkCellRendererProgress", sizeof(GtkCellRendererProgress), alignof(GtkCellRendererProgress)); + printf("%s;%zu;%zu\n", "GtkCellRendererProgressClass", sizeof(GtkCellRendererProgressClass), alignof(GtkCellRendererProgressClass)); + printf("%s;%zu;%zu\n", "GtkCellRendererSpin", sizeof(GtkCellRendererSpin), alignof(GtkCellRendererSpin)); + printf("%s;%zu;%zu\n", "GtkCellRendererSpinClass", sizeof(GtkCellRendererSpinClass), alignof(GtkCellRendererSpinClass)); + printf("%s;%zu;%zu\n", "GtkCellRendererSpinner", sizeof(GtkCellRendererSpinner), alignof(GtkCellRendererSpinner)); + printf("%s;%zu;%zu\n", "GtkCellRendererSpinnerClass", sizeof(GtkCellRendererSpinnerClass), alignof(GtkCellRendererSpinnerClass)); + printf("%s;%zu;%zu\n", "GtkCellRendererState", sizeof(GtkCellRendererState), alignof(GtkCellRendererState)); + printf("%s;%zu;%zu\n", "GtkCellRendererText", sizeof(GtkCellRendererText), alignof(GtkCellRendererText)); + printf("%s;%zu;%zu\n", "GtkCellRendererTextClass", sizeof(GtkCellRendererTextClass), alignof(GtkCellRendererTextClass)); + printf("%s;%zu;%zu\n", "GtkCellRendererToggle", sizeof(GtkCellRendererToggle), alignof(GtkCellRendererToggle)); + printf("%s;%zu;%zu\n", "GtkCellRendererToggleClass", sizeof(GtkCellRendererToggleClass), alignof(GtkCellRendererToggleClass)); + printf("%s;%zu;%zu\n", "GtkCellView", sizeof(GtkCellView), alignof(GtkCellView)); + printf("%s;%zu;%zu\n", "GtkCellViewClass", sizeof(GtkCellViewClass), alignof(GtkCellViewClass)); + printf("%s;%zu;%zu\n", "GtkCheckButton", sizeof(GtkCheckButton), alignof(GtkCheckButton)); + printf("%s;%zu;%zu\n", "GtkCheckButtonClass", sizeof(GtkCheckButtonClass), alignof(GtkCheckButtonClass)); + printf("%s;%zu;%zu\n", "GtkCheckMenuItem", sizeof(GtkCheckMenuItem), alignof(GtkCheckMenuItem)); + printf("%s;%zu;%zu\n", "GtkCheckMenuItemAccessible", sizeof(GtkCheckMenuItemAccessible), alignof(GtkCheckMenuItemAccessible)); + printf("%s;%zu;%zu\n", "GtkCheckMenuItemAccessibleClass", sizeof(GtkCheckMenuItemAccessibleClass), alignof(GtkCheckMenuItemAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkCheckMenuItemClass", sizeof(GtkCheckMenuItemClass), alignof(GtkCheckMenuItemClass)); + printf("%s;%zu;%zu\n", "GtkColorButton", sizeof(GtkColorButton), alignof(GtkColorButton)); + printf("%s;%zu;%zu\n", "GtkColorButtonClass", sizeof(GtkColorButtonClass), alignof(GtkColorButtonClass)); + printf("%s;%zu;%zu\n", "GtkColorChooserDialog", sizeof(GtkColorChooserDialog), alignof(GtkColorChooserDialog)); + printf("%s;%zu;%zu\n", "GtkColorChooserDialogClass", sizeof(GtkColorChooserDialogClass), alignof(GtkColorChooserDialogClass)); + printf("%s;%zu;%zu\n", "GtkColorChooserInterface", sizeof(GtkColorChooserInterface), alignof(GtkColorChooserInterface)); + printf("%s;%zu;%zu\n", "GtkColorChooserWidget", sizeof(GtkColorChooserWidget), alignof(GtkColorChooserWidget)); + printf("%s;%zu;%zu\n", "GtkColorChooserWidgetClass", sizeof(GtkColorChooserWidgetClass), alignof(GtkColorChooserWidgetClass)); + printf("%s;%zu;%zu\n", "GtkColorSelection", sizeof(GtkColorSelection), alignof(GtkColorSelection)); + printf("%s;%zu;%zu\n", "GtkColorSelectionClass", sizeof(GtkColorSelectionClass), alignof(GtkColorSelectionClass)); + printf("%s;%zu;%zu\n", "GtkColorSelectionDialog", sizeof(GtkColorSelectionDialog), alignof(GtkColorSelectionDialog)); + printf("%s;%zu;%zu\n", "GtkColorSelectionDialogClass", sizeof(GtkColorSelectionDialogClass), alignof(GtkColorSelectionDialogClass)); + printf("%s;%zu;%zu\n", "GtkComboBox", sizeof(GtkComboBox), alignof(GtkComboBox)); + printf("%s;%zu;%zu\n", "GtkComboBoxAccessible", sizeof(GtkComboBoxAccessible), alignof(GtkComboBoxAccessible)); + printf("%s;%zu;%zu\n", "GtkComboBoxAccessibleClass", sizeof(GtkComboBoxAccessibleClass), alignof(GtkComboBoxAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkComboBoxClass", sizeof(GtkComboBoxClass), alignof(GtkComboBoxClass)); + printf("%s;%zu;%zu\n", "GtkComboBoxText", sizeof(GtkComboBoxText), alignof(GtkComboBoxText)); + printf("%s;%zu;%zu\n", "GtkComboBoxTextClass", sizeof(GtkComboBoxTextClass), alignof(GtkComboBoxTextClass)); + printf("%s;%zu;%zu\n", "GtkContainer", sizeof(GtkContainer), alignof(GtkContainer)); + printf("%s;%zu;%zu\n", "GtkContainerAccessible", sizeof(GtkContainerAccessible), alignof(GtkContainerAccessible)); + printf("%s;%zu;%zu\n", "GtkContainerAccessibleClass", sizeof(GtkContainerAccessibleClass), alignof(GtkContainerAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkContainerCellAccessible", sizeof(GtkContainerCellAccessible), alignof(GtkContainerCellAccessible)); + printf("%s;%zu;%zu\n", "GtkContainerCellAccessibleClass", sizeof(GtkContainerCellAccessibleClass), alignof(GtkContainerCellAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkContainerClass", sizeof(GtkContainerClass), alignof(GtkContainerClass)); + printf("%s;%zu;%zu\n", "GtkCornerType", sizeof(GtkCornerType), alignof(GtkCornerType)); + printf("%s;%zu;%zu\n", "GtkCssProvider", sizeof(GtkCssProvider), alignof(GtkCssProvider)); + printf("%s;%zu;%zu\n", "GtkCssProviderClass", sizeof(GtkCssProviderClass), alignof(GtkCssProviderClass)); + printf("%s;%zu;%zu\n", "GtkCssProviderError", sizeof(GtkCssProviderError), alignof(GtkCssProviderError)); + printf("%s;%zu;%zu\n", "GtkCssSectionType", sizeof(GtkCssSectionType), alignof(GtkCssSectionType)); + printf("%s;%zu;%zu\n", "GtkDebugFlag", sizeof(GtkDebugFlag), alignof(GtkDebugFlag)); + printf("%s;%zu;%zu\n", "GtkDeleteType", sizeof(GtkDeleteType), alignof(GtkDeleteType)); + printf("%s;%zu;%zu\n", "GtkDestDefaults", sizeof(GtkDestDefaults), alignof(GtkDestDefaults)); + printf("%s;%zu;%zu\n", "GtkDialog", sizeof(GtkDialog), alignof(GtkDialog)); + printf("%s;%zu;%zu\n", "GtkDialogClass", sizeof(GtkDialogClass), alignof(GtkDialogClass)); + printf("%s;%zu;%zu\n", "GtkDialogFlags", sizeof(GtkDialogFlags), alignof(GtkDialogFlags)); + printf("%s;%zu;%zu\n", "GtkDirectionType", sizeof(GtkDirectionType), alignof(GtkDirectionType)); + printf("%s;%zu;%zu\n", "GtkDragResult", sizeof(GtkDragResult), alignof(GtkDragResult)); + printf("%s;%zu;%zu\n", "GtkDrawingArea", sizeof(GtkDrawingArea), alignof(GtkDrawingArea)); + printf("%s;%zu;%zu\n", "GtkDrawingAreaClass", sizeof(GtkDrawingAreaClass), alignof(GtkDrawingAreaClass)); + printf("%s;%zu;%zu\n", "GtkEditableInterface", sizeof(GtkEditableInterface), alignof(GtkEditableInterface)); + printf("%s;%zu;%zu\n", "GtkEntry", sizeof(GtkEntry), alignof(GtkEntry)); + printf("%s;%zu;%zu\n", "GtkEntryAccessible", sizeof(GtkEntryAccessible), alignof(GtkEntryAccessible)); + printf("%s;%zu;%zu\n", "GtkEntryAccessibleClass", sizeof(GtkEntryAccessibleClass), alignof(GtkEntryAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkEntryBuffer", sizeof(GtkEntryBuffer), alignof(GtkEntryBuffer)); + printf("%s;%zu;%zu\n", "GtkEntryBufferClass", sizeof(GtkEntryBufferClass), alignof(GtkEntryBufferClass)); + printf("%s;%zu;%zu\n", "GtkEntryClass", sizeof(GtkEntryClass), alignof(GtkEntryClass)); + printf("%s;%zu;%zu\n", "GtkEntryCompletion", sizeof(GtkEntryCompletion), alignof(GtkEntryCompletion)); + printf("%s;%zu;%zu\n", "GtkEntryCompletionClass", sizeof(GtkEntryCompletionClass), alignof(GtkEntryCompletionClass)); + printf("%s;%zu;%zu\n", "GtkEntryIconPosition", sizeof(GtkEntryIconPosition), alignof(GtkEntryIconPosition)); + printf("%s;%zu;%zu\n", "GtkEventBox", sizeof(GtkEventBox), alignof(GtkEventBox)); + printf("%s;%zu;%zu\n", "GtkEventBoxClass", sizeof(GtkEventBoxClass), alignof(GtkEventBoxClass)); + printf("%s;%zu;%zu\n", "GtkEventControllerScrollFlags", sizeof(GtkEventControllerScrollFlags), alignof(GtkEventControllerScrollFlags)); + printf("%s;%zu;%zu\n", "GtkEventSequenceState", sizeof(GtkEventSequenceState), alignof(GtkEventSequenceState)); + printf("%s;%zu;%zu\n", "GtkExpander", sizeof(GtkExpander), alignof(GtkExpander)); + printf("%s;%zu;%zu\n", "GtkExpanderAccessible", sizeof(GtkExpanderAccessible), alignof(GtkExpanderAccessible)); + printf("%s;%zu;%zu\n", "GtkExpanderAccessibleClass", sizeof(GtkExpanderAccessibleClass), alignof(GtkExpanderAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkExpanderClass", sizeof(GtkExpanderClass), alignof(GtkExpanderClass)); + printf("%s;%zu;%zu\n", "GtkExpanderStyle", sizeof(GtkExpanderStyle), alignof(GtkExpanderStyle)); + printf("%s;%zu;%zu\n", "GtkFileChooserAction", sizeof(GtkFileChooserAction), alignof(GtkFileChooserAction)); + printf("%s;%zu;%zu\n", "GtkFileChooserButton", sizeof(GtkFileChooserButton), alignof(GtkFileChooserButton)); + printf("%s;%zu;%zu\n", "GtkFileChooserButtonClass", sizeof(GtkFileChooserButtonClass), alignof(GtkFileChooserButtonClass)); + printf("%s;%zu;%zu\n", "GtkFileChooserConfirmation", sizeof(GtkFileChooserConfirmation), alignof(GtkFileChooserConfirmation)); + printf("%s;%zu;%zu\n", "GtkFileChooserDialog", sizeof(GtkFileChooserDialog), alignof(GtkFileChooserDialog)); + printf("%s;%zu;%zu\n", "GtkFileChooserDialogClass", sizeof(GtkFileChooserDialogClass), alignof(GtkFileChooserDialogClass)); + printf("%s;%zu;%zu\n", "GtkFileChooserError", sizeof(GtkFileChooserError), alignof(GtkFileChooserError)); + printf("%s;%zu;%zu\n", "GtkFileChooserNativeClass", sizeof(GtkFileChooserNativeClass), alignof(GtkFileChooserNativeClass)); + printf("%s;%zu;%zu\n", "GtkFileChooserWidget", sizeof(GtkFileChooserWidget), alignof(GtkFileChooserWidget)); + printf("%s;%zu;%zu\n", "GtkFileChooserWidgetClass", sizeof(GtkFileChooserWidgetClass), alignof(GtkFileChooserWidgetClass)); + printf("%s;%zu;%zu\n", "GtkFileFilterFlags", sizeof(GtkFileFilterFlags), alignof(GtkFileFilterFlags)); + printf("%s;%zu;%zu\n", "GtkFileFilterInfo", sizeof(GtkFileFilterInfo), alignof(GtkFileFilterInfo)); + printf("%s;%zu;%zu\n", "GtkFixed", sizeof(GtkFixed), alignof(GtkFixed)); + printf("%s;%zu;%zu\n", "GtkFixedChild", sizeof(GtkFixedChild), alignof(GtkFixedChild)); + printf("%s;%zu;%zu\n", "GtkFixedClass", sizeof(GtkFixedClass), alignof(GtkFixedClass)); + printf("%s;%zu;%zu\n", "GtkFlowBox", sizeof(GtkFlowBox), alignof(GtkFlowBox)); + printf("%s;%zu;%zu\n", "GtkFlowBoxAccessible", sizeof(GtkFlowBoxAccessible), alignof(GtkFlowBoxAccessible)); + printf("%s;%zu;%zu\n", "GtkFlowBoxAccessibleClass", sizeof(GtkFlowBoxAccessibleClass), alignof(GtkFlowBoxAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkFlowBoxChild", sizeof(GtkFlowBoxChild), alignof(GtkFlowBoxChild)); + printf("%s;%zu;%zu\n", "GtkFlowBoxChildAccessible", sizeof(GtkFlowBoxChildAccessible), alignof(GtkFlowBoxChildAccessible)); + printf("%s;%zu;%zu\n", "GtkFlowBoxChildAccessibleClass", sizeof(GtkFlowBoxChildAccessibleClass), alignof(GtkFlowBoxChildAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkFlowBoxChildClass", sizeof(GtkFlowBoxChildClass), alignof(GtkFlowBoxChildClass)); + printf("%s;%zu;%zu\n", "GtkFlowBoxClass", sizeof(GtkFlowBoxClass), alignof(GtkFlowBoxClass)); + printf("%s;%zu;%zu\n", "GtkFontButton", sizeof(GtkFontButton), alignof(GtkFontButton)); + printf("%s;%zu;%zu\n", "GtkFontButtonClass", sizeof(GtkFontButtonClass), alignof(GtkFontButtonClass)); + printf("%s;%zu;%zu\n", "GtkFontChooserDialog", sizeof(GtkFontChooserDialog), alignof(GtkFontChooserDialog)); + printf("%s;%zu;%zu\n", "GtkFontChooserDialogClass", sizeof(GtkFontChooserDialogClass), alignof(GtkFontChooserDialogClass)); + printf("%s;%zu;%zu\n", "GtkFontChooserIface", sizeof(GtkFontChooserIface), alignof(GtkFontChooserIface)); + printf("%s;%zu;%zu\n", "GtkFontChooserLevel", sizeof(GtkFontChooserLevel), alignof(GtkFontChooserLevel)); + printf("%s;%zu;%zu\n", "GtkFontChooserWidget", sizeof(GtkFontChooserWidget), alignof(GtkFontChooserWidget)); + printf("%s;%zu;%zu\n", "GtkFontChooserWidgetClass", sizeof(GtkFontChooserWidgetClass), alignof(GtkFontChooserWidgetClass)); + printf("%s;%zu;%zu\n", "GtkFontSelection", sizeof(GtkFontSelection), alignof(GtkFontSelection)); + printf("%s;%zu;%zu\n", "GtkFontSelectionClass", sizeof(GtkFontSelectionClass), alignof(GtkFontSelectionClass)); + printf("%s;%zu;%zu\n", "GtkFontSelectionDialog", sizeof(GtkFontSelectionDialog), alignof(GtkFontSelectionDialog)); + printf("%s;%zu;%zu\n", "GtkFontSelectionDialogClass", sizeof(GtkFontSelectionDialogClass), alignof(GtkFontSelectionDialogClass)); + printf("%s;%zu;%zu\n", "GtkFrame", sizeof(GtkFrame), alignof(GtkFrame)); + printf("%s;%zu;%zu\n", "GtkFrameAccessible", sizeof(GtkFrameAccessible), alignof(GtkFrameAccessible)); + printf("%s;%zu;%zu\n", "GtkFrameAccessibleClass", sizeof(GtkFrameAccessibleClass), alignof(GtkFrameAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkFrameClass", sizeof(GtkFrameClass), alignof(GtkFrameClass)); + printf("%s;%zu;%zu\n", "GtkGLArea", sizeof(GtkGLArea), alignof(GtkGLArea)); + printf("%s;%zu;%zu\n", "GtkGLAreaClass", sizeof(GtkGLAreaClass), alignof(GtkGLAreaClass)); + printf("%s;%zu;%zu\n", "GtkGrid", sizeof(GtkGrid), alignof(GtkGrid)); + printf("%s;%zu;%zu\n", "GtkGridClass", sizeof(GtkGridClass), alignof(GtkGridClass)); + printf("%s;%zu;%zu\n", "GtkHBox", sizeof(GtkHBox), alignof(GtkHBox)); + printf("%s;%zu;%zu\n", "GtkHBoxClass", sizeof(GtkHBoxClass), alignof(GtkHBoxClass)); + printf("%s;%zu;%zu\n", "GtkHButtonBox", sizeof(GtkHButtonBox), alignof(GtkHButtonBox)); + printf("%s;%zu;%zu\n", "GtkHButtonBoxClass", sizeof(GtkHButtonBoxClass), alignof(GtkHButtonBoxClass)); + printf("%s;%zu;%zu\n", "GtkHPaned", sizeof(GtkHPaned), alignof(GtkHPaned)); + printf("%s;%zu;%zu\n", "GtkHPanedClass", sizeof(GtkHPanedClass), alignof(GtkHPanedClass)); + printf("%s;%zu;%zu\n", "GtkHSV", sizeof(GtkHSV), alignof(GtkHSV)); + printf("%s;%zu;%zu\n", "GtkHSVClass", sizeof(GtkHSVClass), alignof(GtkHSVClass)); + printf("%s;%zu;%zu\n", "GtkHScale", sizeof(GtkHScale), alignof(GtkHScale)); + printf("%s;%zu;%zu\n", "GtkHScaleClass", sizeof(GtkHScaleClass), alignof(GtkHScaleClass)); + printf("%s;%zu;%zu\n", "GtkHScrollbar", sizeof(GtkHScrollbar), alignof(GtkHScrollbar)); + printf("%s;%zu;%zu\n", "GtkHScrollbarClass", sizeof(GtkHScrollbarClass), alignof(GtkHScrollbarClass)); + printf("%s;%zu;%zu\n", "GtkHSeparator", sizeof(GtkHSeparator), alignof(GtkHSeparator)); + printf("%s;%zu;%zu\n", "GtkHSeparatorClass", sizeof(GtkHSeparatorClass), alignof(GtkHSeparatorClass)); + printf("%s;%zu;%zu\n", "GtkHandleBox", sizeof(GtkHandleBox), alignof(GtkHandleBox)); + printf("%s;%zu;%zu\n", "GtkHandleBoxClass", sizeof(GtkHandleBoxClass), alignof(GtkHandleBoxClass)); + printf("%s;%zu;%zu\n", "GtkHeaderBar", sizeof(GtkHeaderBar), alignof(GtkHeaderBar)); + printf("%s;%zu;%zu\n", "GtkHeaderBarAccessible", sizeof(GtkHeaderBarAccessible), alignof(GtkHeaderBarAccessible)); + printf("%s;%zu;%zu\n", "GtkHeaderBarAccessibleClass", sizeof(GtkHeaderBarAccessibleClass), alignof(GtkHeaderBarAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkHeaderBarClass", sizeof(GtkHeaderBarClass), alignof(GtkHeaderBarClass)); + printf("%s;%zu;%zu\n", "GtkIMContext", sizeof(GtkIMContext), alignof(GtkIMContext)); + printf("%s;%zu;%zu\n", "GtkIMContextClass", sizeof(GtkIMContextClass), alignof(GtkIMContextClass)); + printf("%s;%zu;%zu\n", "GtkIMContextInfo", sizeof(GtkIMContextInfo), alignof(GtkIMContextInfo)); + printf("%s;%zu;%zu\n", "GtkIMContextSimple", sizeof(GtkIMContextSimple), alignof(GtkIMContextSimple)); + printf("%s;%zu;%zu\n", "GtkIMContextSimpleClass", sizeof(GtkIMContextSimpleClass), alignof(GtkIMContextSimpleClass)); + printf("%s;%zu;%zu\n", "GtkIMMulticontext", sizeof(GtkIMMulticontext), alignof(GtkIMMulticontext)); + printf("%s;%zu;%zu\n", "GtkIMMulticontextClass", sizeof(GtkIMMulticontextClass), alignof(GtkIMMulticontextClass)); + printf("%s;%zu;%zu\n", "GtkIMPreeditStyle", sizeof(GtkIMPreeditStyle), alignof(GtkIMPreeditStyle)); + printf("%s;%zu;%zu\n", "GtkIMStatusStyle", sizeof(GtkIMStatusStyle), alignof(GtkIMStatusStyle)); + printf("%s;%zu;%zu\n", "GtkIconFactory", sizeof(GtkIconFactory), alignof(GtkIconFactory)); + printf("%s;%zu;%zu\n", "GtkIconFactoryClass", sizeof(GtkIconFactoryClass), alignof(GtkIconFactoryClass)); + printf("%s;%zu;%zu\n", "GtkIconLookupFlags", sizeof(GtkIconLookupFlags), alignof(GtkIconLookupFlags)); + printf("%s;%zu;%zu\n", "GtkIconSize", sizeof(GtkIconSize), alignof(GtkIconSize)); + printf("%s;%zu;%zu\n", "GtkIconTheme", sizeof(GtkIconTheme), alignof(GtkIconTheme)); + printf("%s;%zu;%zu\n", "GtkIconThemeClass", sizeof(GtkIconThemeClass), alignof(GtkIconThemeClass)); + printf("%s;%zu;%zu\n", "GtkIconThemeError", sizeof(GtkIconThemeError), alignof(GtkIconThemeError)); + printf("%s;%zu;%zu\n", "GtkIconView", sizeof(GtkIconView), alignof(GtkIconView)); + printf("%s;%zu;%zu\n", "GtkIconViewAccessible", sizeof(GtkIconViewAccessible), alignof(GtkIconViewAccessible)); + printf("%s;%zu;%zu\n", "GtkIconViewAccessibleClass", sizeof(GtkIconViewAccessibleClass), alignof(GtkIconViewAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkIconViewClass", sizeof(GtkIconViewClass), alignof(GtkIconViewClass)); + printf("%s;%zu;%zu\n", "GtkIconViewDropPosition", sizeof(GtkIconViewDropPosition), alignof(GtkIconViewDropPosition)); + printf("%s;%zu;%zu\n", "GtkImage", sizeof(GtkImage), alignof(GtkImage)); + printf("%s;%zu;%zu\n", "GtkImageAccessible", sizeof(GtkImageAccessible), alignof(GtkImageAccessible)); + printf("%s;%zu;%zu\n", "GtkImageAccessibleClass", sizeof(GtkImageAccessibleClass), alignof(GtkImageAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkImageCellAccessible", sizeof(GtkImageCellAccessible), alignof(GtkImageCellAccessible)); + printf("%s;%zu;%zu\n", "GtkImageCellAccessibleClass", sizeof(GtkImageCellAccessibleClass), alignof(GtkImageCellAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkImageClass", sizeof(GtkImageClass), alignof(GtkImageClass)); + printf("%s;%zu;%zu\n", "GtkImageMenuItem", sizeof(GtkImageMenuItem), alignof(GtkImageMenuItem)); + printf("%s;%zu;%zu\n", "GtkImageMenuItemClass", sizeof(GtkImageMenuItemClass), alignof(GtkImageMenuItemClass)); + printf("%s;%zu;%zu\n", "GtkImageType", sizeof(GtkImageType), alignof(GtkImageType)); + printf("%s;%zu;%zu\n", "GtkInfoBar", sizeof(GtkInfoBar), alignof(GtkInfoBar)); + printf("%s;%zu;%zu\n", "GtkInfoBarClass", sizeof(GtkInfoBarClass), alignof(GtkInfoBarClass)); + printf("%s;%zu;%zu\n", "GtkInputHints", sizeof(GtkInputHints), alignof(GtkInputHints)); + printf("%s;%zu;%zu\n", "GtkInputPurpose", sizeof(GtkInputPurpose), alignof(GtkInputPurpose)); + printf("%s;%zu;%zu\n", "GtkInvisible", sizeof(GtkInvisible), alignof(GtkInvisible)); + printf("%s;%zu;%zu\n", "GtkInvisibleClass", sizeof(GtkInvisibleClass), alignof(GtkInvisibleClass)); + printf("%s;%zu;%zu\n", "GtkJunctionSides", sizeof(GtkJunctionSides), alignof(GtkJunctionSides)); + printf("%s;%zu;%zu\n", "GtkJustification", sizeof(GtkJustification), alignof(GtkJustification)); + printf("%s;%zu;%zu\n", "GtkLabel", sizeof(GtkLabel), alignof(GtkLabel)); + printf("%s;%zu;%zu\n", "GtkLabelAccessible", sizeof(GtkLabelAccessible), alignof(GtkLabelAccessible)); + printf("%s;%zu;%zu\n", "GtkLabelAccessibleClass", sizeof(GtkLabelAccessibleClass), alignof(GtkLabelAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkLabelClass", sizeof(GtkLabelClass), alignof(GtkLabelClass)); + printf("%s;%zu;%zu\n", "GtkLayout", sizeof(GtkLayout), alignof(GtkLayout)); + printf("%s;%zu;%zu\n", "GtkLayoutClass", sizeof(GtkLayoutClass), alignof(GtkLayoutClass)); + printf("%s;%zu;%zu\n", "GtkLevelBar", sizeof(GtkLevelBar), alignof(GtkLevelBar)); + printf("%s;%zu;%zu\n", "GtkLevelBarAccessible", sizeof(GtkLevelBarAccessible), alignof(GtkLevelBarAccessible)); + printf("%s;%zu;%zu\n", "GtkLevelBarAccessibleClass", sizeof(GtkLevelBarAccessibleClass), alignof(GtkLevelBarAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkLevelBarClass", sizeof(GtkLevelBarClass), alignof(GtkLevelBarClass)); + printf("%s;%zu;%zu\n", "GtkLevelBarMode", sizeof(GtkLevelBarMode), alignof(GtkLevelBarMode)); + printf("%s;%zu;%zu\n", "GtkLicense", sizeof(GtkLicense), alignof(GtkLicense)); + printf("%s;%zu;%zu\n", "GtkLinkButton", sizeof(GtkLinkButton), alignof(GtkLinkButton)); + printf("%s;%zu;%zu\n", "GtkLinkButtonAccessible", sizeof(GtkLinkButtonAccessible), alignof(GtkLinkButtonAccessible)); + printf("%s;%zu;%zu\n", "GtkLinkButtonAccessibleClass", sizeof(GtkLinkButtonAccessibleClass), alignof(GtkLinkButtonAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkLinkButtonClass", sizeof(GtkLinkButtonClass), alignof(GtkLinkButtonClass)); + printf("%s;%zu;%zu\n", "GtkListBox", sizeof(GtkListBox), alignof(GtkListBox)); + printf("%s;%zu;%zu\n", "GtkListBoxAccessible", sizeof(GtkListBoxAccessible), alignof(GtkListBoxAccessible)); + printf("%s;%zu;%zu\n", "GtkListBoxAccessibleClass", sizeof(GtkListBoxAccessibleClass), alignof(GtkListBoxAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkListBoxClass", sizeof(GtkListBoxClass), alignof(GtkListBoxClass)); + printf("%s;%zu;%zu\n", "GtkListBoxRow", sizeof(GtkListBoxRow), alignof(GtkListBoxRow)); + printf("%s;%zu;%zu\n", "GtkListBoxRowAccessible", sizeof(GtkListBoxRowAccessible), alignof(GtkListBoxRowAccessible)); + printf("%s;%zu;%zu\n", "GtkListBoxRowAccessibleClass", sizeof(GtkListBoxRowAccessibleClass), alignof(GtkListBoxRowAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkListBoxRowClass", sizeof(GtkListBoxRowClass), alignof(GtkListBoxRowClass)); + printf("%s;%zu;%zu\n", "GtkListStore", sizeof(GtkListStore), alignof(GtkListStore)); + printf("%s;%zu;%zu\n", "GtkListStoreClass", sizeof(GtkListStoreClass), alignof(GtkListStoreClass)); + printf("%s;%zu;%zu\n", "GtkLockButton", sizeof(GtkLockButton), alignof(GtkLockButton)); + printf("%s;%zu;%zu\n", "GtkLockButtonAccessible", sizeof(GtkLockButtonAccessible), alignof(GtkLockButtonAccessible)); + printf("%s;%zu;%zu\n", "GtkLockButtonAccessibleClass", sizeof(GtkLockButtonAccessibleClass), alignof(GtkLockButtonAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkLockButtonClass", sizeof(GtkLockButtonClass), alignof(GtkLockButtonClass)); + printf("%s;%zu;%zu\n", "GtkMenu", sizeof(GtkMenu), alignof(GtkMenu)); + printf("%s;%zu;%zu\n", "GtkMenuAccessible", sizeof(GtkMenuAccessible), alignof(GtkMenuAccessible)); + printf("%s;%zu;%zu\n", "GtkMenuAccessibleClass", sizeof(GtkMenuAccessibleClass), alignof(GtkMenuAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkMenuBar", sizeof(GtkMenuBar), alignof(GtkMenuBar)); + printf("%s;%zu;%zu\n", "GtkMenuBarClass", sizeof(GtkMenuBarClass), alignof(GtkMenuBarClass)); + printf("%s;%zu;%zu\n", "GtkMenuButton", sizeof(GtkMenuButton), alignof(GtkMenuButton)); + printf("%s;%zu;%zu\n", "GtkMenuButtonAccessible", sizeof(GtkMenuButtonAccessible), alignof(GtkMenuButtonAccessible)); + printf("%s;%zu;%zu\n", "GtkMenuButtonAccessibleClass", sizeof(GtkMenuButtonAccessibleClass), alignof(GtkMenuButtonAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkMenuButtonClass", sizeof(GtkMenuButtonClass), alignof(GtkMenuButtonClass)); + printf("%s;%zu;%zu\n", "GtkMenuClass", sizeof(GtkMenuClass), alignof(GtkMenuClass)); + printf("%s;%zu;%zu\n", "GtkMenuDirectionType", sizeof(GtkMenuDirectionType), alignof(GtkMenuDirectionType)); + printf("%s;%zu;%zu\n", "GtkMenuItem", sizeof(GtkMenuItem), alignof(GtkMenuItem)); + printf("%s;%zu;%zu\n", "GtkMenuItemAccessible", sizeof(GtkMenuItemAccessible), alignof(GtkMenuItemAccessible)); + printf("%s;%zu;%zu\n", "GtkMenuItemAccessibleClass", sizeof(GtkMenuItemAccessibleClass), alignof(GtkMenuItemAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkMenuItemClass", sizeof(GtkMenuItemClass), alignof(GtkMenuItemClass)); + printf("%s;%zu;%zu\n", "GtkMenuShell", sizeof(GtkMenuShell), alignof(GtkMenuShell)); + printf("%s;%zu;%zu\n", "GtkMenuShellAccessible", sizeof(GtkMenuShellAccessible), alignof(GtkMenuShellAccessible)); + printf("%s;%zu;%zu\n", "GtkMenuShellAccessibleClass", sizeof(GtkMenuShellAccessibleClass), alignof(GtkMenuShellAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkMenuShellClass", sizeof(GtkMenuShellClass), alignof(GtkMenuShellClass)); + printf("%s;%zu;%zu\n", "GtkMenuToolButton", sizeof(GtkMenuToolButton), alignof(GtkMenuToolButton)); + printf("%s;%zu;%zu\n", "GtkMenuToolButtonClass", sizeof(GtkMenuToolButtonClass), alignof(GtkMenuToolButtonClass)); + printf("%s;%zu;%zu\n", "GtkMessageDialog", sizeof(GtkMessageDialog), alignof(GtkMessageDialog)); + printf("%s;%zu;%zu\n", "GtkMessageDialogClass", sizeof(GtkMessageDialogClass), alignof(GtkMessageDialogClass)); + printf("%s;%zu;%zu\n", "GtkMessageType", sizeof(GtkMessageType), alignof(GtkMessageType)); + printf("%s;%zu;%zu\n", "GtkMisc", sizeof(GtkMisc), alignof(GtkMisc)); + printf("%s;%zu;%zu\n", "GtkMiscClass", sizeof(GtkMiscClass), alignof(GtkMiscClass)); + printf("%s;%zu;%zu\n", "GtkMountOperation", sizeof(GtkMountOperation), alignof(GtkMountOperation)); + printf("%s;%zu;%zu\n", "GtkMountOperationClass", sizeof(GtkMountOperationClass), alignof(GtkMountOperationClass)); + printf("%s;%zu;%zu\n", "GtkMovementStep", sizeof(GtkMovementStep), alignof(GtkMovementStep)); + printf("%s;%zu;%zu\n", "GtkNativeDialog", sizeof(GtkNativeDialog), alignof(GtkNativeDialog)); + printf("%s;%zu;%zu\n", "GtkNativeDialogClass", sizeof(GtkNativeDialogClass), alignof(GtkNativeDialogClass)); + printf("%s;%zu;%zu\n", "GtkNotebook", sizeof(GtkNotebook), alignof(GtkNotebook)); + printf("%s;%zu;%zu\n", "GtkNotebookAccessible", sizeof(GtkNotebookAccessible), alignof(GtkNotebookAccessible)); + printf("%s;%zu;%zu\n", "GtkNotebookAccessibleClass", sizeof(GtkNotebookAccessibleClass), alignof(GtkNotebookAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkNotebookClass", sizeof(GtkNotebookClass), alignof(GtkNotebookClass)); + printf("%s;%zu;%zu\n", "GtkNotebookPageAccessible", sizeof(GtkNotebookPageAccessible), alignof(GtkNotebookPageAccessible)); + printf("%s;%zu;%zu\n", "GtkNotebookPageAccessibleClass", sizeof(GtkNotebookPageAccessibleClass), alignof(GtkNotebookPageAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkNotebookTab", sizeof(GtkNotebookTab), alignof(GtkNotebookTab)); + printf("%s;%zu;%zu\n", "GtkNumberUpLayout", sizeof(GtkNumberUpLayout), alignof(GtkNumberUpLayout)); + printf("%s;%zu;%zu\n", "GtkNumerableIcon", sizeof(GtkNumerableIcon), alignof(GtkNumerableIcon)); + printf("%s;%zu;%zu\n", "GtkNumerableIconClass", sizeof(GtkNumerableIconClass), alignof(GtkNumerableIconClass)); + printf("%s;%zu;%zu\n", "GtkOffscreenWindow", sizeof(GtkOffscreenWindow), alignof(GtkOffscreenWindow)); + printf("%s;%zu;%zu\n", "GtkOffscreenWindowClass", sizeof(GtkOffscreenWindowClass), alignof(GtkOffscreenWindowClass)); + printf("%s;%zu;%zu\n", "GtkOrientableIface", sizeof(GtkOrientableIface), alignof(GtkOrientableIface)); + printf("%s;%zu;%zu\n", "GtkOrientation", sizeof(GtkOrientation), alignof(GtkOrientation)); + printf("%s;%zu;%zu\n", "GtkOverlay", sizeof(GtkOverlay), alignof(GtkOverlay)); + printf("%s;%zu;%zu\n", "GtkOverlayClass", sizeof(GtkOverlayClass), alignof(GtkOverlayClass)); + printf("%s;%zu;%zu\n", "GtkPackDirection", sizeof(GtkPackDirection), alignof(GtkPackDirection)); + printf("%s;%zu;%zu\n", "GtkPackType", sizeof(GtkPackType), alignof(GtkPackType)); + printf("%s;%zu;%zu\n", "GtkPadActionEntry", sizeof(GtkPadActionEntry), alignof(GtkPadActionEntry)); + printf("%s;%zu;%zu\n", "GtkPadActionType", sizeof(GtkPadActionType), alignof(GtkPadActionType)); + printf("%s;%zu;%zu\n", "GtkPageOrientation", sizeof(GtkPageOrientation), alignof(GtkPageOrientation)); + printf("%s;%zu;%zu\n", "GtkPageRange", sizeof(GtkPageRange), alignof(GtkPageRange)); + printf("%s;%zu;%zu\n", "GtkPageSet", sizeof(GtkPageSet), alignof(GtkPageSet)); + printf("%s;%zu;%zu\n", "GtkPanDirection", sizeof(GtkPanDirection), alignof(GtkPanDirection)); + printf("%s;%zu;%zu\n", "GtkPaned", sizeof(GtkPaned), alignof(GtkPaned)); + printf("%s;%zu;%zu\n", "GtkPanedAccessible", sizeof(GtkPanedAccessible), alignof(GtkPanedAccessible)); + printf("%s;%zu;%zu\n", "GtkPanedAccessibleClass", sizeof(GtkPanedAccessibleClass), alignof(GtkPanedAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkPanedClass", sizeof(GtkPanedClass), alignof(GtkPanedClass)); + printf("%s;%zu;%zu\n", "GtkPathPriorityType", sizeof(GtkPathPriorityType), alignof(GtkPathPriorityType)); + printf("%s;%zu;%zu\n", "GtkPathType", sizeof(GtkPathType), alignof(GtkPathType)); + printf("%s;%zu;%zu\n", "GtkPlacesOpenFlags", sizeof(GtkPlacesOpenFlags), alignof(GtkPlacesOpenFlags)); + printf("%s;%zu;%zu\n", "GtkPlug", sizeof(GtkPlug), alignof(GtkPlug)); + printf("%s;%zu;%zu\n", "GtkPlugClass", sizeof(GtkPlugClass), alignof(GtkPlugClass)); + printf("%s;%zu;%zu\n", "GtkPolicyType", sizeof(GtkPolicyType), alignof(GtkPolicyType)); + printf("%s;%zu;%zu\n", "GtkPopover", sizeof(GtkPopover), alignof(GtkPopover)); + printf("%s;%zu;%zu\n", "GtkPopoverAccessible", sizeof(GtkPopoverAccessible), alignof(GtkPopoverAccessible)); + printf("%s;%zu;%zu\n", "GtkPopoverAccessibleClass", sizeof(GtkPopoverAccessibleClass), alignof(GtkPopoverAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkPopoverClass", sizeof(GtkPopoverClass), alignof(GtkPopoverClass)); + printf("%s;%zu;%zu\n", "GtkPopoverConstraint", sizeof(GtkPopoverConstraint), alignof(GtkPopoverConstraint)); + printf("%s;%zu;%zu\n", "GtkPopoverMenuClass", sizeof(GtkPopoverMenuClass), alignof(GtkPopoverMenuClass)); + printf("%s;%zu;%zu\n", "GtkPositionType", sizeof(GtkPositionType), alignof(GtkPositionType)); + printf("%s;%zu;%zu\n", "GtkPrintDuplex", sizeof(GtkPrintDuplex), alignof(GtkPrintDuplex)); + printf("%s;%zu;%zu\n", "GtkPrintError", sizeof(GtkPrintError), alignof(GtkPrintError)); + printf("%s;%zu;%zu\n", "GtkPrintOperation", sizeof(GtkPrintOperation), alignof(GtkPrintOperation)); + printf("%s;%zu;%zu\n", "GtkPrintOperationAction", sizeof(GtkPrintOperationAction), alignof(GtkPrintOperationAction)); + printf("%s;%zu;%zu\n", "GtkPrintOperationClass", sizeof(GtkPrintOperationClass), alignof(GtkPrintOperationClass)); + printf("%s;%zu;%zu\n", "GtkPrintOperationPreviewIface", sizeof(GtkPrintOperationPreviewIface), alignof(GtkPrintOperationPreviewIface)); + printf("%s;%zu;%zu\n", "GtkPrintOperationResult", sizeof(GtkPrintOperationResult), alignof(GtkPrintOperationResult)); + printf("%s;%zu;%zu\n", "GtkPrintPages", sizeof(GtkPrintPages), alignof(GtkPrintPages)); + printf("%s;%zu;%zu\n", "GtkPrintQuality", sizeof(GtkPrintQuality), alignof(GtkPrintQuality)); + printf("%s;%zu;%zu\n", "GtkPrintStatus", sizeof(GtkPrintStatus), alignof(GtkPrintStatus)); + printf("%s;%zu;%zu\n", "GtkProgressBar", sizeof(GtkProgressBar), alignof(GtkProgressBar)); + printf("%s;%zu;%zu\n", "GtkProgressBarAccessible", sizeof(GtkProgressBarAccessible), alignof(GtkProgressBarAccessible)); + printf("%s;%zu;%zu\n", "GtkProgressBarAccessibleClass", sizeof(GtkProgressBarAccessibleClass), alignof(GtkProgressBarAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkProgressBarClass", sizeof(GtkProgressBarClass), alignof(GtkProgressBarClass)); + printf("%s;%zu;%zu\n", "GtkPropagationPhase", sizeof(GtkPropagationPhase), alignof(GtkPropagationPhase)); + printf("%s;%zu;%zu\n", "GtkRadioAction", sizeof(GtkRadioAction), alignof(GtkRadioAction)); + printf("%s;%zu;%zu\n", "GtkRadioActionClass", sizeof(GtkRadioActionClass), alignof(GtkRadioActionClass)); + printf("%s;%zu;%zu\n", "GtkRadioActionEntry", sizeof(GtkRadioActionEntry), alignof(GtkRadioActionEntry)); + printf("%s;%zu;%zu\n", "GtkRadioButton", sizeof(GtkRadioButton), alignof(GtkRadioButton)); + printf("%s;%zu;%zu\n", "GtkRadioButtonAccessible", sizeof(GtkRadioButtonAccessible), alignof(GtkRadioButtonAccessible)); + printf("%s;%zu;%zu\n", "GtkRadioButtonAccessibleClass", sizeof(GtkRadioButtonAccessibleClass), alignof(GtkRadioButtonAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkRadioButtonClass", sizeof(GtkRadioButtonClass), alignof(GtkRadioButtonClass)); + printf("%s;%zu;%zu\n", "GtkRadioMenuItem", sizeof(GtkRadioMenuItem), alignof(GtkRadioMenuItem)); + printf("%s;%zu;%zu\n", "GtkRadioMenuItemAccessible", sizeof(GtkRadioMenuItemAccessible), alignof(GtkRadioMenuItemAccessible)); + printf("%s;%zu;%zu\n", "GtkRadioMenuItemAccessibleClass", sizeof(GtkRadioMenuItemAccessibleClass), alignof(GtkRadioMenuItemAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkRadioMenuItemClass", sizeof(GtkRadioMenuItemClass), alignof(GtkRadioMenuItemClass)); + printf("%s;%zu;%zu\n", "GtkRadioToolButton", sizeof(GtkRadioToolButton), alignof(GtkRadioToolButton)); + printf("%s;%zu;%zu\n", "GtkRadioToolButtonClass", sizeof(GtkRadioToolButtonClass), alignof(GtkRadioToolButtonClass)); + printf("%s;%zu;%zu\n", "GtkRange", sizeof(GtkRange), alignof(GtkRange)); + printf("%s;%zu;%zu\n", "GtkRangeAccessible", sizeof(GtkRangeAccessible), alignof(GtkRangeAccessible)); + printf("%s;%zu;%zu\n", "GtkRangeAccessibleClass", sizeof(GtkRangeAccessibleClass), alignof(GtkRangeAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkRangeClass", sizeof(GtkRangeClass), alignof(GtkRangeClass)); + printf("%s;%zu;%zu\n", "GtkRcFlags", sizeof(GtkRcFlags), alignof(GtkRcFlags)); + printf("%s;%zu;%zu\n", "GtkRcProperty", sizeof(GtkRcProperty), alignof(GtkRcProperty)); + printf("%s;%zu;%zu\n", "GtkRcStyle", sizeof(GtkRcStyle), alignof(GtkRcStyle)); + printf("%s;%zu;%zu\n", "GtkRcStyleClass", sizeof(GtkRcStyleClass), alignof(GtkRcStyleClass)); + printf("%s;%zu;%zu\n", "GtkRcTokenType", sizeof(GtkRcTokenType), alignof(GtkRcTokenType)); + printf("%s;%zu;%zu\n", "GtkRecentAction", sizeof(GtkRecentAction), alignof(GtkRecentAction)); + printf("%s;%zu;%zu\n", "GtkRecentActionClass", sizeof(GtkRecentActionClass), alignof(GtkRecentActionClass)); + printf("%s;%zu;%zu\n", "GtkRecentChooserDialog", sizeof(GtkRecentChooserDialog), alignof(GtkRecentChooserDialog)); + printf("%s;%zu;%zu\n", "GtkRecentChooserDialogClass", sizeof(GtkRecentChooserDialogClass), alignof(GtkRecentChooserDialogClass)); + printf("%s;%zu;%zu\n", "GtkRecentChooserError", sizeof(GtkRecentChooserError), alignof(GtkRecentChooserError)); + printf("%s;%zu;%zu\n", "GtkRecentChooserIface", sizeof(GtkRecentChooserIface), alignof(GtkRecentChooserIface)); + printf("%s;%zu;%zu\n", "GtkRecentChooserMenu", sizeof(GtkRecentChooserMenu), alignof(GtkRecentChooserMenu)); + printf("%s;%zu;%zu\n", "GtkRecentChooserMenuClass", sizeof(GtkRecentChooserMenuClass), alignof(GtkRecentChooserMenuClass)); + printf("%s;%zu;%zu\n", "GtkRecentChooserWidget", sizeof(GtkRecentChooserWidget), alignof(GtkRecentChooserWidget)); + printf("%s;%zu;%zu\n", "GtkRecentChooserWidgetClass", sizeof(GtkRecentChooserWidgetClass), alignof(GtkRecentChooserWidgetClass)); + printf("%s;%zu;%zu\n", "GtkRecentData", sizeof(GtkRecentData), alignof(GtkRecentData)); + printf("%s;%zu;%zu\n", "GtkRecentFilterFlags", sizeof(GtkRecentFilterFlags), alignof(GtkRecentFilterFlags)); + printf("%s;%zu;%zu\n", "GtkRecentFilterInfo", sizeof(GtkRecentFilterInfo), alignof(GtkRecentFilterInfo)); + printf("%s;%zu;%zu\n", "GtkRecentManager", sizeof(GtkRecentManager), alignof(GtkRecentManager)); + printf("%s;%zu;%zu\n", "GtkRecentManagerClass", sizeof(GtkRecentManagerClass), alignof(GtkRecentManagerClass)); + printf("%s;%zu;%zu\n", "GtkRecentManagerError", sizeof(GtkRecentManagerError), alignof(GtkRecentManagerError)); + printf("%s;%zu;%zu\n", "GtkRecentSortType", sizeof(GtkRecentSortType), alignof(GtkRecentSortType)); + printf("%s;%zu;%zu\n", "GtkRegionFlags", sizeof(GtkRegionFlags), alignof(GtkRegionFlags)); + printf("%s;%zu;%zu\n", "GtkReliefStyle", sizeof(GtkReliefStyle), alignof(GtkReliefStyle)); + printf("%s;%zu;%zu\n", "GtkRendererCellAccessible", sizeof(GtkRendererCellAccessible), alignof(GtkRendererCellAccessible)); + printf("%s;%zu;%zu\n", "GtkRendererCellAccessibleClass", sizeof(GtkRendererCellAccessibleClass), alignof(GtkRendererCellAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkRequestedSize", sizeof(GtkRequestedSize), alignof(GtkRequestedSize)); + printf("%s;%zu;%zu\n", "GtkRequisition", sizeof(GtkRequisition), alignof(GtkRequisition)); + printf("%s;%zu;%zu\n", "GtkResizeMode", sizeof(GtkResizeMode), alignof(GtkResizeMode)); + printf("%s;%zu;%zu\n", "GtkResponseType", sizeof(GtkResponseType), alignof(GtkResponseType)); + printf("%s;%zu;%zu\n", "GtkRevealer", sizeof(GtkRevealer), alignof(GtkRevealer)); + printf("%s;%zu;%zu\n", "GtkRevealerClass", sizeof(GtkRevealerClass), alignof(GtkRevealerClass)); + printf("%s;%zu;%zu\n", "GtkRevealerTransitionType", sizeof(GtkRevealerTransitionType), alignof(GtkRevealerTransitionType)); + printf("%s;%zu;%zu\n", "GtkScale", sizeof(GtkScale), alignof(GtkScale)); + printf("%s;%zu;%zu\n", "GtkScaleAccessible", sizeof(GtkScaleAccessible), alignof(GtkScaleAccessible)); + printf("%s;%zu;%zu\n", "GtkScaleAccessibleClass", sizeof(GtkScaleAccessibleClass), alignof(GtkScaleAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkScaleButton", sizeof(GtkScaleButton), alignof(GtkScaleButton)); + printf("%s;%zu;%zu\n", "GtkScaleButtonAccessible", sizeof(GtkScaleButtonAccessible), alignof(GtkScaleButtonAccessible)); + printf("%s;%zu;%zu\n", "GtkScaleButtonAccessibleClass", sizeof(GtkScaleButtonAccessibleClass), alignof(GtkScaleButtonAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkScaleButtonClass", sizeof(GtkScaleButtonClass), alignof(GtkScaleButtonClass)); + printf("%s;%zu;%zu\n", "GtkScaleClass", sizeof(GtkScaleClass), alignof(GtkScaleClass)); + printf("%s;%zu;%zu\n", "GtkScrollStep", sizeof(GtkScrollStep), alignof(GtkScrollStep)); + printf("%s;%zu;%zu\n", "GtkScrollType", sizeof(GtkScrollType), alignof(GtkScrollType)); + printf("%s;%zu;%zu\n", "GtkScrollableInterface", sizeof(GtkScrollableInterface), alignof(GtkScrollableInterface)); + printf("%s;%zu;%zu\n", "GtkScrollablePolicy", sizeof(GtkScrollablePolicy), alignof(GtkScrollablePolicy)); + printf("%s;%zu;%zu\n", "GtkScrollbar", sizeof(GtkScrollbar), alignof(GtkScrollbar)); + printf("%s;%zu;%zu\n", "GtkScrollbarClass", sizeof(GtkScrollbarClass), alignof(GtkScrollbarClass)); + printf("%s;%zu;%zu\n", "GtkScrolledWindow", sizeof(GtkScrolledWindow), alignof(GtkScrolledWindow)); + printf("%s;%zu;%zu\n", "GtkScrolledWindowAccessible", sizeof(GtkScrolledWindowAccessible), alignof(GtkScrolledWindowAccessible)); + printf("%s;%zu;%zu\n", "GtkScrolledWindowAccessibleClass", sizeof(GtkScrolledWindowAccessibleClass), alignof(GtkScrolledWindowAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkScrolledWindowClass", sizeof(GtkScrolledWindowClass), alignof(GtkScrolledWindowClass)); + printf("%s;%zu;%zu\n", "GtkSearchBar", sizeof(GtkSearchBar), alignof(GtkSearchBar)); + printf("%s;%zu;%zu\n", "GtkSearchBarClass", sizeof(GtkSearchBarClass), alignof(GtkSearchBarClass)); + printf("%s;%zu;%zu\n", "GtkSearchEntry", sizeof(GtkSearchEntry), alignof(GtkSearchEntry)); + printf("%s;%zu;%zu\n", "GtkSearchEntryClass", sizeof(GtkSearchEntryClass), alignof(GtkSearchEntryClass)); + printf("%s;%zu;%zu\n", "GtkSelectionMode", sizeof(GtkSelectionMode), alignof(GtkSelectionMode)); + printf("%s;%zu;%zu\n", "GtkSensitivityType", sizeof(GtkSensitivityType), alignof(GtkSensitivityType)); + printf("%s;%zu;%zu\n", "GtkSeparator", sizeof(GtkSeparator), alignof(GtkSeparator)); + printf("%s;%zu;%zu\n", "GtkSeparatorClass", sizeof(GtkSeparatorClass), alignof(GtkSeparatorClass)); + printf("%s;%zu;%zu\n", "GtkSeparatorMenuItem", sizeof(GtkSeparatorMenuItem), alignof(GtkSeparatorMenuItem)); + printf("%s;%zu;%zu\n", "GtkSeparatorMenuItemClass", sizeof(GtkSeparatorMenuItemClass), alignof(GtkSeparatorMenuItemClass)); + printf("%s;%zu;%zu\n", "GtkSeparatorToolItem", sizeof(GtkSeparatorToolItem), alignof(GtkSeparatorToolItem)); + printf("%s;%zu;%zu\n", "GtkSeparatorToolItemClass", sizeof(GtkSeparatorToolItemClass), alignof(GtkSeparatorToolItemClass)); + printf("%s;%zu;%zu\n", "GtkSettings", sizeof(GtkSettings), alignof(GtkSettings)); + printf("%s;%zu;%zu\n", "GtkSettingsClass", sizeof(GtkSettingsClass), alignof(GtkSettingsClass)); + printf("%s;%zu;%zu\n", "GtkSettingsValue", sizeof(GtkSettingsValue), alignof(GtkSettingsValue)); + printf("%s;%zu;%zu\n", "GtkShadowType", sizeof(GtkShadowType), alignof(GtkShadowType)); + printf("%s;%zu;%zu\n", "GtkShortcutType", sizeof(GtkShortcutType), alignof(GtkShortcutType)); + printf("%s;%zu;%zu\n", "GtkShortcutsWindow", sizeof(GtkShortcutsWindow), alignof(GtkShortcutsWindow)); + printf("%s;%zu;%zu\n", "GtkShortcutsWindowClass", sizeof(GtkShortcutsWindowClass), alignof(GtkShortcutsWindowClass)); + printf("%s;%zu;%zu\n", "GtkSizeGroup", sizeof(GtkSizeGroup), alignof(GtkSizeGroup)); + printf("%s;%zu;%zu\n", "GtkSizeGroupClass", sizeof(GtkSizeGroupClass), alignof(GtkSizeGroupClass)); + printf("%s;%zu;%zu\n", "GtkSizeGroupMode", sizeof(GtkSizeGroupMode), alignof(GtkSizeGroupMode)); + printf("%s;%zu;%zu\n", "GtkSizeRequestMode", sizeof(GtkSizeRequestMode), alignof(GtkSizeRequestMode)); + printf("%s;%zu;%zu\n", "GtkSocket", sizeof(GtkSocket), alignof(GtkSocket)); + printf("%s;%zu;%zu\n", "GtkSocketClass", sizeof(GtkSocketClass), alignof(GtkSocketClass)); + printf("%s;%zu;%zu\n", "GtkSortType", sizeof(GtkSortType), alignof(GtkSortType)); + printf("%s;%zu;%zu\n", "GtkSpinButton", sizeof(GtkSpinButton), alignof(GtkSpinButton)); + printf("%s;%zu;%zu\n", "GtkSpinButtonAccessible", sizeof(GtkSpinButtonAccessible), alignof(GtkSpinButtonAccessible)); + printf("%s;%zu;%zu\n", "GtkSpinButtonAccessibleClass", sizeof(GtkSpinButtonAccessibleClass), alignof(GtkSpinButtonAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkSpinButtonClass", sizeof(GtkSpinButtonClass), alignof(GtkSpinButtonClass)); + printf("%s;%zu;%zu\n", "GtkSpinButtonUpdatePolicy", sizeof(GtkSpinButtonUpdatePolicy), alignof(GtkSpinButtonUpdatePolicy)); + printf("%s;%zu;%zu\n", "GtkSpinType", sizeof(GtkSpinType), alignof(GtkSpinType)); + printf("%s;%zu;%zu\n", "GtkSpinner", sizeof(GtkSpinner), alignof(GtkSpinner)); + printf("%s;%zu;%zu\n", "GtkSpinnerAccessible", sizeof(GtkSpinnerAccessible), alignof(GtkSpinnerAccessible)); + printf("%s;%zu;%zu\n", "GtkSpinnerAccessibleClass", sizeof(GtkSpinnerAccessibleClass), alignof(GtkSpinnerAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkSpinnerClass", sizeof(GtkSpinnerClass), alignof(GtkSpinnerClass)); + printf("%s;%zu;%zu\n", "GtkStack", sizeof(GtkStack), alignof(GtkStack)); + printf("%s;%zu;%zu\n", "GtkStackAccessible", sizeof(GtkStackAccessible), alignof(GtkStackAccessible)); + printf("%s;%zu;%zu\n", "GtkStackAccessibleClass", sizeof(GtkStackAccessibleClass), alignof(GtkStackAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkStackClass", sizeof(GtkStackClass), alignof(GtkStackClass)); + printf("%s;%zu;%zu\n", "GtkStackSidebar", sizeof(GtkStackSidebar), alignof(GtkStackSidebar)); + printf("%s;%zu;%zu\n", "GtkStackSidebarClass", sizeof(GtkStackSidebarClass), alignof(GtkStackSidebarClass)); + printf("%s;%zu;%zu\n", "GtkStackSwitcher", sizeof(GtkStackSwitcher), alignof(GtkStackSwitcher)); + printf("%s;%zu;%zu\n", "GtkStackSwitcherClass", sizeof(GtkStackSwitcherClass), alignof(GtkStackSwitcherClass)); + printf("%s;%zu;%zu\n", "GtkStackTransitionType", sizeof(GtkStackTransitionType), alignof(GtkStackTransitionType)); + printf("%s;%zu;%zu\n", "GtkStateFlags", sizeof(GtkStateFlags), alignof(GtkStateFlags)); + printf("%s;%zu;%zu\n", "GtkStateType", sizeof(GtkStateType), alignof(GtkStateType)); + printf("%s;%zu;%zu\n", "GtkStatusIcon", sizeof(GtkStatusIcon), alignof(GtkStatusIcon)); + printf("%s;%zu;%zu\n", "GtkStatusIconClass", sizeof(GtkStatusIconClass), alignof(GtkStatusIconClass)); + printf("%s;%zu;%zu\n", "GtkStatusbar", sizeof(GtkStatusbar), alignof(GtkStatusbar)); + printf("%s;%zu;%zu\n", "GtkStatusbarAccessible", sizeof(GtkStatusbarAccessible), alignof(GtkStatusbarAccessible)); + printf("%s;%zu;%zu\n", "GtkStatusbarAccessibleClass", sizeof(GtkStatusbarAccessibleClass), alignof(GtkStatusbarAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkStatusbarClass", sizeof(GtkStatusbarClass), alignof(GtkStatusbarClass)); + printf("%s;%zu;%zu\n", "GtkStock", sizeof(GtkStock), alignof(GtkStock)); + printf("%s;%zu;%zu\n", "GtkStockItem", sizeof(GtkStockItem), alignof(GtkStockItem)); + printf("%s;%zu;%zu\n", "GtkStyleClass", sizeof(GtkStyleClass), alignof(GtkStyleClass)); + printf("%s;%zu;%zu\n", "GtkStyleContext", sizeof(GtkStyleContext), alignof(GtkStyleContext)); + printf("%s;%zu;%zu\n", "GtkStyleContextClass", sizeof(GtkStyleContextClass), alignof(GtkStyleContextClass)); + printf("%s;%zu;%zu\n", "GtkStyleContextPrintFlags", sizeof(GtkStyleContextPrintFlags), alignof(GtkStyleContextPrintFlags)); + printf("%s;%zu;%zu\n", "GtkStyleProperties", sizeof(GtkStyleProperties), alignof(GtkStyleProperties)); + printf("%s;%zu;%zu\n", "GtkStylePropertiesClass", sizeof(GtkStylePropertiesClass), alignof(GtkStylePropertiesClass)); + printf("%s;%zu;%zu\n", "GtkStyleProviderIface", sizeof(GtkStyleProviderIface), alignof(GtkStyleProviderIface)); + printf("%s;%zu;%zu\n", "GtkSwitch", sizeof(GtkSwitch), alignof(GtkSwitch)); + printf("%s;%zu;%zu\n", "GtkSwitchAccessible", sizeof(GtkSwitchAccessible), alignof(GtkSwitchAccessible)); + printf("%s;%zu;%zu\n", "GtkSwitchAccessibleClass", sizeof(GtkSwitchAccessibleClass), alignof(GtkSwitchAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkSwitchClass", sizeof(GtkSwitchClass), alignof(GtkSwitchClass)); + printf("%s;%zu;%zu\n", "GtkTable", sizeof(GtkTable), alignof(GtkTable)); + printf("%s;%zu;%zu\n", "GtkTableClass", sizeof(GtkTableClass), alignof(GtkTableClass)); + printf("%s;%zu;%zu\n", "GtkTargetEntry", sizeof(GtkTargetEntry), alignof(GtkTargetEntry)); + printf("%s;%zu;%zu\n", "GtkTargetFlags", sizeof(GtkTargetFlags), alignof(GtkTargetFlags)); + printf("%s;%zu;%zu\n", "GtkTargetPair", sizeof(GtkTargetPair), alignof(GtkTargetPair)); + printf("%s;%zu;%zu\n", "GtkTearoffMenuItem", sizeof(GtkTearoffMenuItem), alignof(GtkTearoffMenuItem)); + printf("%s;%zu;%zu\n", "GtkTearoffMenuItemClass", sizeof(GtkTearoffMenuItemClass), alignof(GtkTearoffMenuItemClass)); + printf("%s;%zu;%zu\n", "GtkTextBuffer", sizeof(GtkTextBuffer), alignof(GtkTextBuffer)); + printf("%s;%zu;%zu\n", "GtkTextBufferClass", sizeof(GtkTextBufferClass), alignof(GtkTextBufferClass)); + printf("%s;%zu;%zu\n", "GtkTextBufferTargetInfo", sizeof(GtkTextBufferTargetInfo), alignof(GtkTextBufferTargetInfo)); + printf("%s;%zu;%zu\n", "GtkTextCellAccessible", sizeof(GtkTextCellAccessible), alignof(GtkTextCellAccessible)); + printf("%s;%zu;%zu\n", "GtkTextCellAccessibleClass", sizeof(GtkTextCellAccessibleClass), alignof(GtkTextCellAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkTextChildAnchor", sizeof(GtkTextChildAnchor), alignof(GtkTextChildAnchor)); + printf("%s;%zu;%zu\n", "GtkTextChildAnchorClass", sizeof(GtkTextChildAnchorClass), alignof(GtkTextChildAnchorClass)); + printf("%s;%zu;%zu\n", "GtkTextDirection", sizeof(GtkTextDirection), alignof(GtkTextDirection)); + printf("%s;%zu;%zu\n", "GtkTextExtendSelection", sizeof(GtkTextExtendSelection), alignof(GtkTextExtendSelection)); + printf("%s;%zu;%zu\n", "GtkTextIter", sizeof(GtkTextIter), alignof(GtkTextIter)); + printf("%s;%zu;%zu\n", "GtkTextMark", sizeof(GtkTextMark), alignof(GtkTextMark)); + printf("%s;%zu;%zu\n", "GtkTextMarkClass", sizeof(GtkTextMarkClass), alignof(GtkTextMarkClass)); + printf("%s;%zu;%zu\n", "GtkTextSearchFlags", sizeof(GtkTextSearchFlags), alignof(GtkTextSearchFlags)); + printf("%s;%zu;%zu\n", "GtkTextTag", sizeof(GtkTextTag), alignof(GtkTextTag)); + printf("%s;%zu;%zu\n", "GtkTextTagClass", sizeof(GtkTextTagClass), alignof(GtkTextTagClass)); + printf("%s;%zu;%zu\n", "GtkTextTagTable", sizeof(GtkTextTagTable), alignof(GtkTextTagTable)); + printf("%s;%zu;%zu\n", "GtkTextTagTableClass", sizeof(GtkTextTagTableClass), alignof(GtkTextTagTableClass)); + printf("%s;%zu;%zu\n", "GtkTextView", sizeof(GtkTextView), alignof(GtkTextView)); + printf("%s;%zu;%zu\n", "GtkTextViewAccessible", sizeof(GtkTextViewAccessible), alignof(GtkTextViewAccessible)); + printf("%s;%zu;%zu\n", "GtkTextViewAccessibleClass", sizeof(GtkTextViewAccessibleClass), alignof(GtkTextViewAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkTextViewClass", sizeof(GtkTextViewClass), alignof(GtkTextViewClass)); + printf("%s;%zu;%zu\n", "GtkTextViewLayer", sizeof(GtkTextViewLayer), alignof(GtkTextViewLayer)); + printf("%s;%zu;%zu\n", "GtkTextWindowType", sizeof(GtkTextWindowType), alignof(GtkTextWindowType)); + printf("%s;%zu;%zu\n", "GtkThemingEngine", sizeof(GtkThemingEngine), alignof(GtkThemingEngine)); + printf("%s;%zu;%zu\n", "GtkThemingEngineClass", sizeof(GtkThemingEngineClass), alignof(GtkThemingEngineClass)); + printf("%s;%zu;%zu\n", "GtkToggleAction", sizeof(GtkToggleAction), alignof(GtkToggleAction)); + printf("%s;%zu;%zu\n", "GtkToggleActionClass", sizeof(GtkToggleActionClass), alignof(GtkToggleActionClass)); + printf("%s;%zu;%zu\n", "GtkToggleActionEntry", sizeof(GtkToggleActionEntry), alignof(GtkToggleActionEntry)); + printf("%s;%zu;%zu\n", "GtkToggleButton", sizeof(GtkToggleButton), alignof(GtkToggleButton)); + printf("%s;%zu;%zu\n", "GtkToggleButtonAccessible", sizeof(GtkToggleButtonAccessible), alignof(GtkToggleButtonAccessible)); + printf("%s;%zu;%zu\n", "GtkToggleButtonAccessibleClass", sizeof(GtkToggleButtonAccessibleClass), alignof(GtkToggleButtonAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkToggleButtonClass", sizeof(GtkToggleButtonClass), alignof(GtkToggleButtonClass)); + printf("%s;%zu;%zu\n", "GtkToggleToolButton", sizeof(GtkToggleToolButton), alignof(GtkToggleToolButton)); + printf("%s;%zu;%zu\n", "GtkToggleToolButtonClass", sizeof(GtkToggleToolButtonClass), alignof(GtkToggleToolButtonClass)); + printf("%s;%zu;%zu\n", "GtkToolButton", sizeof(GtkToolButton), alignof(GtkToolButton)); + printf("%s;%zu;%zu\n", "GtkToolButtonClass", sizeof(GtkToolButtonClass), alignof(GtkToolButtonClass)); + printf("%s;%zu;%zu\n", "GtkToolItem", sizeof(GtkToolItem), alignof(GtkToolItem)); + printf("%s;%zu;%zu\n", "GtkToolItemClass", sizeof(GtkToolItemClass), alignof(GtkToolItemClass)); + printf("%s;%zu;%zu\n", "GtkToolItemGroup", sizeof(GtkToolItemGroup), alignof(GtkToolItemGroup)); + printf("%s;%zu;%zu\n", "GtkToolItemGroupClass", sizeof(GtkToolItemGroupClass), alignof(GtkToolItemGroupClass)); + printf("%s;%zu;%zu\n", "GtkToolPalette", sizeof(GtkToolPalette), alignof(GtkToolPalette)); + printf("%s;%zu;%zu\n", "GtkToolPaletteClass", sizeof(GtkToolPaletteClass), alignof(GtkToolPaletteClass)); + printf("%s;%zu;%zu\n", "GtkToolPaletteDragTargets", sizeof(GtkToolPaletteDragTargets), alignof(GtkToolPaletteDragTargets)); + printf("%s;%zu;%zu\n", "GtkToolShellIface", sizeof(GtkToolShellIface), alignof(GtkToolShellIface)); + printf("%s;%zu;%zu\n", "GtkToolbar", sizeof(GtkToolbar), alignof(GtkToolbar)); + printf("%s;%zu;%zu\n", "GtkToolbarClass", sizeof(GtkToolbarClass), alignof(GtkToolbarClass)); + printf("%s;%zu;%zu\n", "GtkToolbarSpaceStyle", sizeof(GtkToolbarSpaceStyle), alignof(GtkToolbarSpaceStyle)); + printf("%s;%zu;%zu\n", "GtkToolbarStyle", sizeof(GtkToolbarStyle), alignof(GtkToolbarStyle)); + printf("%s;%zu;%zu\n", "GtkToplevelAccessible", sizeof(GtkToplevelAccessible), alignof(GtkToplevelAccessible)); + printf("%s;%zu;%zu\n", "GtkToplevelAccessibleClass", sizeof(GtkToplevelAccessibleClass), alignof(GtkToplevelAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkTreeDragDestIface", sizeof(GtkTreeDragDestIface), alignof(GtkTreeDragDestIface)); + printf("%s;%zu;%zu\n", "GtkTreeDragSourceIface", sizeof(GtkTreeDragSourceIface), alignof(GtkTreeDragSourceIface)); + printf("%s;%zu;%zu\n", "GtkTreeIter", sizeof(GtkTreeIter), alignof(GtkTreeIter)); + printf("%s;%zu;%zu\n", "GtkTreeModelFilter", sizeof(GtkTreeModelFilter), alignof(GtkTreeModelFilter)); + printf("%s;%zu;%zu\n", "GtkTreeModelFilterClass", sizeof(GtkTreeModelFilterClass), alignof(GtkTreeModelFilterClass)); + printf("%s;%zu;%zu\n", "GtkTreeModelFlags", sizeof(GtkTreeModelFlags), alignof(GtkTreeModelFlags)); + printf("%s;%zu;%zu\n", "GtkTreeModelIface", sizeof(GtkTreeModelIface), alignof(GtkTreeModelIface)); + printf("%s;%zu;%zu\n", "GtkTreeModelSort", sizeof(GtkTreeModelSort), alignof(GtkTreeModelSort)); + printf("%s;%zu;%zu\n", "GtkTreeModelSortClass", sizeof(GtkTreeModelSortClass), alignof(GtkTreeModelSortClass)); + printf("%s;%zu;%zu\n", "GtkTreeSelection", sizeof(GtkTreeSelection), alignof(GtkTreeSelection)); + printf("%s;%zu;%zu\n", "GtkTreeSelectionClass", sizeof(GtkTreeSelectionClass), alignof(GtkTreeSelectionClass)); + printf("%s;%zu;%zu\n", "GtkTreeSortableIface", sizeof(GtkTreeSortableIface), alignof(GtkTreeSortableIface)); + printf("%s;%zu;%zu\n", "GtkTreeStore", sizeof(GtkTreeStore), alignof(GtkTreeStore)); + printf("%s;%zu;%zu\n", "GtkTreeStoreClass", sizeof(GtkTreeStoreClass), alignof(GtkTreeStoreClass)); + printf("%s;%zu;%zu\n", "GtkTreeView", sizeof(GtkTreeView), alignof(GtkTreeView)); + printf("%s;%zu;%zu\n", "GtkTreeViewAccessible", sizeof(GtkTreeViewAccessible), alignof(GtkTreeViewAccessible)); + printf("%s;%zu;%zu\n", "GtkTreeViewAccessibleClass", sizeof(GtkTreeViewAccessibleClass), alignof(GtkTreeViewAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkTreeViewClass", sizeof(GtkTreeViewClass), alignof(GtkTreeViewClass)); + printf("%s;%zu;%zu\n", "GtkTreeViewColumn", sizeof(GtkTreeViewColumn), alignof(GtkTreeViewColumn)); + printf("%s;%zu;%zu\n", "GtkTreeViewColumnClass", sizeof(GtkTreeViewColumnClass), alignof(GtkTreeViewColumnClass)); + printf("%s;%zu;%zu\n", "GtkTreeViewColumnSizing", sizeof(GtkTreeViewColumnSizing), alignof(GtkTreeViewColumnSizing)); + printf("%s;%zu;%zu\n", "GtkTreeViewDropPosition", sizeof(GtkTreeViewDropPosition), alignof(GtkTreeViewDropPosition)); + printf("%s;%zu;%zu\n", "GtkTreeViewGridLines", sizeof(GtkTreeViewGridLines), alignof(GtkTreeViewGridLines)); + printf("%s;%zu;%zu\n", "GtkUIManager", sizeof(GtkUIManager), alignof(GtkUIManager)); + printf("%s;%zu;%zu\n", "GtkUIManagerClass", sizeof(GtkUIManagerClass), alignof(GtkUIManagerClass)); + printf("%s;%zu;%zu\n", "GtkUIManagerItemType", sizeof(GtkUIManagerItemType), alignof(GtkUIManagerItemType)); + printf("%s;%zu;%zu\n", "GtkUnit", sizeof(GtkUnit), alignof(GtkUnit)); + printf("%s;%zu;%zu\n", "GtkVBox", sizeof(GtkVBox), alignof(GtkVBox)); + printf("%s;%zu;%zu\n", "GtkVBoxClass", sizeof(GtkVBoxClass), alignof(GtkVBoxClass)); + printf("%s;%zu;%zu\n", "GtkVButtonBox", sizeof(GtkVButtonBox), alignof(GtkVButtonBox)); + printf("%s;%zu;%zu\n", "GtkVButtonBoxClass", sizeof(GtkVButtonBoxClass), alignof(GtkVButtonBoxClass)); + printf("%s;%zu;%zu\n", "GtkVPaned", sizeof(GtkVPaned), alignof(GtkVPaned)); + printf("%s;%zu;%zu\n", "GtkVPanedClass", sizeof(GtkVPanedClass), alignof(GtkVPanedClass)); + printf("%s;%zu;%zu\n", "GtkVScale", sizeof(GtkVScale), alignof(GtkVScale)); + printf("%s;%zu;%zu\n", "GtkVScaleClass", sizeof(GtkVScaleClass), alignof(GtkVScaleClass)); + printf("%s;%zu;%zu\n", "GtkVScrollbar", sizeof(GtkVScrollbar), alignof(GtkVScrollbar)); + printf("%s;%zu;%zu\n", "GtkVScrollbarClass", sizeof(GtkVScrollbarClass), alignof(GtkVScrollbarClass)); + printf("%s;%zu;%zu\n", "GtkVSeparator", sizeof(GtkVSeparator), alignof(GtkVSeparator)); + printf("%s;%zu;%zu\n", "GtkVSeparatorClass", sizeof(GtkVSeparatorClass), alignof(GtkVSeparatorClass)); + printf("%s;%zu;%zu\n", "GtkViewport", sizeof(GtkViewport), alignof(GtkViewport)); + printf("%s;%zu;%zu\n", "GtkViewportClass", sizeof(GtkViewportClass), alignof(GtkViewportClass)); + printf("%s;%zu;%zu\n", "GtkVolumeButton", sizeof(GtkVolumeButton), alignof(GtkVolumeButton)); + printf("%s;%zu;%zu\n", "GtkVolumeButtonClass", sizeof(GtkVolumeButtonClass), alignof(GtkVolumeButtonClass)); + printf("%s;%zu;%zu\n", "GtkWidget", sizeof(GtkWidget), alignof(GtkWidget)); + printf("%s;%zu;%zu\n", "GtkWidgetAccessible", sizeof(GtkWidgetAccessible), alignof(GtkWidgetAccessible)); + printf("%s;%zu;%zu\n", "GtkWidgetAccessibleClass", sizeof(GtkWidgetAccessibleClass), alignof(GtkWidgetAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkWidgetClass", sizeof(GtkWidgetClass), alignof(GtkWidgetClass)); + printf("%s;%zu;%zu\n", "GtkWidgetHelpType", sizeof(GtkWidgetHelpType), alignof(GtkWidgetHelpType)); + printf("%s;%zu;%zu\n", "GtkWindow", sizeof(GtkWindow), alignof(GtkWindow)); + printf("%s;%zu;%zu\n", "GtkWindowAccessible", sizeof(GtkWindowAccessible), alignof(GtkWindowAccessible)); + printf("%s;%zu;%zu\n", "GtkWindowAccessibleClass", sizeof(GtkWindowAccessibleClass), alignof(GtkWindowAccessibleClass)); + printf("%s;%zu;%zu\n", "GtkWindowClass", sizeof(GtkWindowClass), alignof(GtkWindowClass)); + printf("%s;%zu;%zu\n", "GtkWindowGroup", sizeof(GtkWindowGroup), alignof(GtkWindowGroup)); + printf("%s;%zu;%zu\n", "GtkWindowGroupClass", sizeof(GtkWindowGroupClass), alignof(GtkWindowGroupClass)); + printf("%s;%zu;%zu\n", "GtkWindowPosition", sizeof(GtkWindowPosition), alignof(GtkWindowPosition)); + printf("%s;%zu;%zu\n", "GtkWindowType", sizeof(GtkWindowType), alignof(GtkWindowType)); + printf("%s;%zu;%zu\n", "GtkWrapMode", sizeof(GtkWrapMode), alignof(GtkWrapMode)); return 0; } diff --git a/gtk/sys/versions.txt b/gtk/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/gtk/sys/versions.txt +++ b/gtk/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/pango/src/auto/attribute.rs b/pango/src/auto/attribute.rs index 11bfacf4d6bc..c9f09b1c9a47 100644 --- a/pango/src/auto/attribute.rs +++ b/pango/src/auto/attribute.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct Attribute(Boxed); match fn { - copy => |ptr| ffi::pango_attribute_copy(mut_override(ptr)), + copy => |ptr| ffi::pango_attribute_copy(ptr), free => |ptr| ffi::pango_attribute_destroy(ptr), get_type => || ffi::pango_attribute_get_type(), } @@ -24,7 +24,7 @@ glib::wrapper! { pub struct Attribute(Boxed); match fn { - copy => |ptr| ffi::pango_attribute_copy(mut_override(ptr)), + copy => |ptr| ffi::pango_attribute_copy(ptr), free => |ptr| ffi::pango_attribute_destroy(ptr), } } diff --git a/pango/src/auto/color.rs b/pango/src/auto/color.rs index 39b05cd447a8..853fe8630b98 100644 --- a/pango/src/auto/color.rs +++ b/pango/src/auto/color.rs @@ -13,7 +13,7 @@ glib::wrapper! { pub struct Color(Boxed); match fn { - copy => |ptr| ffi::pango_color_copy(mut_override(ptr)), + copy => |ptr| ffi::pango_color_copy(ptr), free => |ptr| ffi::pango_color_free(ptr), get_type => || ffi::pango_color_get_type(), } diff --git a/pango/src/auto/engine_lang.rs b/pango/src/auto/engine_lang.rs index 527add1be880..1cd072721556 100644 --- a/pango/src/auto/engine_lang.rs +++ b/pango/src/auto/engine_lang.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/pango/src/auto/engine_shape.rs b/pango/src/auto/engine_shape.rs index 5d31caef0d53..b6c9d2abb09a 100644 --- a/pango/src/auto/engine_shape.rs +++ b/pango/src/auto/engine_shape.rs @@ -2,7 +2,6 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use glib::translate::*; use std::fmt; glib::wrapper! { diff --git a/pango/src/auto/font_description.rs b/pango/src/auto/font_description.rs index c5f7588e837b..1afd541b7214 100644 --- a/pango/src/auto/font_description.rs +++ b/pango/src/auto/font_description.rs @@ -17,7 +17,7 @@ glib::wrapper! { pub struct FontDescription(Boxed); match fn { - copy => |ptr| ffi::pango_font_description_copy(mut_override(ptr)), + copy => |ptr| ffi::pango_font_description_copy(ptr), free => |ptr| ffi::pango_font_description_free(ptr), get_type => || ffi::pango_font_description_get_type(), } diff --git a/pango/src/auto/matrix.rs b/pango/src/auto/matrix.rs index 3e98d1c04faa..ed5cd8d3dc9f 100644 --- a/pango/src/auto/matrix.rs +++ b/pango/src/auto/matrix.rs @@ -12,7 +12,7 @@ glib::wrapper! { pub struct Matrix(Boxed); match fn { - copy => |ptr| ffi::pango_matrix_copy(mut_override(ptr)), + copy => |ptr| ffi::pango_matrix_copy(ptr), free => |ptr| ffi::pango_matrix_free(ptr), get_type => || ffi::pango_matrix_get_type(), } diff --git a/pango/src/auto/versions.txt b/pango/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/pango/src/auto/versions.txt +++ b/pango/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/pango/sys/tests/abi.rs b/pango/sys/tests/abi.rs index e18a9e75e43d..f42e2669ec8e 100644 --- a/pango/sys/tests/abi.rs +++ b/pango/sys/tests/abi.rs @@ -5,6 +5,7 @@ use pango_sys::*; use std::env; use std::error::Error; +use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; use std::process::Command; @@ -22,6 +23,8 @@ impl Compiler { pub fn new() -> Result> { let mut args = get_var("CC", "cc")?; args.push("-Wno-deprecated-declarations".to_owned()); + // For _Generic + args.push("-std=c11".to_owned()); // For %z support in printf when using MinGW. args.push("-D__USE_MINGW_ANSI_STDIO".to_owned()); args.extend(get_var("CFLAGS", "")?); @@ -30,14 +33,6 @@ impl Compiler { Ok(Compiler { args }) } - pub fn define<'a, V: Into>>(&mut self, var: &str, val: V) { - let arg = match val.into() { - None => format!("-D{}", var), - Some(val) => format!("-D{}={}", var, val), - }; - self.args.push(arg); - } - pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box> { let mut cmd = self.to_command(); cmd.arg(src); @@ -69,7 +64,8 @@ fn pkg_config_cflags(packages: &[&str]) -> Result, Box> { if packages.is_empty() { return Ok(Vec::new()); } - let mut cmd = Command::new("pkg-config"); + let pkg_config = env::var_os("PKG_CONFIG").unwrap_or_else(|| OsString::from("pkg-config")); + let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); let out = cmd.output()?; @@ -92,8 +88,6 @@ struct Results { passed: usize, /// Total number of failed tests (including those that failed to compile). failed: usize, - /// Number of tests that failed to compile. - failed_to_compile: usize, } impl Results { @@ -103,15 +97,8 @@ impl Results { fn record_failed(&mut self) { self.failed += 1; } - fn record_failed_to_compile(&mut self) { - self.failed += 1; - self.failed_to_compile += 1; - } fn summary(&self) -> String { - format!( - "{} passed; {} failed (compilation errors: {})", - self.passed, self.failed, self.failed_to_compile - ) + format!("{} passed; {} failed", self.passed, self.failed) } fn expect_total_success(&self) { if self.failed == 0 { @@ -124,111 +111,94 @@ impl Results { #[test] fn cross_validate_constants_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_constants: Vec<(String, String)> = Vec::new(); - assert_eq!( - "1", - get_c_value(tmpdir.path(), &cc, "1").expect("C constant"), - "failed to obtain correct constant value for 1" - ); + for l in get_c_output("constant").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let value = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse value"); + c_constants.push((name, value)); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() { - match get_c_value(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(ref c_value) => { - if rust_value == c_value { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_value, c_value - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("constants ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_value), (c_name, c_value)) in + RUST_CONSTANTS.iter().zip(c_constants.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; + } + + if rust_value != c_value { + results.record_failed(); + eprintln!( + "Constant value mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_value, &c_value + ); + continue; } + + results.record_passed(); } + results.expect_total_success(); } #[test] fn cross_validate_layout_with_c() { - let tmpdir = Builder::new() - .prefix("abi") - .tempdir() - .expect("temporary directory"); - let cc = Compiler::new().expect("configured compiler"); + let mut c_layouts = Vec::new(); - assert_eq!( - Layout { - size: 1, - alignment: 1 - }, - get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"), - "failed to obtain correct layout for char type" - ); + for l in get_c_output("layout").unwrap().lines() { + let mut words = l.trim().split(";"); + let name = words.next().expect("Failed to parse name").to_owned(); + let size = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse size"); + let alignment = words + .next() + .and_then(|s| s.parse().ok()) + .expect("Failed to parse alignment"); + c_layouts.push((name, Layout { size, alignment })); + } - let mut results: Results = Default::default(); - for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() { - match get_c_layout(tmpdir.path(), &cc, name) { - Err(e) => { - results.record_failed_to_compile(); - eprintln!("{}", e); - } - Ok(c_layout) => { - if rust_layout == c_layout { - results.record_passed(); - } else { - results.record_failed(); - eprintln!( - "Layout mismatch for {}\nRust: {:?}\nC: {:?}", - name, rust_layout, &c_layout - ); - } - } - }; - if (i + 1) % 25 == 0 { - println!("layout ... {}", results.summary()); + let mut results = Results::default(); + + for ((rust_name, rust_layout), (c_name, c_layout)) in RUST_LAYOUTS.iter().zip(c_layouts.iter()) + { + if rust_name != c_name { + results.record_failed(); + eprintln!("Name mismatch:\nRust: {:?}\nC: {:?}", rust_name, c_name,); + continue; } - } - results.expect_total_success(); -} -fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("layout"); - let mut cc = cc.clone(); - cc.define("ABI_TYPE_NAME", name); - cc.compile(Path::new("tests/layout.c"), &exe)?; + if rust_layout != c_layout { + results.record_failed(); + eprintln!( + "Layout mismatch for {}\nRust: {:?}\nC: {:?}", + rust_name, rust_layout, &c_layout + ); + continue; + } - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into()); + results.record_passed(); } - let stdout = str::from_utf8(&output.stdout)?; - let mut words = stdout.trim().split_whitespace(); - let size = words.next().unwrap().parse().unwrap(); - let alignment = words.next().unwrap().parse().unwrap(); - Ok(Layout { size, alignment }) + results.expect_total_success(); } -fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result> { - let exe = dir.join("constant"); - let mut cc = cc.clone(); - cc.define("ABI_CONSTANT_NAME", name); - cc.compile(Path::new("tests/constant.c"), &exe)?; +fn get_c_output(name: &str) -> Result> { + let tmpdir = Builder::new().prefix("abi").tempdir()?; + let exe = tmpdir.path().join(name); + let c_file = Path::new("tests").join(name).with_extension("c"); + + let cc = Compiler::new().expect("configured compiler"); + cc.compile(&c_file, &exe)?; let mut abi_cmd = Command::new(exe); let output = abi_cmd.output()?; @@ -236,16 +206,7 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result +#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", \ + double: "%f", \ + long double: "%ld"), \ + CONSTANT_NAME); \ + printf("\n"); + int main() { - printf(_Generic((ABI_CONSTANT_NAME), - char *: "###gir test###%s###gir test###\n", - const char *: "###gir test###%s###gir test###\n", - char: "###gir test###%c###gir test###\n", - signed char: "###gir test###%hhd###gir test###\n", - unsigned char: "###gir test###%hhu###gir test###\n", - short int: "###gir test###%hd###gir test###\n", - unsigned short int: "###gir test###%hu###gir test###\n", - int: "###gir test###%d###gir test###\n", - unsigned int: "###gir test###%u###gir test###\n", - long: "###gir test###%ld###gir test###\n", - unsigned long: "###gir test###%lu###gir test###\n", - long long: "###gir test###%lld###gir test###\n", - unsigned long long: "###gir test###%llu###gir test###\n", - double: "###gir test###%f###gir test###\n", - long double: "###gir test###%ld###gir test###\n"), - ABI_CONSTANT_NAME); + PRINT_CONSTANT((gint) PANGO_ALIGN_CENTER); + PRINT_CONSTANT((gint) PANGO_ALIGN_LEFT); + PRINT_CONSTANT((gint) PANGO_ALIGN_RIGHT); + PRINT_CONSTANT(PANGO_ANALYSIS_FLAG_CENTERED_BASELINE); + PRINT_CONSTANT(PANGO_ANALYSIS_FLAG_IS_ELLIPSIS); + PRINT_CONSTANT(PANGO_ANALYSIS_FLAG_NEED_HYPHEN); + PRINT_CONSTANT((gint) PANGO_ATTR_ABSOLUTE_SIZE); + PRINT_CONSTANT((gint) PANGO_ATTR_ALLOW_BREAKS); + PRINT_CONSTANT((gint) PANGO_ATTR_BACKGROUND); + PRINT_CONSTANT((gint) PANGO_ATTR_BACKGROUND_ALPHA); + PRINT_CONSTANT((gint) PANGO_ATTR_FALLBACK); + PRINT_CONSTANT((gint) PANGO_ATTR_FAMILY); + PRINT_CONSTANT((gint) PANGO_ATTR_FONT_DESC); + PRINT_CONSTANT((gint) PANGO_ATTR_FONT_FEATURES); + PRINT_CONSTANT((gint) PANGO_ATTR_FOREGROUND); + PRINT_CONSTANT((gint) PANGO_ATTR_FOREGROUND_ALPHA); + PRINT_CONSTANT((gint) PANGO_ATTR_GRAVITY); + PRINT_CONSTANT((gint) PANGO_ATTR_GRAVITY_HINT); + PRINT_CONSTANT(PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING); + PRINT_CONSTANT((gint) PANGO_ATTR_INSERT_HYPHENS); + PRINT_CONSTANT((gint) PANGO_ATTR_INVALID); + PRINT_CONSTANT((gint) PANGO_ATTR_LANGUAGE); + PRINT_CONSTANT((gint) PANGO_ATTR_LETTER_SPACING); + PRINT_CONSTANT((gint) PANGO_ATTR_OVERLINE); + PRINT_CONSTANT((gint) PANGO_ATTR_OVERLINE_COLOR); + PRINT_CONSTANT((gint) PANGO_ATTR_RISE); + PRINT_CONSTANT((gint) PANGO_ATTR_SCALE); + PRINT_CONSTANT((gint) PANGO_ATTR_SHAPE); + PRINT_CONSTANT((gint) PANGO_ATTR_SHOW); + PRINT_CONSTANT((gint) PANGO_ATTR_SIZE); + PRINT_CONSTANT((gint) PANGO_ATTR_STRETCH); + PRINT_CONSTANT((gint) PANGO_ATTR_STRIKETHROUGH); + PRINT_CONSTANT((gint) PANGO_ATTR_STRIKETHROUGH_COLOR); + PRINT_CONSTANT((gint) PANGO_ATTR_STYLE); + PRINT_CONSTANT((gint) PANGO_ATTR_UNDERLINE); + PRINT_CONSTANT((gint) PANGO_ATTR_UNDERLINE_COLOR); + PRINT_CONSTANT((gint) PANGO_ATTR_VARIANT); + PRINT_CONSTANT((gint) PANGO_ATTR_WEIGHT); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_AL); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_AN); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_B); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_BN); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_CS); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_EN); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_ES); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_ET); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_L); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_LRE); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_LRO); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_NSM); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_ON); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_PDF); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_R); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_RLE); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_RLO); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_S); + PRINT_CONSTANT((gint) PANGO_BIDI_TYPE_WS); + PRINT_CONSTANT((gint) PANGO_COVERAGE_APPROXIMATE); + PRINT_CONSTANT((gint) PANGO_COVERAGE_EXACT); + PRINT_CONSTANT((gint) PANGO_COVERAGE_FALLBACK); + PRINT_CONSTANT((gint) PANGO_COVERAGE_NONE); + PRINT_CONSTANT((gint) PANGO_DIRECTION_LTR); + PRINT_CONSTANT((gint) PANGO_DIRECTION_NEUTRAL); + PRINT_CONSTANT((gint) PANGO_DIRECTION_RTL); + PRINT_CONSTANT((gint) PANGO_DIRECTION_TTB_LTR); + PRINT_CONSTANT((gint) PANGO_DIRECTION_TTB_RTL); + PRINT_CONSTANT((gint) PANGO_DIRECTION_WEAK_LTR); + PRINT_CONSTANT((gint) PANGO_DIRECTION_WEAK_RTL); + PRINT_CONSTANT((gint) PANGO_ELLIPSIZE_END); + PRINT_CONSTANT((gint) PANGO_ELLIPSIZE_MIDDLE); + PRINT_CONSTANT((gint) PANGO_ELLIPSIZE_NONE); + PRINT_CONSTANT((gint) PANGO_ELLIPSIZE_START); + PRINT_CONSTANT(PANGO_ENGINE_TYPE_LANG); + PRINT_CONSTANT(PANGO_ENGINE_TYPE_SHAPE); + PRINT_CONSTANT((guint) PANGO_FONT_MASK_FAMILY); + PRINT_CONSTANT((guint) PANGO_FONT_MASK_GRAVITY); + PRINT_CONSTANT((guint) PANGO_FONT_MASK_SIZE); + PRINT_CONSTANT((guint) PANGO_FONT_MASK_STRETCH); + PRINT_CONSTANT((guint) PANGO_FONT_MASK_STYLE); + PRINT_CONSTANT((guint) PANGO_FONT_MASK_VARIANT); + PRINT_CONSTANT((guint) PANGO_FONT_MASK_VARIATIONS); + PRINT_CONSTANT((guint) PANGO_FONT_MASK_WEIGHT); + PRINT_CONSTANT(PANGO_GLYPH_EMPTY); + PRINT_CONSTANT(PANGO_GLYPH_INVALID_INPUT); + PRINT_CONSTANT(PANGO_GLYPH_UNKNOWN_FLAG); + PRINT_CONSTANT((gint) PANGO_GRAVITY_AUTO); + PRINT_CONSTANT((gint) PANGO_GRAVITY_EAST); + PRINT_CONSTANT((gint) PANGO_GRAVITY_HINT_LINE); + PRINT_CONSTANT((gint) PANGO_GRAVITY_HINT_NATURAL); + PRINT_CONSTANT((gint) PANGO_GRAVITY_HINT_STRONG); + PRINT_CONSTANT((gint) PANGO_GRAVITY_NORTH); + PRINT_CONSTANT((gint) PANGO_GRAVITY_SOUTH); + PRINT_CONSTANT((gint) PANGO_GRAVITY_WEST); + PRINT_CONSTANT((gint) PANGO_OVERLINE_NONE); + PRINT_CONSTANT((gint) PANGO_OVERLINE_SINGLE); + PRINT_CONSTANT((gint) PANGO_RENDER_PART_BACKGROUND); + PRINT_CONSTANT((gint) PANGO_RENDER_PART_FOREGROUND); + PRINT_CONSTANT((gint) PANGO_RENDER_PART_OVERLINE); + PRINT_CONSTANT((gint) PANGO_RENDER_PART_STRIKETHROUGH); + PRINT_CONSTANT((gint) PANGO_RENDER_PART_UNDERLINE); + PRINT_CONSTANT(PANGO_RENDER_TYPE_NONE); + PRINT_CONSTANT(PANGO_SCALE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_AHOM); + PRINT_CONSTANT((gint) PANGO_SCRIPT_ANATOLIAN_HIEROGLYPHS); + PRINT_CONSTANT((gint) PANGO_SCRIPT_ARABIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_ARMENIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_BALINESE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_BASSA_VAH); + PRINT_CONSTANT((gint) PANGO_SCRIPT_BATAK); + PRINT_CONSTANT((gint) PANGO_SCRIPT_BENGALI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_BOPOMOFO); + PRINT_CONSTANT((gint) PANGO_SCRIPT_BRAHMI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_BRAILLE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_BUGINESE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_BUHID); + PRINT_CONSTANT((gint) PANGO_SCRIPT_CANADIAN_ABORIGINAL); + PRINT_CONSTANT((gint) PANGO_SCRIPT_CARIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_CAUCASIAN_ALBANIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_CHAKMA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_CHAM); + PRINT_CONSTANT((gint) PANGO_SCRIPT_CHEROKEE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_COMMON); + PRINT_CONSTANT((gint) PANGO_SCRIPT_COPTIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_CUNEIFORM); + PRINT_CONSTANT((gint) PANGO_SCRIPT_CYPRIOT); + PRINT_CONSTANT((gint) PANGO_SCRIPT_CYRILLIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_DESERET); + PRINT_CONSTANT((gint) PANGO_SCRIPT_DEVANAGARI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_DUPLOYAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_ELBASAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_ETHIOPIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_GEORGIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_GLAGOLITIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_GOTHIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_GRANTHA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_GREEK); + PRINT_CONSTANT((gint) PANGO_SCRIPT_GUJARATI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_GURMUKHI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_HAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_HANGUL); + PRINT_CONSTANT((gint) PANGO_SCRIPT_HANUNOO); + PRINT_CONSTANT((gint) PANGO_SCRIPT_HATRAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_HEBREW); + PRINT_CONSTANT((gint) PANGO_SCRIPT_HIRAGANA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_INHERITED); + PRINT_CONSTANT((gint) PANGO_SCRIPT_INVALID_CODE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_KANNADA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_KATAKANA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_KAYAH_LI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_KHAROSHTHI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_KHMER); + PRINT_CONSTANT((gint) PANGO_SCRIPT_KHOJKI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_KHUDAWADI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_LAO); + PRINT_CONSTANT((gint) PANGO_SCRIPT_LATIN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_LEPCHA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_LIMBU); + PRINT_CONSTANT((gint) PANGO_SCRIPT_LINEAR_A); + PRINT_CONSTANT((gint) PANGO_SCRIPT_LINEAR_B); + PRINT_CONSTANT((gint) PANGO_SCRIPT_LYCIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_LYDIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MAHAJANI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MALAYALAM); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MANDAIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MANICHAEAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MENDE_KIKAKUI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MEROITIC_CURSIVE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MEROITIC_HIEROGLYPHS); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MIAO); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MODI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MONGOLIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MRO); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MULTANI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_MYANMAR); + PRINT_CONSTANT((gint) PANGO_SCRIPT_NABATAEAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_NEW_TAI_LUE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_NKO); + PRINT_CONSTANT((gint) PANGO_SCRIPT_OGHAM); + PRINT_CONSTANT((gint) PANGO_SCRIPT_OLD_HUNGARIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_OLD_ITALIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_OLD_NORTH_ARABIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_OLD_PERMIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_OLD_PERSIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_OL_CHIKI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_ORIYA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_OSMANYA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_PAHAWH_HMONG); + PRINT_CONSTANT((gint) PANGO_SCRIPT_PALMYRENE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_PAU_CIN_HAU); + PRINT_CONSTANT((gint) PANGO_SCRIPT_PHAGS_PA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_PHOENICIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_PSALTER_PAHLAVI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_REJANG); + PRINT_CONSTANT((gint) PANGO_SCRIPT_RUNIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SAURASHTRA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SHARADA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SHAVIAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SIDDHAM); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SIGNWRITING); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SINHALA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SORA_SOMPENG); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SUNDANESE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SYLOTI_NAGRI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_SYRIAC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_TAGALOG); + PRINT_CONSTANT((gint) PANGO_SCRIPT_TAGBANWA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_TAI_LE); + PRINT_CONSTANT((gint) PANGO_SCRIPT_TAKRI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_TAMIL); + PRINT_CONSTANT((gint) PANGO_SCRIPT_TELUGU); + PRINT_CONSTANT((gint) PANGO_SCRIPT_THAANA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_THAI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_TIBETAN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_TIFINAGH); + PRINT_CONSTANT((gint) PANGO_SCRIPT_TIRHUTA); + PRINT_CONSTANT((gint) PANGO_SCRIPT_UGARITIC); + PRINT_CONSTANT((gint) PANGO_SCRIPT_UNKNOWN); + PRINT_CONSTANT((gint) PANGO_SCRIPT_VAI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_WARANG_CITI); + PRINT_CONSTANT((gint) PANGO_SCRIPT_YI); + PRINT_CONSTANT((guint) PANGO_SHAPE_NONE); + PRINT_CONSTANT((guint) PANGO_SHAPE_ROUND_POSITIONS); + PRINT_CONSTANT((guint) PANGO_SHOW_IGNORABLES); + PRINT_CONSTANT((guint) PANGO_SHOW_LINE_BREAKS); + PRINT_CONSTANT((guint) PANGO_SHOW_NONE); + PRINT_CONSTANT((guint) PANGO_SHOW_SPACES); + PRINT_CONSTANT((gint) PANGO_STRETCH_CONDENSED); + PRINT_CONSTANT((gint) PANGO_STRETCH_EXPANDED); + PRINT_CONSTANT((gint) PANGO_STRETCH_EXTRA_CONDENSED); + PRINT_CONSTANT((gint) PANGO_STRETCH_EXTRA_EXPANDED); + PRINT_CONSTANT((gint) PANGO_STRETCH_NORMAL); + PRINT_CONSTANT((gint) PANGO_STRETCH_SEMI_CONDENSED); + PRINT_CONSTANT((gint) PANGO_STRETCH_SEMI_EXPANDED); + PRINT_CONSTANT((gint) PANGO_STRETCH_ULTRA_CONDENSED); + PRINT_CONSTANT((gint) PANGO_STRETCH_ULTRA_EXPANDED); + PRINT_CONSTANT((gint) PANGO_STYLE_ITALIC); + PRINT_CONSTANT((gint) PANGO_STYLE_NORMAL); + PRINT_CONSTANT((gint) PANGO_STYLE_OBLIQUE); + PRINT_CONSTANT((gint) PANGO_TAB_LEFT); + PRINT_CONSTANT((gint) PANGO_UNDERLINE_DOUBLE); + PRINT_CONSTANT((gint) PANGO_UNDERLINE_DOUBLE_LINE); + PRINT_CONSTANT((gint) PANGO_UNDERLINE_ERROR); + PRINT_CONSTANT((gint) PANGO_UNDERLINE_ERROR_LINE); + PRINT_CONSTANT((gint) PANGO_UNDERLINE_LOW); + PRINT_CONSTANT((gint) PANGO_UNDERLINE_NONE); + PRINT_CONSTANT((gint) PANGO_UNDERLINE_SINGLE); + PRINT_CONSTANT((gint) PANGO_UNDERLINE_SINGLE_LINE); + PRINT_CONSTANT(PANGO_UNKNOWN_GLYPH_HEIGHT); + PRINT_CONSTANT(PANGO_UNKNOWN_GLYPH_WIDTH); + PRINT_CONSTANT((gint) PANGO_VARIANT_NORMAL); + PRINT_CONSTANT((gint) PANGO_VARIANT_SMALL_CAPS); + PRINT_CONSTANT(PANGO_VERSION_MIN_REQUIRED); + PRINT_CONSTANT((gint) PANGO_WEIGHT_BOLD); + PRINT_CONSTANT((gint) PANGO_WEIGHT_BOOK); + PRINT_CONSTANT((gint) PANGO_WEIGHT_HEAVY); + PRINT_CONSTANT((gint) PANGO_WEIGHT_LIGHT); + PRINT_CONSTANT((gint) PANGO_WEIGHT_MEDIUM); + PRINT_CONSTANT((gint) PANGO_WEIGHT_NORMAL); + PRINT_CONSTANT((gint) PANGO_WEIGHT_SEMIBOLD); + PRINT_CONSTANT((gint) PANGO_WEIGHT_SEMILIGHT); + PRINT_CONSTANT((gint) PANGO_WEIGHT_THIN); + PRINT_CONSTANT((gint) PANGO_WEIGHT_ULTRABOLD); + PRINT_CONSTANT((gint) PANGO_WEIGHT_ULTRAHEAVY); + PRINT_CONSTANT((gint) PANGO_WEIGHT_ULTRALIGHT); + PRINT_CONSTANT((gint) PANGO_WRAP_CHAR); + PRINT_CONSTANT((gint) PANGO_WRAP_WORD); + PRINT_CONSTANT((gint) PANGO_WRAP_WORD_CHAR); return 0; } diff --git a/pango/sys/tests/layout.c b/pango/sys/tests/layout.c index 45f2ef46113e..927bb15a16b3 100644 --- a/pango/sys/tests/layout.c +++ b/pango/sys/tests/layout.c @@ -7,6 +7,73 @@ #include int main() { - printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME)); + printf("%s;%zu;%zu\n", "PangoAlignment", sizeof(PangoAlignment), alignof(PangoAlignment)); + printf("%s;%zu;%zu\n", "PangoAnalysis", sizeof(PangoAnalysis), alignof(PangoAnalysis)); + printf("%s;%zu;%zu\n", "PangoAttrClass", sizeof(PangoAttrClass), alignof(PangoAttrClass)); + printf("%s;%zu;%zu\n", "PangoAttrColor", sizeof(PangoAttrColor), alignof(PangoAttrColor)); + printf("%s;%zu;%zu\n", "PangoAttrFloat", sizeof(PangoAttrFloat), alignof(PangoAttrFloat)); + printf("%s;%zu;%zu\n", "PangoAttrFontDesc", sizeof(PangoAttrFontDesc), alignof(PangoAttrFontDesc)); + printf("%s;%zu;%zu\n", "PangoAttrFontFeatures", sizeof(PangoAttrFontFeatures), alignof(PangoAttrFontFeatures)); + printf("%s;%zu;%zu\n", "PangoAttrInt", sizeof(PangoAttrInt), alignof(PangoAttrInt)); + printf("%s;%zu;%zu\n", "PangoAttrLanguage", sizeof(PangoAttrLanguage), alignof(PangoAttrLanguage)); + printf("%s;%zu;%zu\n", "PangoAttrShape", sizeof(PangoAttrShape), alignof(PangoAttrShape)); + printf("%s;%zu;%zu\n", "PangoAttrSize", sizeof(PangoAttrSize), alignof(PangoAttrSize)); + printf("%s;%zu;%zu\n", "PangoAttrString", sizeof(PangoAttrString), alignof(PangoAttrString)); + printf("%s;%zu;%zu\n", "PangoAttrType", sizeof(PangoAttrType), alignof(PangoAttrType)); + printf("%s;%zu;%zu\n", "PangoAttribute", sizeof(PangoAttribute), alignof(PangoAttribute)); + printf("%s;%zu;%zu\n", "PangoBidiType", sizeof(PangoBidiType), alignof(PangoBidiType)); + printf("%s;%zu;%zu\n", "PangoColor", sizeof(PangoColor), alignof(PangoColor)); + printf("%s;%zu;%zu\n", "PangoCoverageLevel", sizeof(PangoCoverageLevel), alignof(PangoCoverageLevel)); + printf("%s;%zu;%zu\n", "PangoDirection", sizeof(PangoDirection), alignof(PangoDirection)); + printf("%s;%zu;%zu\n", "PangoEllipsizeMode", sizeof(PangoEllipsizeMode), alignof(PangoEllipsizeMode)); + printf("%s;%zu;%zu\n", "PangoEngine", sizeof(PangoEngine), alignof(PangoEngine)); + printf("%s;%zu;%zu\n", "PangoEngineClass", sizeof(PangoEngineClass), alignof(PangoEngineClass)); + printf("%s;%zu;%zu\n", "PangoEngineInfo", sizeof(PangoEngineInfo), alignof(PangoEngineInfo)); + printf("%s;%zu;%zu\n", "PangoEngineLang", sizeof(PangoEngineLang), alignof(PangoEngineLang)); + printf("%s;%zu;%zu\n", "PangoEngineLangClass", sizeof(PangoEngineLangClass), alignof(PangoEngineLangClass)); + printf("%s;%zu;%zu\n", "PangoEngineScriptInfo", sizeof(PangoEngineScriptInfo), alignof(PangoEngineScriptInfo)); + printf("%s;%zu;%zu\n", "PangoEngineShape", sizeof(PangoEngineShape), alignof(PangoEngineShape)); + printf("%s;%zu;%zu\n", "PangoEngineShapeClass", sizeof(PangoEngineShapeClass), alignof(PangoEngineShapeClass)); + printf("%s;%zu;%zu\n", "PangoFont", sizeof(PangoFont), alignof(PangoFont)); + printf("%s;%zu;%zu\n", "PangoFontClass", sizeof(PangoFontClass), alignof(PangoFontClass)); + printf("%s;%zu;%zu\n", "PangoFontFace", sizeof(PangoFontFace), alignof(PangoFontFace)); + printf("%s;%zu;%zu\n", "PangoFontFaceClass", sizeof(PangoFontFaceClass), alignof(PangoFontFaceClass)); + printf("%s;%zu;%zu\n", "PangoFontFamily", sizeof(PangoFontFamily), alignof(PangoFontFamily)); + printf("%s;%zu;%zu\n", "PangoFontFamilyClass", sizeof(PangoFontFamilyClass), alignof(PangoFontFamilyClass)); + printf("%s;%zu;%zu\n", "PangoFontMap", sizeof(PangoFontMap), alignof(PangoFontMap)); + printf("%s;%zu;%zu\n", "PangoFontMapClass", sizeof(PangoFontMapClass), alignof(PangoFontMapClass)); + printf("%s;%zu;%zu\n", "PangoFontMask", sizeof(PangoFontMask), alignof(PangoFontMask)); + printf("%s;%zu;%zu\n", "PangoFontMetrics", sizeof(PangoFontMetrics), alignof(PangoFontMetrics)); + printf("%s;%zu;%zu\n", "PangoFontset", sizeof(PangoFontset), alignof(PangoFontset)); + printf("%s;%zu;%zu\n", "PangoFontsetClass", sizeof(PangoFontsetClass), alignof(PangoFontsetClass)); + printf("%s;%zu;%zu\n", "PangoGlyph", sizeof(PangoGlyph), alignof(PangoGlyph)); + printf("%s;%zu;%zu\n", "PangoGlyphGeometry", sizeof(PangoGlyphGeometry), alignof(PangoGlyphGeometry)); + printf("%s;%zu;%zu\n", "PangoGlyphInfo", sizeof(PangoGlyphInfo), alignof(PangoGlyphInfo)); + printf("%s;%zu;%zu\n", "PangoGlyphItem", sizeof(PangoGlyphItem), alignof(PangoGlyphItem)); + printf("%s;%zu;%zu\n", "PangoGlyphItemIter", sizeof(PangoGlyphItemIter), alignof(PangoGlyphItemIter)); + printf("%s;%zu;%zu\n", "PangoGlyphString", sizeof(PangoGlyphString), alignof(PangoGlyphString)); + printf("%s;%zu;%zu\n", "PangoGlyphUnit", sizeof(PangoGlyphUnit), alignof(PangoGlyphUnit)); + printf("%s;%zu;%zu\n", "PangoGlyphVisAttr", sizeof(PangoGlyphVisAttr), alignof(PangoGlyphVisAttr)); + printf("%s;%zu;%zu\n", "PangoGravity", sizeof(PangoGravity), alignof(PangoGravity)); + printf("%s;%zu;%zu\n", "PangoGravityHint", sizeof(PangoGravityHint), alignof(PangoGravityHint)); + printf("%s;%zu;%zu\n", "PangoIncludedModule", sizeof(PangoIncludedModule), alignof(PangoIncludedModule)); + printf("%s;%zu;%zu\n", "PangoItem", sizeof(PangoItem), alignof(PangoItem)); + printf("%s;%zu;%zu\n", "PangoLayoutRun", sizeof(PangoLayoutRun), alignof(PangoLayoutRun)); + printf("%s;%zu;%zu\n", "PangoMatrix", sizeof(PangoMatrix), alignof(PangoMatrix)); + printf("%s;%zu;%zu\n", "PangoOverline", sizeof(PangoOverline), alignof(PangoOverline)); + printf("%s;%zu;%zu\n", "PangoRectangle", sizeof(PangoRectangle), alignof(PangoRectangle)); + printf("%s;%zu;%zu\n", "PangoRenderPart", sizeof(PangoRenderPart), alignof(PangoRenderPart)); + printf("%s;%zu;%zu\n", "PangoRenderer", sizeof(PangoRenderer), alignof(PangoRenderer)); + printf("%s;%zu;%zu\n", "PangoRendererClass", sizeof(PangoRendererClass), alignof(PangoRendererClass)); + printf("%s;%zu;%zu\n", "PangoScript", sizeof(PangoScript), alignof(PangoScript)); + printf("%s;%zu;%zu\n", "PangoShapeFlags", sizeof(PangoShapeFlags), alignof(PangoShapeFlags)); + printf("%s;%zu;%zu\n", "PangoShowFlags", sizeof(PangoShowFlags), alignof(PangoShowFlags)); + printf("%s;%zu;%zu\n", "PangoStretch", sizeof(PangoStretch), alignof(PangoStretch)); + printf("%s;%zu;%zu\n", "PangoStyle", sizeof(PangoStyle), alignof(PangoStyle)); + printf("%s;%zu;%zu\n", "PangoTabAlign", sizeof(PangoTabAlign), alignof(PangoTabAlign)); + printf("%s;%zu;%zu\n", "PangoUnderline", sizeof(PangoUnderline), alignof(PangoUnderline)); + printf("%s;%zu;%zu\n", "PangoVariant", sizeof(PangoVariant), alignof(PangoVariant)); + printf("%s;%zu;%zu\n", "PangoWeight", sizeof(PangoWeight), alignof(PangoWeight)); + printf("%s;%zu;%zu\n", "PangoWrapMode", sizeof(PangoWrapMode), alignof(PangoWrapMode)); return 0; } diff --git a/pango/sys/versions.txt b/pango/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/pango/sys/versions.txt +++ b/pango/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/pangocairo/src/auto/versions.txt b/pangocairo/src/auto/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/pangocairo/src/auto/versions.txt +++ b/pangocairo/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670) diff --git a/pangocairo/sys/versions.txt b/pangocairo/sys/versions.txt index 38fb0afb866d..e356594b748e 100644 --- a/pangocairo/sys/versions.txt +++ b/pangocairo/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 21213ed) +Generated by gir (https://github.com/gtk-rs/gir @ 1c7b41a) from gir-files (https://github.com/gtk-rs/gir-files @ 21f7670)