Skip to content

Commit d1813ff

Browse files
Regenerate with latest gir-files
1 parent 3fe1dbf commit d1813ff

File tree

16 files changed

+34
-34
lines changed

16 files changed

+34
-34
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 @ b2a1c6f9b362)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

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 @ b2a1c6f9b362)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

gio/src/auto/file_monitor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ pub trait FileMonitorExt: IsA<FileMonitor> + 'static {
3434
fn emit_event(
3535
&self,
3636
child: &impl IsA<File>,
37-
other_file: &impl IsA<File>,
37+
other_file: Option<&impl IsA<File>>,
3838
event_type: FileMonitorEvent,
3939
) {
4040
unsafe {
4141
ffi::g_file_monitor_emit_event(
4242
self.as_ref().to_glib_none().0,
4343
child.as_ref().to_glib_none().0,
44-
other_file.as_ref().to_glib_none().0,
44+
other_file.map(|p| p.as_ref()).to_glib_none().0,
4545
event_type.into_glib(),
4646
);
4747
}

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 @ b2a1c6f9b362)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

gio/src/auto/vfs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ unsafe impl Sync for Vfs {}
3838
pub trait VfsExt: IsA<Vfs> + 'static {
3939
#[doc(alias = "g_vfs_get_file_for_path")]
4040
#[doc(alias = "get_file_for_path")]
41-
fn file_for_path(&self, path: &str) -> File {
41+
fn file_for_path(&self, path: impl AsRef<std::path::Path>) -> File {
4242
unsafe {
4343
from_glib_full(ffi::g_vfs_get_file_for_path(
4444
self.as_ref().to_glib_none().0,
45-
path.to_glib_none().0,
45+
path.as_ref().to_glib_none().0,
4646
))
4747
}
4848
}

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 @ b2a1c6f9b362)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

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 @ b2a1c6f9b362)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

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 @ b2a1c6f9b362)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

glib/sys/src/lib.rs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6260,31 +6260,31 @@ extern "C" {
62606260
expr: *const c_char,
62616261
);
62626262
pub fn g_atexit(func: GVoidFunc);
6263-
pub fn g_atomic_int_add(atomic: *mut c_int, val: c_int) -> c_int;
6264-
pub fn g_atomic_int_and(atomic: *mut c_uint, val: c_uint) -> c_uint;
6263+
pub fn g_atomic_int_add(atomic: *mut gint, val: c_int) -> c_int;
6264+
pub fn g_atomic_int_and(atomic: *mut guint, val: c_uint) -> c_uint;
62656265
pub fn g_atomic_int_compare_and_exchange(
6266-
atomic: *mut c_int,
6266+
atomic: *mut gint,
62676267
oldval: c_int,
62686268
newval: c_int,
62696269
) -> gboolean;
62706270
#[cfg(feature = "v2_74")]
62716271
#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
62726272
pub fn g_atomic_int_compare_and_exchange_full(
6273-
atomic: *mut c_int,
6273+
atomic: *mut gint,
62746274
oldval: c_int,
62756275
newval: c_int,
62766276
preval: *mut c_int,
62776277
) -> gboolean;
6278-
pub fn g_atomic_int_dec_and_test(atomic: *mut c_int) -> gboolean;
6278+
pub fn g_atomic_int_dec_and_test(atomic: *mut gint) -> gboolean;
62796279
#[cfg(feature = "v2_74")]
62806280
#[cfg_attr(docsrs, doc(cfg(feature = "v2_74")))]
6281-
pub fn g_atomic_int_exchange(atomic: *mut c_int, newval: c_int) -> c_int;
6282-
pub fn g_atomic_int_exchange_and_add(atomic: *mut c_int, val: c_int) -> c_int;
6283-
pub fn g_atomic_int_get(atomic: *const c_int) -> c_int;
6284-
pub fn g_atomic_int_inc(atomic: *mut c_int);
6285-
pub fn g_atomic_int_or(atomic: *mut c_uint, val: c_uint) -> c_uint;
6286-
pub fn g_atomic_int_set(atomic: *mut c_int, newval: c_int);
6287-
pub fn g_atomic_int_xor(atomic: *mut c_uint, val: c_uint) -> c_uint;
6281+
pub fn g_atomic_int_exchange(atomic: *mut gint, newval: c_int) -> c_int;
6282+
pub fn g_atomic_int_exchange_and_add(atomic: *mut gint, val: c_int) -> c_int;
6283+
pub fn g_atomic_int_get(atomic: *const volatile) -> c_int;
6284+
pub fn g_atomic_int_inc(atomic: *mut gint);
6285+
pub fn g_atomic_int_or(atomic: *mut guint, val: c_uint) -> c_uint;
6286+
pub fn g_atomic_int_set(atomic: *mut gint, newval: c_int);
6287+
pub fn g_atomic_int_xor(atomic: *mut guint, val: c_uint) -> c_uint;
62886288
pub fn g_atomic_pointer_add(atomic: *mut c_void, val: ssize_t) -> intptr_t;
62896289
pub fn g_atomic_pointer_and(atomic: *mut c_void, val: size_t) -> uintptr_t;
62906290
pub fn g_atomic_pointer_compare_and_exchange(
@@ -6365,19 +6365,19 @@ extern "C" {
63656365
save: *mut c_int,
63666366
) -> size_t;
63676367
pub fn g_basename(file_name: *const c_char) -> *const c_char;
6368-
pub fn g_bit_lock(address: *mut c_int, lock_bit: c_int);
6368+
pub fn g_bit_lock(address: *mut gint, lock_bit: c_int);
63696369
#[cfg(feature = "v2_86")]
63706370
#[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
6371-
pub fn g_bit_lock_and_get(address: *mut c_int, lock_bit: c_uint, out_val: *mut c_int);
6371+
pub fn g_bit_lock_and_get(address: *mut gint, lock_bit: c_uint, out_val: *mut c_int);
63726372
pub fn g_bit_nth_lsf(mask: c_ulong, nth_bit: c_int) -> c_int;
63736373
pub fn g_bit_nth_msf(mask: c_ulong, nth_bit: c_int) -> c_int;
63746374
pub fn g_bit_storage(number: c_ulong) -> c_uint;
6375-
pub fn g_bit_trylock(address: *mut c_int, lock_bit: c_int) -> gboolean;
6376-
pub fn g_bit_unlock(address: *mut c_int, lock_bit: c_int);
6375+
pub fn g_bit_trylock(address: *mut gint, lock_bit: c_int) -> gboolean;
6376+
pub fn g_bit_unlock(address: *mut gint, lock_bit: c_int);
63776377
#[cfg(feature = "v2_86")]
63786378
#[cfg_attr(docsrs, doc(cfg(feature = "v2_86")))]
63796379
pub fn g_bit_unlock_and_set(
6380-
address: *mut c_int,
6380+
address: *mut gint,
63816381
lock_bit: c_uint,
63826382
new_val: c_int,
63836383
preserve_mask: c_int,

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 @ b2a1c6f9b362)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5262e0fefdc7)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

0 commit comments

Comments
 (0)