Some important macros are missing from geany-gtkdoc.h, mainly GEANY_WORDCHARS.
Extend the generation script to add those to geany-gtkdoc.h
Note: g-ir-scanner ignores most of the macros, except those that are plain defines for string literals or numbers/characters, so only a few are usable for GIR.
Note also: Due to a bug in g-ir-scanner, GEANY_ABI_VERSION is parsed incorrectly (simply without the GTK version shift) but the ABI is of little relevance for GIR consumers. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1796
-- Commit Summary --
* gtkdoc: include macros in geany-gtkdoc.h
-- File Changes --
M scripts/gen-api-gtkdoc.py (26)
-- Patch Links --
https://github.com/geany/geany/pull/1796.patch https://github.com/geany/geany/pull/1796.diff