It's invalid to forward-declare enumerations, yet they might be referenced by typedefs.
Fix this my outputting enumerations first so typedefs can references them. As enumerations can't reference other types, it's safe to place them before anything else.
Closes #952. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/955
-- Commit Summary --
* Fix forward reference to enumeration types in GtkDoc header
-- File Changes --
M scripts/gen-api-gtkdoc.py (14)
-- Patch Links --
https://github.com/geany/geany/pull/955.patch https://github.com/geany/geany/pull/955.diff
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/955
I agree. I didn't yet test but the change is a good one.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/955#issuecomment-194492808
Closed #955 via ed700a9dc6f046a63d14c25ebb7e2877bfb1b5a6.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/955#event-583973419
github-comments@lists.geany.org