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 th
The following code:
using GLib;
public class myclass {
public string test1;
public int test2;
}
public struct mystruct {
public string test1;
public int test2;
}
void main(string[] args)
{
List ls;
List lc;
myclass c = new myclass() {test1 = "test", test2=10};
l