hi, i've just update to 0.10 from 0.8.1 and I guess now vala detect one of my bad. I used a init function to give my object pointer to external function that will manage callback :
init(this) init() is define in a vapi : public static void init (ValaObj obj); and use in External library like this : static void *ValaObj; void init (void *obj) { ValaObj = obj; } Then i define in vapi the callback, C -> Vala : public delegate uint32 callback ( ValaObj, int value); and this is my callback in Vala code: public uint32 cb (ValaObj obj, int value) { this = obj; ... } it works fine with 0.8.1 and throw exception with 0.10 : error: unsupported lvalue in assignment May someone could help me, thanks in advance, Cyrille. _______________________________________________ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list