Skip to content

Commit b750dff

Browse files
Regenerate with latest gir-files
1 parent 58b304b commit b750dff

File tree

20 files changed

+30
-19
lines changed

20 files changed

+30
-19
lines changed

gdk4-wayland/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gdk4-wayland/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gdk4-win32/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gdk4-win32/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gdk4-x11/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gdk4-x11/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gdk4/src/auto/enums.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,6 +1665,10 @@ pub enum MemoryFormat {
16651665
#[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))]
16661666
#[doc(alias = "GDK_MEMORY_A16")]
16671667
A16,
1668+
#[doc(alias = "GDK_MEMORY_A16_FLOAT")]
1669+
A16Float,
1670+
#[doc(alias = "GDK_MEMORY_A32_FLOAT")]
1671+
A32Float,
16681672
#[doc(hidden)]
16691673
__Unknown(i32),
16701674
}
@@ -1718,6 +1722,8 @@ impl fmt::Display for MemoryFormat {
17181722
Self::A8 => "A8",
17191723
#[cfg(feature = "v4_12")]
17201724
Self::A16 => "A16",
1725+
Self::A16Float => "A16Float",
1726+
Self::A32Float => "A32Float",
17211727
_ => "Unknown",
17221728
}
17231729
)
@@ -1777,6 +1783,8 @@ impl IntoGlib for MemoryFormat {
17771783
Self::A8 => ffi::GDK_MEMORY_A8,
17781784
#[cfg(feature = "v4_12")]
17791785
Self::A16 => ffi::GDK_MEMORY_A16,
1786+
Self::A16Float => ffi::GDK_MEMORY_A16_FLOAT,
1787+
Self::A32Float => ffi::GDK_MEMORY_A32_FLOAT,
17801788
Self::__Unknown(value) => value,
17811789
}
17821790
}
@@ -1835,6 +1843,8 @@ impl FromGlib<ffi::GdkMemoryFormat> for MemoryFormat {
18351843
ffi::GDK_MEMORY_A8 => Self::A8,
18361844
#[cfg(feature = "v4_12")]
18371845
ffi::GDK_MEMORY_A16 => Self::A16,
1846+
ffi::GDK_MEMORY_A16_FLOAT => Self::A16Float,
1847+
ffi::GDK_MEMORY_A32_FLOAT => Self::A32Float,
18381848
value => Self::__Unknown(value),
18391849
}
18401850
}

gdk4/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ c88b69265102)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gdk4/sys/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ pub const GDK_MEMORY_G16A16: GdkMemoryFormat = 22;
163163
pub const GDK_MEMORY_G16: GdkMemoryFormat = 23;
164164
pub const GDK_MEMORY_A8: GdkMemoryFormat = 24;
165165
pub const GDK_MEMORY_A16: GdkMemoryFormat = 25;
166-
pub const GDK_MEMORY_N_FORMATS: GdkMemoryFormat = 26;
166+
pub const GDK_MEMORY_A16_FLOAT: GdkMemoryFormat = 26;
167+
pub const GDK_MEMORY_A32_FLOAT: GdkMemoryFormat = 27;
168+
pub const GDK_MEMORY_N_FORMATS: GdkMemoryFormat = 28;
167169

168170
pub type GdkNotifyType = c_int;
169171
pub const GDK_NOTIFY_ANCESTOR: GdkNotifyType = 0;

gdk4/sys/tests/abi.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2865,6 +2865,8 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
28652865
("(gint) GDK_LEAVE_NOTIFY", "7"),
28662866
("(guint) GDK_LOCK_MASK", "2"),
28672867
("(gint) GDK_MEMORY_A16", "25"),
2868+
("(gint) GDK_MEMORY_A16_FLOAT", "26"),
2869+
("(gint) GDK_MEMORY_A32_FLOAT", "27"),
28682870
("(gint) GDK_MEMORY_A8", "24"),
28692871
("(gint) GDK_MEMORY_A8B8G8R8", "6"),
28702872
("(gint) GDK_MEMORY_A8R8G8B8", "4"),
@@ -2878,7 +2880,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
28782880
("(gint) GDK_MEMORY_G8", "20"),
28792881
("(gint) GDK_MEMORY_G8A8", "19"),
28802882
("(gint) GDK_MEMORY_G8A8_PREMULTIPLIED", "18"),
2881-
("(gint) GDK_MEMORY_N_FORMATS", "26"),
2883+
("(gint) GDK_MEMORY_N_FORMATS", "28"),
28822884
("(gint) GDK_MEMORY_R16G16B16", "9"),
28832885
("(gint) GDK_MEMORY_R16G16B16A16", "11"),
28842886
("(gint) GDK_MEMORY_R16G16B16A16_FLOAT", "14"),

0 commit comments

Comments
 (0)