Hi all:
I'm creating a VAPI file for xcb_icccm and I have a problem:
I defined the function xcb_icccm_get_wm_class_from_reply as:
[CCode (cname = "xcb_icccm_get_wm_class_from_reply")]
public void get_wm_class_from_reply(out WmClassFromReply reply,
GetPropertyReply input);
Unfortunately, when I try to compile a program that uses it, I receive
this error:
CMakeFiles/valawm.dir/window.c.o: In function
`vala_wm_vala_window_map_request':
window.c:(.text+0xbca): undefined reference to
`xcb_icccm_wm_class_from_reply_destroy'
window.c:(.text+0xc6e): undefined reference to
`xcb_icccm_wm_class_from_reply_destroy'
collect2: error: ld returned 1 exit status
It seems that Vala presumes that there must be a "destroy" call that
complements the "get" call. But there is no such call.
How can I fix this?
Thanks.
--
Nos leemos
RASTER (Linux user #228804)
[email protected] http://www.rastersoft.com
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list