Re: Return type "(allow-none)" annotations?



On 07/03/12 03:08, Colin Walters wrote:
On Wed, 2012-03-07 at 02:48 +0000, Phil Clayton wrote:

Various questions spring to mind:

    - Have the return type null-ok/allow-none attributes
      really been forgotten for so long or is there some
      reason behind their omission?

https://bugzilla.gnome.org/show_bug.cgi?id=626395
https://bugzilla.gnome.org/show_bug.cgi?id=660879

Thanks.  I've added some comments to the latter.


Note there are two levels here - whether they appear in the .gir
or that and the .typelib.  I think the Vala people (who do want
nullable/null-ok/allow-none) have been satisfied that they're
just in the .gir.

If they're added to .gir, hopefully they will magically appear in .typelib! As I've noted in bug 660879, typelib/GIRepository support already exists.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]