[Geany-devel] Python plugin API

Nick Treleaven nick.treleaven at xxxxx
Sat Jun 6 11:52:02 UTC 2009


On Sat, 06 Jun 2009 13:31:15 +0200
Jonas Haag <jonas at jonashaag.de> wrote:

> I'm now hacking python for about two to three years and I'm willing to 
> wrap that plugin api to python. Browsing the geany site I noticed that 
> you want such an api as well, so my question is: Are there any special 
> plans for that interface?

No, it's just a wishlist item.

> Or shall I just take the C api and wrap it?

It's a bit complicated. Geany doesn't have a shared library for plugins
to link against, instead, Geany sets symbols like geany_functions in
each plugin before initialization. Plugins use generated macros to call
Geany functions.

http://www.geany.org/manual/reference/plugindata_8h.html

So I'm not sure how a python plugin could work, but I'm no expert ;-)

Regards,
Nick



More information about the Devel mailing list