On Tue, Oct 06, 2009 at 09:08:08PM +0200, Julian Andres Klode wrote: > --- > vapi/glib-2.0.vapi | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi > index 89740e8..a0e1527 100644 > --- a/vapi/glib-2.0.vapi > +++ b/vapi/glib-2.0.vapi > @@ -2115,6 +2115,8 @@ namespace GLib { > public string format_size_for_display (int64 size); > > /* Lexical Scanner */ > + [CCode (has_target = false)] > + public delegate void ScannerMsgFunc (Scanner scanner, string message, > bool error);
Just a small note, creating a function with such a signature and assigning it to e.g. Scanner.msg_handler will cause a warning in the C compiler because the created function uses 'const char *message', whereas GScannerMsgFunc has 'gchar *message'. Would be great to get this fixed somehow. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list