repo: Fix list_objects annotations
Without the element-type annotations, bindings don't know how to handle the elements of the hash table. Since the table is created with destroy functions, the caller does not own the elements, so transfer container is used. Closes: #635 Approved by: cgwalters
This commit is contained in:
parent
dd3cda401b
commit
300752e55a
|
|
@ -3548,7 +3548,8 @@ ostree_repo_load_commit (OstreeRepo *self,
|
|||
* ostree_repo_list_objects:
|
||||
* @self: Repo
|
||||
* @flags: Flags controlling enumeration
|
||||
* @out_objects: (out): Map of serialized object name to variant data
|
||||
* @out_objects: (out) (transfer container) (element-type GVariant GVariant):
|
||||
* Map of serialized object name to variant data
|
||||
* @cancellable: Cancellable
|
||||
* @error: Error
|
||||
*
|
||||
|
|
@ -3605,7 +3606,8 @@ ostree_repo_list_objects (OstreeRepo *self,
|
|||
* ostree_repo_list_commit_objects_starting_with:
|
||||
* @self: Repo
|
||||
* @start: List commits starting with this checksum
|
||||
* @out_commits: Array of GVariants
|
||||
* @out_commits: (out) (transfer container) (element-type GVariant GVariant):
|
||||
* Map of serialized commit name to variant data
|
||||
* @cancellable: Cancellable
|
||||
* @error: Error
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue