On Sat, Feb 4, 2012 at 9:44 PM, Stefan Risberg <[email protected]>wrote:

> It will complain that XcbVisualID doesn't exist but in the vapi it
> looks like this
> public struct VisualID : uint32
> {}
>
> but I changed it to
> [CCode (cname = "unsigned int")]
>
> and it worked. There are other places that complain about the same
> stuff, but this was the easiest to describe.
>
> So am I doing something wrong, if not how should the correct way to
> fix the problem above?
>

If there's no VisualID in the xcb C API, then it is correct that you have
to set the cname.

-- 
www.debian.org - The Universal Operating System
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to