Re: [Vala] this = Object



Cyrille Colin píše v Út 28. 09. 2010 v 14:10 +0200:
[...]
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.


Can you tell us more about what exactly you are trying to achieve in
your code? As far as I can tell, this never made sense.

Attachment: signature.asc
Description: This is a digitally signed message part



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