vala r483 - in trunk: . gobject tests



Author: hasselmm
Date: 2007-08-19 23:03:31 +0100 (Sun, 19 Aug 2007)
New Revision: 483
ViewCVS link: http://svn.gnome.org/viewcvs/vala?rev=483&view=rev

Modified:
   trunk/ChangeLog
   trunk/gobject/valacodegenerator.vala
   trunk/gobject/valacodegeneratorsourcefile.vala
   trunk/tests/test-022.out
   trunk/tests/test-022.vala
Log:
2007-08-19  Mathias Hasselmann  <mathias hasselmann gmx de>

	* gobject/valacodegenerator.vala: also use _vala_array_free to
	release string arrays as g_strfreev cannot handle Vala's sized
	arrays, which have a _length variable, but no NULL sentinel.
	* gobject/valacodegeneratorsourcefile.vala: enhance _vala_array_free
	to handle unsized (NULL sentinel terminated) arrays.
	* tests/test-022.*: test behaviour of _vala_array_free. currently
	fails because Vala forgets to release old element members when
	assigning a new value.





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