/usr/local/include/skeltrack-0.1/skeltrack-joint.h:84:22: note: expected ‘SkeltrackJointId’ but argument is of type ‘struct SkeltrackJoint *’

I assume that you bound SkeltrackJoint as struct Skeltrack.Joint? In that case Vala will put the return value in the argument list:

SomeStruct foo () { return some_struct }
becomes
void foo (SomeStruct *result)
in the generated c code

So in your case I would bind Joint as
[Compact]
[CCode (copy_function="...", free_function="...")]
class Skeltrack.Joint {...}
_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to