Update gir and regenerate

This commit is contained in:
Felix Krull 2019-05-24 21:55:05 +02:00 committed by Colin Walters
parent 0b85551588
commit 493ba2e2f5
4 changed files with 5 additions and 6 deletions

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

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)
}
}

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 @ ???)

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 @ ???)