[Github-comments] [geany] Gi sci methods v2 (#948)

Thomas Martitz notifications at xxxxx
Wed Mar 9 20:24:19 UTC 2016


>      try:
>          outfile.write("/*\n * Automatically generated file - do not edit\n */\n\n")
> -        outfile.write("#include <glib.h>\n")
> -        outfile.write("#include <gtk/gtk.h>\n\n")
> -        outfile.write("typedef struct _ScintillaObject ScintillaObject;\n")
> +        outfile.write("#include \"gtkcompat.h\"\n")
> +        outfile.write("#include \"sciwrappers.h\"\n")

Oh, and I'm not sure about "" vs <>. I doubt it makes a difference, as IIUC g-ir-scanner doesn't have default or system include directories but only those you mention in CFLAGS.

EXCEPT for the introspection program that is generated and executed. here the CFLAGS are passed to the compiler. The introspection program uses the get-type.txt and intercepts gobject type registration including signal and property registration.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/948/files#r55582931
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160309/ed7407d7/attachment.html>


More information about the Github-comments mailing list