Update gir and regenerate
This commit is contained in:
parent
0b85551588
commit
493ba2e2f5
|
|
@ -5,8 +5,7 @@ all: gir
|
||||||
|
|
||||||
# -- gir generation --
|
# -- gir generation --
|
||||||
target/tools/bin/gir:
|
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/gtk-rs/gir.git --rev f511aaeee8a324dc8d23b7a854121739b9bfcd2e -- gir
|
||||||
cargo install --root target/tools --git https://github.com/fkrull/gir.git --branch fixup-gconstpointer -- gir
|
|
||||||
|
|
||||||
gir: target/tools/bin/gir
|
gir: target/tools/bin/gir
|
||||||
target/tools/bin/gir -c conf/ostree-sys.toml
|
target/tools/bin/gir -c conf/ostree-sys.toml
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ impl Deployment {
|
||||||
|
|
||||||
pub fn equal(&self, bp: &Deployment) -> bool {
|
pub fn equal(&self, bp: &Deployment) -> bool {
|
||||||
unsafe {
|
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 {
|
pub fn hash(&self) -> u32 {
|
||||||
unsafe {
|
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,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 @ ???)
|
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
|
|
||||||
|
|
@ -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 @ ???)
|
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue