/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 ()
On Do, 2012-04-05 at 17:52 +0800, PCMan wrote:
> Why not do it like this?
>
>
> [CCode (cheader_filename =
> "skeltrack.h",free_function"joint_list_free")]
> [SimpleType]
> public class JointList {
> public Skeltrack.Joint get_joint(Skeltrack.JointId id);
> }
Unfortunately that does not see
On Thu, Apr 5, 2012 at 4:53 PM, tomw wrote:
> Hi,
>
> I'm about to port the Skeltrack [1] skeleton tracker to Vala. So far
> everything works fine, except getting the actual joints from the joint
> list. The code in C is pretty straight forward:
>
> head = skeltrack_joint_list_get_joint (list,
>
Hi,
I'm about to port the Skeltrack [1] skeleton tracker to Vala. So far
everything works fine, except getting the actual joints from the joint
list. The code in C is pretty straight forward:
head = skeltrack_joint_list_get_joint (list,
SKELTRACK_JOINT_ID_HE