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

Reply via email to