Re: [Vala] MarkupParser binding
- From: Andrea Del Signore <sejerpz tin it>
- Cc: Vala-list <Vala-list gnome org>
- Subject: Re: [Vala] MarkupParser binding
- Date: Tue, 08 Dec 2009 15:21:02 +0100
On Tue, 2009-12-08 at 15:00 +0100, Andrea Del Signore wrote:
On Mon, 2009-12-07 at 21:35 +0100, Michael 'Mickey' Lauer wrote:
....
and the proposed solution seems to "partially" work as stated here:
http://mail.gnome.org/archives/vala-list/2009-June/msg00031.html
Hi,
on a second thought I think that the problem reported on the above link
can be resolved defining the delegate cname as GCallback. Eg. this seems
to work as expected:
[CCode (cname = "GCallback", has_target = false)]
public delegate void MarkupParserErrorFunc (MarkupParseContext context, Error error, void* user_data);
However I'm not sure that GCallback is totally correct in this
context :)
Ciao,
Andrea
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]