gdbus: Add nullable annotations for fd list outs

This commit is contained in:
Sophie Herold
2024-12-10 22:23:56 +01:00
parent a5f68ba494
commit 8be0a9af5b
3 changed files with 6 additions and 6 deletions

View File

@@ -2835,7 +2835,7 @@ class CodeGenerator:
)
if m.unix_fd:
self.outfile.write(
" * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore.\n"
" * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore.\n"
)
self.outfile.write(
self.docbook_gen.expand(
@@ -2913,7 +2913,7 @@ class CodeGenerator:
)
if m.unix_fd:
self.outfile.write(
" * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL.\n"
" * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL.\n"
)
self.outfile.write(
self.docbook_gen.expand(