> Another (untested) hack that might work:
> 
>    def geanypy_path():
>      import geany, os
>      path = os.path.dirname(
>        os.path.dirname(os.path.dirname(geany.__file__)))
>      return os.path.join(path, "geanypy.so")
> 
> Cheers,
> Matthew Brush

It works good too, but as I mentioned above, casting doc to correct pointer
isn't simple in Python (and I have no ideas how to).

--
Best regards,
Pavel Roschin aka RPG
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel

Reply via email to