GNOME Bugzilla – Bug 532486
Replace [NoArrayLength] by [CCode (array_length = false)]
Last modified: 2009-01-04 14:55:30 UTC
The [NoArrayLength] is specific to the C Code / GObject backend and should therefore be changed to [CCode (array_length = false)], which is in line with the [CCode (array_length_pos)] attribute. While [NoArrayLength] currently applies to a method with all its parameters and the return type, [CCode (array_length = false)] should only apply to a specific parameter / return type, just like [CCode (array_length_pos)].
2009-01-04 Jürg Billeter <j@bitron.ch> * vala/valacodewriter.vala: * vala/valadelegate.vala: * vala/valafield.vala: * vala/valaformalparameter.vala: * vala/valamethod.vala: Replace [NoArrayLength] by [CCode (array_length = false)], which can also be applied to single parameters, fixes bug 532486 * gobject/valaccodecompiler.vala: * compiler/valacompiler.vala: * vapi/glib-2.0.vapi: * vapigen/valagidlparser.vala: * vapigen/valavapigen.vala: Adapt to attribute changes Fixed in r2265.