From 0bac88e13209001b478fe771749441526095cb0a Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 29 Jul 2016 16:03:11 +0200 Subject: [PATCH] libostree: skip introspection for two functions These two functions are not safe for gobject introspection, so annotate them to be skipped: 1) ostree_repo_import_archive_to_mtree 2) ostree_repo_export_tree_to_archive Signed-off-by: Giuseppe Scrivano Closes: #417 Approved by: cgwalters --- src/libostree/ostree-repo-libarchive.c | 4 ++-- src/libostree/ostree-repo.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libostree/ostree-repo-libarchive.c b/src/libostree/ostree-repo-libarchive.c index cfecd6d9..d05b34ea 100644 --- a/src/libostree/ostree-repo-libarchive.c +++ b/src/libostree/ostree-repo-libarchive.c @@ -804,7 +804,7 @@ deferred_hardlinks_list_free (void *data) #endif /* HAVE_LIBARCHIVE */ /** - * ostree_repo_import_archive_to_mtree: + * ostree_repo_import_archive_to_mtree: (skip) * @self: An #OstreeRepo * @opts: Options structure, ensure this is zeroed, then set specific variables * @archive: Really this is "struct archive*" @@ -1171,7 +1171,7 @@ write_directory_to_libarchive_recurse (OstreeRepo *self, #endif /** - * ostree_repo_export_tree_to_archive: + * ostree_repo_export_tree_to_archive: (skip) * @self: An #OstreeRepo * @opts: Options controlling conversion * @root: An #OstreeRepoFile for the base directory diff --git a/src/libostree/ostree-repo.h b/src/libostree/ostree-repo.h index 04f467d2..0b99c9dd 100644 --- a/src/libostree/ostree-repo.h +++ b/src/libostree/ostree-repo.h @@ -606,7 +606,7 @@ gboolean ostree_repo_write_archive_to_mtree (OstreeRepo * GError **error); /** - * OstreeRepoImportArchiveOptions: + * OstreeRepoImportArchiveOptions: (skip) * * An extensible options structure controlling archive import. Ensure that * you have entirely zeroed the structure, then set just the desired @@ -633,7 +633,7 @@ gboolean ostree_repo_import_archive_to_mtree (OstreeRepo GError **error); /** - * OstreeRepoExportArchiveOptions: + * OstreeRepoExportArchiveOptions: (skip) * * An extensible options structure controlling archive creation. Ensure that * you have entirely zeroed the structure, then set just the desired