mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-23 21:35:26 +03:00
lib/repo: Fix annotations for out parameters
Change the annotation of the out parameters on ostree_repo_load_file from `(allow-none)` to `(optional) (nullable)`. `allow-none` is ambiguous, since these parameters can be both NULL on input and set to NULL on return. Closes: #939 Approved by: cgwalters
This commit is contained in:
parent
07dc33ca4a
commit
22e753176e
@ -2618,9 +2618,9 @@ _ostree_repo_read_bare_fd (OstreeRepo *self,
|
||||
* ostree_repo_load_file:
|
||||
* @self: Repo
|
||||
* @checksum: ASCII SHA256 checksum
|
||||
* @out_input: (out) (allow-none): File content
|
||||
* @out_file_info: (out) (allow-none): File information
|
||||
* @out_xattrs: (out) (allow-none): Extended attributes
|
||||
* @out_input: (out) (optional) (nullable): File content
|
||||
* @out_file_info: (out) (optional) (nullable): File information
|
||||
* @out_xattrs: (out) (optional) (nullable): Extended attributes
|
||||
* @cancellable: Cancellable
|
||||
* @error: Error
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user