Re: [Vala] how to pass a List by reference?



On Sat, Oct 15, 2011 at 1:45 PM, Maciej Marcin Piechotka <
uzytkownik2 gmail com> wrote:

The empty list is NULL not new SList<string> (). new SList<string> () is
a list of length 1 with garbage as contents.


new SList() is NULL by definition in vala, it's special cased.

-- 
www.debian.org - The Universal Operating System


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