[Github-comments] [geany/geany] Add support for generating GIR (#1112)

Colomban Wendling notifications at xxxxx
Sun Jul 3 20:57:43 UTC 2016


> @@ -148,6 +148,75 @@ CLEAN_LOCAL_TARGETS += clean-gtkdoc-header-local
>  clean-gtkdoc-header-local:
>  	-rm -rf xml/ Doxyfile-gi Doxyfile-gi.stamp geany-gtkdoc.h geany-sciwrappers-gtkdoc.h
>  
> +if HAVE_INTROSPECTION
> +
> +INTROSPECTION_GIRS  = Geany-1.0-pre.gir GeanyScintilla-1.0-pre.gir

For the sciwrappers part, because g-ir-scanner can't be told to put method prefixed with `sci` into the `ScintillaObject` namespace, so have nice API (i.e. `sci.start_undo_action()`) the code here renames the functions to a `scinitilla_object` prefix and strip them back to have the proper name.  Yep, it's a hack.

Not sure about the `GeanyScintillaScintillaObject` thing.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1112/files/a1751ae651425b7443f4fd3319b8b04b0876419e#r69397131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160703/7f4dcefa/attachment.html>


More information about the Github-comments mailing list