Regenerate files

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:55 -04:00
1 parent 5ecc8a0e4f
commit 5bfc5d12d0
5 files changed
+24 -4

No files matched your search

@@ -46,6 +46,9 @@ impl Default for AsyncProgress {
pub const NONE_ASYNC_PROGRESS: Option<&AsyncProgress> = None;
pub trait AsyncProgressExt: 'static {
#[cfg(any(feature = "v2019_6", feature = "dox"))]
fn copy_state<P: IsA<AsyncProgress>>(&self, dest: &P);
fn finish(&self);
//#[cfg(any(feature = "v2017_6", feature = "dox"))]
@@ -78,6 +81,13 @@ pub trait AsyncProgressExt: 'static {
}
impl<O: IsA<AsyncProgress>> AsyncProgressExt for O {
#[cfg(any(feature = "v2019_6", feature = "dox"))]
fn copy_state<P: IsA<AsyncProgress>>(&self, dest: &P) {
unsafe {
ostree_sys::ostree_async_progress_copy_state(self.as_ref().to_glib_none().0, dest.as_ref().to_glib_none().0);
}
}
fn finish(&self) {
unsafe {
ostree_sys::ostree_async_progress_finish(self.as_ref().to_glib_none().0);
+2 -2
View File
@@ -60,7 +60,7 @@ pub trait MutableTreeExt: 'static {
fn get_metadata_checksum(&self) -> Option<GString>;
//fn get_subdirs(&self) -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 1, id: 39 };
//fn get_subdirs(&self) -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 1, id: 40 };
fn lookup(&self, name: &str) -> Result<(GString, MutableTree), Error>;
@@ -122,7 +122,7 @@ impl<O: IsA<MutableTree>> MutableTreeExt for O {
}
}
//fn get_subdirs(&self) -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 1, id: 39 } {
//fn get_subdirs(&self) -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 0, id: 28 }/TypeId { ns_id: 1, id: 40 } {
// unsafe { TODO: call ostree_sys:ostree_mutable_tree_get_subdirs() }
//}