Re: PyGI, Folks and Gee
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Frederik Elwert <frederik elwert web de>
- Cc: python-hackers-list gnome org
- Subject: Re: PyGI, Folks and Gee
- Date: Wed, 08 Feb 2012 16:48:17 +0100
Hi all,
في ث، 07-02-2012 عند 15:36 +0100 ، كتب Tomeu Vizoso:
> On Fri, Feb 3, 2012 at 19:33, Frederik Elwert <frederik elwert web de> wrote:
> >
> > So if anyone has a clue if it is possible to make Python, Folks and Gee
> > play together nicely, I would be very happy.
I was going to say:
The problem is that GI (and therefore PyGObject) doesn't know how to
deal with Vala-style generics. I don't know what can be done about this
from the Python side.
but Tomeu's answer gave me an idea:
> This cannot be called by managed languages because it returns a pointer:
>
> gpointer gee_iterator_get (GeeIterator* self)
>
> Guess Gee should add alternative API that can be used by managed
> languages if they want it to be usable there.
It could return a GValue, here is a proof of concept:
https://bugzilla.gnome.org/show_bug.cgi?id=669686
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]