On Thu, 2008-09-04 at 11:20 -0400, Cliff Brake wrote:
> from the below code, I assume its not valid to use structs in lists?

That's right, GList does not directly support arbitrary struct elements.
However, it's possible to put nullable/boxed structs in a GList.

To do this, you need to declare the list as GLib.List<MyStruct?>, the
question mark stands for the nullable/boxed structs. Please note that
nullable/boxed struct support is still experimental, but we'd like to
fully support it.

Jürg

_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to