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 <gscrivan@redhat.com>

Closes: #417
Approved by: cgwalters
This commit is contained in:
Giuseppe Scrivano 2016-07-29 16:03:11 +02:00 committed by Atomic Bot
parent 8867693240
commit 0bac88e132
2 changed files with 4 additions and 4 deletions

View File

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

View File

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