Skip to content

Commit 552c79a

Browse files
committed
Regenerate with latest gir-files
1 parent 03134c0 commit 552c79a

File tree

16 files changed

+88
-13
lines changed

16 files changed

+88
-13
lines changed

gdk-pixbuf/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 @ 425f84d5af7f)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 318e14efee40)

gdk-pixbuf/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 @ 425f84d5af7f)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 318e14efee40)

gio/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 @ 425f84d5af7f)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 318e14efee40)

gio/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 @ 425f84d5af7f)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 318e14efee40)

glib/gobject-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 @ 425f84d5af7f)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 318e14efee40)

glib/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 @ 425f84d5af7f)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 318e14efee40)

glib/sys/src/lib.rs

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1792,6 +1792,18 @@ impl ::std::fmt::Debug for GOptionGroup {
17921792
}
17931793
}
17941794

1795+
#[derive(Copy, Clone)]
1796+
#[repr(C)]
1797+
pub struct GPathBuf {
1798+
pub dummy: [gpointer; 8],
1799+
}
1800+
1801+
impl ::std::fmt::Debug for GPathBuf {
1802+
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1803+
f.debug_struct(&format!("GPathBuf @ {self:p}")).finish()
1804+
}
1805+
}
1806+
17951807
#[repr(C)]
17961808
pub struct GPatternSpec {
17971809
_data: [u8; 0],
@@ -4068,6 +4080,55 @@ extern "C" {
40684080
pub fn g_option_group_set_translation_domain(group: *mut GOptionGroup, domain: *const c_char);
40694081
pub fn g_option_group_unref(group: *mut GOptionGroup);
40704082

4083+
//=========================================================================
4084+
// GPathBuf
4085+
//=========================================================================
4086+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4087+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4088+
pub fn g_path_buf_clear(buf: *mut GPathBuf);
4089+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4090+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4091+
pub fn g_path_buf_clear_to_path(buf: *mut GPathBuf) -> *mut c_char;
4092+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4093+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4094+
pub fn g_path_buf_copy(buf: *mut GPathBuf) -> *mut GPathBuf;
4095+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4096+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4097+
pub fn g_path_buf_free(buf: *mut GPathBuf);
4098+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4099+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4100+
pub fn g_path_buf_free_to_path(buf: *mut GPathBuf) -> *mut c_char;
4101+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4102+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4103+
pub fn g_path_buf_init(buf: *mut GPathBuf) -> *mut GPathBuf;
4104+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4105+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4106+
pub fn g_path_buf_init_from_path(buf: *mut GPathBuf, path: *const c_char) -> *mut GPathBuf;
4107+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4108+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4109+
pub fn g_path_buf_pop(buf: *mut GPathBuf) -> gboolean;
4110+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4111+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4112+
pub fn g_path_buf_push(buf: *mut GPathBuf, path: *const c_char) -> *mut GPathBuf;
4113+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4114+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4115+
pub fn g_path_buf_set_extension(buf: *mut GPathBuf, extension: *const c_char) -> gboolean;
4116+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4117+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4118+
pub fn g_path_buf_set_filename(buf: *mut GPathBuf, file_name: *const c_char) -> gboolean;
4119+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4120+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4121+
pub fn g_path_buf_to_path(buf: *mut GPathBuf) -> *mut c_char;
4122+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4123+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4124+
pub fn g_path_buf_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
4125+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4126+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4127+
pub fn g_path_buf_new() -> *mut GPathBuf;
4128+
#[cfg(any(feature = "v2_76", feature = "dox"))]
4129+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
4130+
pub fn g_path_buf_new_from_path(path: *const c_char) -> *mut GPathBuf;
4131+
40714132
//=========================================================================
40724133
// GPatternSpec
40734134
//=========================================================================
@@ -5601,6 +5662,9 @@ extern "C" {
56015662
#[cfg(any(feature = "v2_72", feature = "dox"))]
56025663
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_72")))]
56035664
pub fn g_aligned_free(mem: gpointer);
5665+
#[cfg(any(feature = "v2_76", feature = "dox"))]
5666+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
5667+
pub fn g_aligned_free_sized(mem: gpointer, alignment: size_t, size: size_t);
56045668
pub fn g_ascii_digit_value(c: c_char) -> c_int;
56055669
pub fn g_ascii_dtostr(buffer: *mut c_char, buf_len: c_int, d: c_double) -> *mut c_char;
56065670
pub fn g_ascii_formatd(
@@ -6051,6 +6115,9 @@ extern "C" {
60516115
pub fn g_format_size_full(size: u64, flags: GFormatSizeFlags) -> *mut c_char;
60526116
pub fn g_fprintf(file: *mut FILE, format: *const c_char, ...) -> c_int;
60536117
pub fn g_free(mem: gpointer);
6118+
#[cfg(any(feature = "v2_76", feature = "dox"))]
6119+
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_76")))]
6120+
pub fn g_free_sized(mem: gpointer, size: size_t);
60546121
pub fn g_get_application_name() -> *const c_char;
60556122
pub fn g_get_charset(charset: *mut *const c_char) -> gboolean;
60566123
pub fn g_get_codeset() -> *mut c_char;

glib/sys/tests/abi.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
561561
alignment: align_of::<GOptionFlags>(),
562562
},
563563
),
564+
(
565+
"GPathBuf",
566+
Layout {
567+
size: size_of::<GPathBuf>(),
568+
alignment: align_of::<GPathBuf>(),
569+
},
570+
),
564571
(
565572
"GPid",
566573
Layout {

glib/sys/tests/layout.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ int main() {
5959
printf("%s;%zu;%zu\n", "GOptionEntry", sizeof(GOptionEntry), alignof(GOptionEntry));
6060
printf("%s;%zu;%zu\n", "GOptionError", sizeof(GOptionError), alignof(GOptionError));
6161
printf("%s;%zu;%zu\n", "GOptionFlags", sizeof(GOptionFlags), alignof(GOptionFlags));
62+
printf("%s;%zu;%zu\n", "GPathBuf", sizeof(GPathBuf), alignof(GPathBuf));
6263
printf("%s;%zu;%zu\n", "GPid", sizeof(GPid), alignof(GPid));
6364
printf("%s;%zu;%zu\n", "GPollFD", sizeof(GPollFD), alignof(GPollFD));
6465
printf("%s;%zu;%zu\n", "GPrivate", sizeof(GPrivate), alignof(GPrivate));

glib/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 @ 425f84d5af7f)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 318e14efee40)

0 commit comments

Comments
 (0)