GNOME Bugzilla – Bug 730777
Add support for nullable and optional annotations
Last modified: 2014-06-23 11:44:15 UTC
Created attachment 277247 [details] [review] Add support for new nullable and optional annotations. The nullable and optional annotations replace allow-none. See https://bugzilla.gnome.org/show_bug.cgi?id=660879 for details.
*** Bug 731379 has been marked as a duplicate of this bug. ***
Created attachment 278984 [details] [review] gtkdoc-mkdb: Add support for (nullable) and (optional) annotations These deprecate and replace (allow-none), which was ill-defined for (out) parameters. This includes some updated unit tests.
I should have checked if a bug existed before I went ahead and wrote a patch. :-( Attaching my patch here because it contains a few more test cases than Evan’s, although they are otherwise equivalent. His wording for the annotations may be clearer than mine.
Comment on attachment 278984 [details] [review] gtkdoc-mkdb: Add support for (nullable) and (optional) annotations Can you take the description for 'optional' from the other patch. Then please submit yours.
Created attachment 278991 [details] [review] gtkdoc-mkdb: Add support for (nullable) and (optional) annotations These deprecate and replace (allow-none), which was ill-defined for (out) parameters. This includes some updated unit tests. Including a wording contribution from Evan Nemerson <evan@coeus-group.com>.
Merged with the wording change. Thanks for the review! Attachment 278991 [details] pushed as 36b2f2b - gtkdoc-mkdb: Add support for (nullable) and (optional) annotations