Re: [Vala] xcb vapi



On Sat, Feb 4, 2012 at 9:44 PM, Stefan Risberg <steffenomak gmail com>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


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