Skip to content

Commit

Permalink
Regenerate with latest gir / gir-files
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Jul 8, 2024
1 parent f697f7c commit 1951c67
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 30 deletions.
4 changes: 2 additions & 2 deletions gdk-pixbuf/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions gdk-pixbuf/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions gio/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions gio/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions glib/gobject-sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
5 changes: 5 additions & 0 deletions glib/src/auto/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,11 @@ pub fn shell_unquote(
}
}

//#[doc(alias = "g_sort_array")]
//pub fn sort_array(array: /*Unimplemented*/&[&Basic: Pointer], element_size: usize, compare_func: /*Unimplemented*/FnMut(/*Unimplemented*/Option<Basic: Pointer>, /*Unimplemented*/Option<Basic: Pointer>) -> i32, user_data: /*Unimplemented*/Option<Basic: Pointer>) {
// unsafe { TODO: call ffi:g_sort_array() }
//}

#[doc(alias = "g_spaced_primes_closest")]
pub fn spaced_primes_closest(num: u32) -> u32 {
unsafe { ffi::g_spaced_primes_closest(num) }
Expand Down
4 changes: 2 additions & 2 deletions glib/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
23 changes: 19 additions & 4 deletions glib/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,12 @@ pub type GSequenceIterCompareFunc =
pub type GSourceDisposeFunc = Option<unsafe extern "C" fn(*mut GSource)>;
pub type GSourceDummyMarshal = Option<unsafe extern "C" fn()>;
pub type GSourceFunc = Option<unsafe extern "C" fn(gpointer) -> gboolean>;
pub type GSourceFuncsCheckFunc = Option<unsafe extern "C" fn(*mut GSource) -> gboolean>;
pub type GSourceFuncsDispatchFunc =
Option<unsafe extern "C" fn(*mut GSource, GSourceFunc, gpointer) -> gboolean>;
pub type GSourceFuncsFinalizeFunc = Option<unsafe extern "C" fn(*mut GSource)>;
pub type GSourceFuncsPrepareFunc =
Option<unsafe extern "C" fn(*mut GSource, *mut c_int) -> gboolean>;
pub type GSourceOnceFunc = Option<unsafe extern "C" fn(gpointer)>;
pub type GSpawnChildSetupFunc = Option<unsafe extern "C" fn(gpointer)>;
pub type GTestDataFunc = Option<unsafe extern "C" fn(gconstpointer)>;
Expand Down Expand Up @@ -2160,10 +2166,10 @@ impl ::std::fmt::Debug for GSourceCallbackFuncs {
#[derive(Copy, Clone)]
#[repr(C)]
pub struct GSourceFuncs {
pub prepare: Option<unsafe extern "C" fn(*mut GSource, *mut c_int) -> gboolean>,
pub check: Option<unsafe extern "C" fn(*mut GSource) -> gboolean>,
pub dispatch: Option<unsafe extern "C" fn(*mut GSource, GSourceFunc, gpointer) -> gboolean>,
pub finalize: Option<unsafe extern "C" fn(*mut GSource)>,
pub prepare: GSourceFuncsPrepareFunc,
pub check: GSourceFuncsCheckFunc,
pub dispatch: GSourceFuncsDispatchFunc,
pub finalize: GSourceFuncsFinalizeFunc,
pub closure_callback: GSourceFunc,
pub closure_marshal: GSourceDummyMarshal,
}
Expand Down Expand Up @@ -6962,6 +6968,15 @@ extern "C" {
) -> *mut i64;
pub fn g_slice_set_config(ckey: GSliceConfig, value: i64);
pub fn g_snprintf(string: *mut c_char, n: c_ulong, format: *const c_char, ...) -> c_int;
#[cfg(feature = "v2_82")]
#[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
pub fn g_sort_array(
array: *mut c_void,
n_elements: size_t,
element_size: size_t,
compare_func: GCompareDataFunc,
user_data: *mut c_void,
);
pub fn g_spaced_primes_closest(num: c_uint) -> c_uint;
pub fn g_spawn_async(
working_directory: *const c_char,
Expand Down
4 changes: 2 additions & 2 deletions glib/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions graphene/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions graphene/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions pango/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions pango/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions pangocairo/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)
4 changes: 2 additions & 2 deletions pangocairo/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 6dc3ae6d2820)
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 1de2064e7b83)

0 comments on commit 1951c67

Please sign in to comment.