Creating a GObject.Value with a boxed type doesn't work
It seems we end up in creating an empty GValue, so doing:
const v = new GObject.Value();
v.init(GIMarshallingTests.BoxedStruct.$gtype);
v.set_boxed(new GIMarshallingTests.BoxedStruct()); // g_value_set_boxed is called with NULL boxed parameter
v.get_boxed() // returned value is undefined!
While we've a crash (while we should probably fail earlier) with
const v = new GObject.Value();
v.init_from_instance(new GIMarshallingTests.BoxedStruct());
Edited by Marco Trevisan