Update gir and regenerate

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:54 -04:00
1 parent 0b85551588
commit 493ba2e2f5
4 files changed
+5 -6

No files matched your search

+1 -2
View File
@@ -5,8 +5,7 @@ all: gir
# -- gir generation --
target/tools/bin/gir:
#cargo install --root target/tools --git https://github.com/gtk-rs/gir.git --rev fec179c697a03e4aa98c610f7b98fd1b0ceb9344 -- gir
cargo install --root target/tools --git https://github.com/fkrull/gir.git --branch fixup-gconstpointer -- gir
cargo install --root target/tools --git https://github.com/gtk-rs/gir.git --rev f511aaeee8a324dc8d23b7a854121739b9bfcd2e -- gir
gir: target/tools/bin/gir
target/tools/bin/gir -c conf/ostree-sys.toml
+2 -2
View File
@@ -35,7 +35,7 @@ impl Deployment {
pub fn equal(&self, bp: &Deployment) -> bool {
unsafe {
from_glib(ostree_sys::ostree_deployment_equal(ToGlibPtr::<*const ostree_sys::OstreeDeployment>::to_glib_none(self).0 as glib_sys::gconstpointer, ToGlibPtr::<*const ostree_sys::OstreeDeployment>::to_glib_none(bp).0 as glib_sys::gconstpointer))
from_glib(ostree_sys::ostree_deployment_equal(ToGlibPtr::<*mut ostree_sys::OstreeDeployment>::to_glib_none(self).0 as glib_sys::gconstpointer, ToGlibPtr::<*mut ostree_sys::OstreeDeployment>::to_glib_none(bp).0 as glib_sys::gconstpointer))
}
}
@@ -140,7 +140,7 @@ impl Deployment {
pub fn hash(&self) -> u32 {
unsafe {
ostree_sys::ostree_deployment_hash(ToGlibPtr::<*const ostree_sys::OstreeDeployment>::to_glib_none(self).0 as glib_sys::gconstpointer)
ostree_sys::ostree_deployment_hash(ToGlibPtr::<*mut ostree_sys::OstreeDeployment>::to_glib_none(self).0 as glib_sys::gconstpointer)
}
}
+1 -1
View File
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 1bff597)
Generated by gir (https://github.com/gtk-rs/gir @ f511aae)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
+1 -1
View File
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ fec179c)
Generated by gir (https://github.com/gtk-rs/gir @ f511aae)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)