Re: [Vala] Embed Python into Vala, extend Vala with Python



ecir hana wrote:
What do you mean by "callback"? Calling a Vala code from within Python code?
What about passing a Python string back to Vala?

Yes, things like that. But I am not familiar with the Python C embedding
API. You will have to read documentation, for example:
http://www.python.org/doc/2.5.2/ext/embedding.html

I'm sure there is more.

Anyway, is there some documentations on all of this? Is this what I
need to re-read (it's a bit complicated to me, so far)?
http://live.gnome.org/Vala/Bindings

No, this is mainly about auto-generating bindings for GObject-based
libraries. But the Python API is not GObject-based. I guess the best way
is to look at the Lua bindings in 'lua.vapi'.


Best regards,

Frederik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]