Sam Liddicott <s...@...> writes: > Although my suggestion was clearly obscene from a coding point of view I > think it ought to have worked. > > It ought to be possible to pass an dereferenced pointer as an out. > > Maybe vala rejected it because it was an expression. Try putting the > expression in the line before and > storing the result in an int* tmp and then passing *tmp. If that doesn't > work then it is a vala bug IMHO.
I did try it and it didn't work. Is there any technical reason why Vala does not (at least it does not seem to) support passing arbitrary lvalues to out and ref parameters? Like that it's too hard to construct the C expression or something? _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
