Re: [Vala] Problem creating VAPI file for XcbIcccm (extra data)
- From: Luca Bruno <lethalman88 gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Problem creating VAPI file for XcbIcccm (extra data)
- Date: Fri, 13 Dec 2013 09:18:21 +0100
On 12/12/2013 23:52, rastersoft wrote:
BTW: The whole VAPI file is this:
using Xcb;
[CCode (lower_case_cprefix = "xcb_icccm_", cheader_filename =
"xcb/xcb_icccm.h")]
namespace XcbIcccm {
public Xcb.GetPropertyCookie get_wm_class(Connection conn, Window
window);
public Xcb.GetPropertyCookie get_wm_class_unchecked(Connection
conn, Window window);
[CCode (cname = "xcb_icccm_get_wm_class_reply_t", has_type_id =
false)]
public struct WmClassFromReply {
string instance_name;
string class_name;
}
[CCode (cname = "xcb_icccm_get_wm_class_from_reply")]
public void get_wm_class_from_reply(out WmClassFromReply reply,
GetPropertyReply input);
}
If that struct should be destroyed, then its fields should not be
destroyed as well. Use the unowned keyword on the fields.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]