Re: Signals, GErrors and Introspection
- From: Matthias Clasen <matthias clasen gmail com>
- To: Andrea Bolognani <eof kiyuko org>
- Cc: gtk-devel-list gnome org
- Subject: Re: Signals, GErrors and Introspection
- Date: Sat, 19 Feb 2011 00:14:29 -0500
On Fri, Feb 18, 2011 at 6:19 PM, Andrea Bolognani <eof kiyuko org> wrote:
> From what I’ve seen, to make my code work seamlessy in Gjs the following
> things would need to be done:
>
> * Add support for boxing a GError** into GValue
> * Add support for a ERROR parameter type to glib-genmarshal
> * Teach gjs how to convert a GError** to/from a JS value
>
> Maybe I’m underestimating the task a bit, but it seems totally doable.
GError has a boxed type already:
http://library.gnome.org/devel/gobject/2.27/gobject-Boxed-Types.html#G-TYPE-ERROR:CAPS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]