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:
David Shea 2017-06-17 12:08:41 -04:00 committed by Atomic Bot
parent 07dc33ca4a
commit 22e753176e
1 changed files with 3 additions and 3 deletions

View File

@ -2618,9 +2618,9 @@ _ostree_repo_read_bare_fd (OstreeRepo *self,
* ostree_repo_load_file: * ostree_repo_load_file:
* @self: Repo * @self: Repo
* @checksum: ASCII SHA256 checksum * @checksum: ASCII SHA256 checksum
* @out_input: (out) (allow-none): File content * @out_input: (out) (optional) (nullable): File content
* @out_file_info: (out) (allow-none): File information * @out_file_info: (out) (optional) (nullable): File information
* @out_xattrs: (out) (allow-none): Extended attributes * @out_xattrs: (out) (optional) (nullable): Extended attributes
* @cancellable: Cancellable * @cancellable: Cancellable
* @error: Error * @error: Error
* *