Re: [Gegl-developer] Returning to python-gegl
- From: "Joao S. O. Bueno" <gwidion mpc com br>
- To: Jon Nordby <jononor gmail com>
- Cc: gegl-developer-list <gegl-developer-list gnome org>
- Subject: Re: [Gegl-developer] Returning to python-gegl
- Date: Fri, 13 Feb 2015 20:47:32 -0200
On 13 February 2015 at 20:12, Jon Nordby <jononor gmail com> wrote:
On 13 February 2015 at 01:52, Joao S. O. Bueno
I've been looking around, one problem seems to be that since BABL
has no introspection, any functions relying on BABL parameters
(even just babl formats, which are ordinary C strings with
a fancy typedef) are not exported.
Daniel Sabo fixed this a good while back, by writing simple wrappers with
introspectable type signatures:
https://github.com/GNOME/gegl/blob/master/gegl/gegl-introspection-support.h
There are tests here that shows how it gets used
https://github.com/GNOME/gegl/tree/master/tests/python
Adding introspection to Babl proved impossible without changing the API, due
to the strict conventions that GI requires.
https://bugzilla.gnome.org/show_bug.cgi?id=673422
Thanks for the feedback on that.
--
Jon Nordby - www.jonnor.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]