On Mon, May 13, 2013 at 1:36 PM, Matthias-Christian Ott <o...@mirix.org>wrote:

> PyGObject can generate a C wrapper to call methods on Python objects
> that inherit from GObject?
>

Yes, wrappers are generated at runtime using GI/libffi. This is referred to
as a closure in the source code and is used for virtual function
implementations as well as Python callbacks for async notifications. See:

https://git.gnome.org/browse/pygobject/tree/gi/pygi-closure.c?h=pygobject-3-8#n602

-Simon
_______________________________________________
python-hackers-list mailing list
python-hackers-list@gnome.org
https://mail.gnome.org/mailman/listinfo/python-hackers-list

Reply via email to