rust: regenerate bindings after latest release (2022.6)

This commit is contained in:
Luca BRUNO committed 2022-10-26 09:26:54 +00:00
1 parent 9801689c74
commit f689ca098f
8 files changed
+14 -10

No files matched your search

-5
View File
@@ -428,11 +428,6 @@ impl Repo {
// unsafe { TODO: call ffi:ostree_repo_list_collection_refs() }
//}
//#[doc(alias = "ostree_repo_list_commit_objects_starting_with")]
//pub fn list_commit_objects_starting_with<P: IsA<gio::Cancellable>>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 203 }/TypeId { ns_id: 2, id: 203 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
// unsafe { TODO: call ffi:ostree_repo_list_commit_objects_starting_with() }
//}
//#[doc(alias = "ostree_repo_list_objects")]
//pub fn list_objects<P: IsA<gio::Cancellable>>(&self, flags: RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 203 }/TypeId { ns_id: 2, id: 203 }, cancellable: Option<&P>) -> Result<(), glib::Error> {
// unsafe { TODO: call ffi:ostree_repo_list_objects() }
-1
View File
@@ -3,7 +3,6 @@
// DO NOT EDIT
use std::cmp;
use glib::translate::*;
glib::wrapper! {
#[derive(Debug, Hash)]
+1 -1
View File
@@ -110,7 +110,7 @@ impl Sysroot {
}
#[doc(alias = "ostree_sysroot_deployment_set_kargs_in_place")]
pub fn deployment_set_kargs_in_place<P: IsA<gio::Cancellable>>(&self, deployment: &Deployment, kargs_str: &str, cancellable: Option<&P>) -> Result<(), glib::Error> {
pub fn deployment_set_kargs_in_place<P: IsA<gio::Cancellable>>(&self, deployment: &Deployment, kargs_str: Option<&str>, cancellable: Option<&P>) -> Result<(), glib::Error> {
unsafe {
let mut error = ptr::null_mut();
let _ = ffi::ostree_sysroot_deployment_set_kargs_in_place(self.to_glib_none().0, deployment.to_glib_none().0, kargs_str.to_glib_none().0, cancellable.map(|p| p.as_ref()).to_glib_none().0, &mut error);
+1 -1
View File
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ e8f82cf6)
from gir-files (@ 1d478ced)
from gir-files (@ a19cc348)