mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-08 08:58:46 +03:00
Merge pull request #2792 from lucab/ups/annotation-nullable
lib/sysroot-upgrader: add some 'nullable' annotations
This commit is contained in:
commit
51f3d03d9b
@ -323,7 +323,7 @@ ostree_sysroot_upgrader_new_for_os_with_flags (OstreeSysroot *sysro
|
||||
* ostree_sysroot_upgrader_get_origin:
|
||||
* @self: Sysroot
|
||||
*
|
||||
* Returns: (transfer none): The origin file, or %NULL if unknown
|
||||
* Returns: (transfer none) (nullable): The origin file, or %NULL if unknown.
|
||||
*/
|
||||
GKeyFile *
|
||||
ostree_sysroot_upgrader_get_origin (OstreeSysrootUpgrader *self)
|
||||
@ -335,7 +335,7 @@ ostree_sysroot_upgrader_get_origin (OstreeSysrootUpgrader *self)
|
||||
* ostree_sysroot_upgrader_dup_origin:
|
||||
* @self: Sysroot
|
||||
*
|
||||
* Returns: (transfer full): A copy of the origin file, or %NULL if unknown
|
||||
* Returns: (transfer full) (nullable): A copy of the origin file, or %NULL if unknown.
|
||||
*/
|
||||
GKeyFile *
|
||||
ostree_sysroot_upgrader_dup_origin (OstreeSysrootUpgrader *self)
|
||||
@ -388,7 +388,7 @@ ostree_sysroot_upgrader_set_origin (OstreeSysrootUpgrader *self,
|
||||
* ostree_sysroot_upgrader_get_origin_description:
|
||||
* @self: Upgrader
|
||||
*
|
||||
* Returns: A one-line descriptive summary of the origin, or %NULL if unknown
|
||||
* Returns: (transfer full) (nullable): A one-line descriptive summary of the origin, or %NULL if unknown.
|
||||
*/
|
||||
char *
|
||||
ostree_sysroot_upgrader_get_origin_description (OstreeSysrootUpgrader *self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user