Re: [Vala] xcb vapi
- From: Luca Bruno <lethalman88 gmail com>
- To: Stefan Risberg <steffenomak gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] xcb vapi
- Date: Sat, 4 Feb 2012 21:59:18 +0100
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]