Skip to content

Commit 419f13f

Browse files
glib: Ignore useless new constant
1 parent 976a70d commit 419f13f

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

glib/sys/Gir.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ girs_directories = ["../../gir-files"]
88

99
ignore = [
1010
"GLib.ANALYZER_ANALYZING",
11+
"GLib.C_STD_VERSION",
1112
"GLib.DIR_SEPARATOR",
1213
"GLib.DIR_SEPARATOR_S",
1314
"GLib.GINT16_FORMAT",

glib/sys/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,6 @@ pub const G_CSET_A_2_Z: *const c_char =
698698
pub const G_CSET_DIGITS: *const c_char = b"0123456789\0" as *const u8 as *const c_char;
699699
pub const G_CSET_a_2_z: *const c_char =
700700
b"abcdefghijklmnopqrstuvwxyz\0" as *const u8 as *const c_char;
701-
pub const G_C_STD_VERSION: c_int = 199000;
702701
pub const G_DATALIST_FLAGS_MASK: c_int = 3;
703702
pub const G_DATE_BAD_DAY: c_int = 0;
704703
pub const G_DATE_BAD_JULIAN: c_int = 0;

glib/sys/tests/abi.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,6 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
10061006
("G_CSET_A_2_Z", "ABCDEFGHIJKLMNOPQRSTUVWXYZ"),
10071007
("G_CSET_DIGITS", "0123456789"),
10081008
("G_CSET_a_2_z", "abcdefghijklmnopqrstuvwxyz"),
1009-
("G_C_STD_VERSION", "199000"),
10101009
("G_DATALIST_FLAGS_MASK", "3"),
10111010
("(gint) G_DATE_APRIL", "4"),
10121011
("(gint) G_DATE_AUGUST", "8"),

glib/sys/tests/constant.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ int main() {
7171
PRINT_CONSTANT(G_CSET_A_2_Z);
7272
PRINT_CONSTANT(G_CSET_DIGITS);
7373
PRINT_CONSTANT(G_CSET_a_2_z);
74-
PRINT_CONSTANT(G_C_STD_VERSION);
7574
PRINT_CONSTANT(G_DATALIST_FLAGS_MASK);
7675
PRINT_CONSTANT((gint) G_DATE_APRIL);
7776
PRINT_CONSTANT((gint) G_DATE_AUGUST);

0 commit comments

Comments
 (0)