Re: Signals, GErrors and Introspection



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]