Skip to content

Commit

Permalink
Merge pull request #1453 from sdroege/update-gir-files
Browse files Browse the repository at this point in the history
Update gir files
  • Loading branch information
sdroege committed Jul 8, 2024
2 parents b269ab2 + 95036c8 commit a9c1b6a
Show file tree
Hide file tree
Showing 19 changed files with 91 additions and 68 deletions.
72 changes: 36 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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)
2 changes: 1 addition & 1 deletion gir
Submodule gir updated 2 files
+8 −8 Cargo.lock
+1 −1 Cargo.toml
2 changes: 1 addition & 1 deletion gir-files
Submodule gir-files updated 9 files
+177 −63 GLib-2.0.gir
+30 −30 GObject-2.0.gir
+6 −4 Gdk-4.0.gir
+38 −35 Gio-2.0.gir
+2 −2 GioUnix-2.0.gir
+172 −39 Gsk-4.0.gir
+676 −103 Gtk-4.0.gir
+146 −87 HarfBuzz-0.0.gir
+1,024 −112 Vulkan-1.0.gir
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)
3 changes: 3 additions & 0 deletions glib/sys/Gir.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ status = "generate"
[[object.function]]
name = "assertion_message_cmpint"
version = "2.78"
[[object.function]]
name = "sort_array"
version = "2.82"

[[object]]
name = "GLib.LOG_DOMAIN"
Expand Down
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 a9c1b6a

Please sign in to comment.