mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-09 13:57:52 +03:00
Fix annotations on ostree_mutable_tree_lookup()
(nullable) and (optional) were missing on lookup()'s out parameters, which caused the rust bindings for the function to not work. Due to the missing (nullable), it would return a Result<(GString, MutableTree), _>, not a Result<(Option<GString>, Option<MutableTree>), _>, which led to panics.
This commit is contained in:
parent
7aa17acd8d
commit
03d592b116
@ -403,8 +403,8 @@ ostree_mutable_tree_ensure_dir (OstreeMutableTree *self,
|
||||
* ostree_mutable_tree_lookup:
|
||||
* @self: Tree
|
||||
* @name: name
|
||||
* @out_file_checksum: (out) (transfer full): checksum
|
||||
* @out_subdir: (out) (transfer full): subdirectory
|
||||
* @out_file_checksum: (out) (transfer full) (nullable) (optional): checksum
|
||||
* @out_subdir: (out) (transfer full) (nullable) (optional): subdirectory
|
||||
* @error: a #GError
|
||||
*/
|
||||
gboolean
|
||||
|
Loading…
x
Reference in New Issue
Block a user