+outfile.write("typedef struct _ScintillaObject ScintillaObject;\n") +outfile.write("typedef struct TMSourceFile TMSourceFile;\n") +outfile.write("typedef struct TMWorkspace TMWorkspace;\n")
+# write typedefs first, they are possibly undocumented but still required (even +# if they are documented, they must be written out without gtkdoc) +for e in typedefs:
- outfile.write(e.definition)
- outfile.write("\n\n")
+for e in filter(lambda x: x.is_documented(), other):
- outfile.write("\n\n")
- outfile.write(e.to_gtkdoc())
- outfile.write(e.definition)
- outfile.write("\n\n")
- if (e.name.startswith("sci_")):
no, why should it? sci_* is still part of geany-gtkdoc.h
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/890/files#r52673003