]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Support gobject property of null-terminated array without length
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 2 Oct 2019 07:29:06 +0000 (09:29 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 2 Oct 2019 10:19:30 +0000 (12:19 +0200)
commitf3248c8531e1500db79f73fb01c426f7c3dfeeff
tree8fadf7a1f21ffc4e4415e0bf3d09439eb81f951c
parentb2b162d368f83afb792bf8090b2bea95c58f7ea4
codegen: Support gobject property of null-terminated array without length

Properly evaluate given array_length and array_null_terminated attributes
on properties to create the expected API.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/855
codegen/valaccodebasemodule.vala
codegen/valagobjectmodule.vala
codegen/valagtypemodule.vala
tests/Makefile.am
tests/objects/property-array.vala [new file with mode: 0644]
vala/valapropertyaccessor.vala
vala/valasemanticanalyzer.vala