[geany/geany] e4bdf4: Add support for `out` and `optional` GI annotations

Colomban Wendling git-noreply at xxxxx
Sun Feb 28 00:58:48 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 28 Feb 2016 00:58:48 UTC
Commit:      e4bdf45cc6b293717a95038f97105c6f8b1eca16
             https://github.com/geany/geany/commit/e4bdf45cc6b293717a95038f97105c6f8b1eca16

Log Message:
-----------
Add support for `out` and `optional` GI annotations


Modified Paths:
--------------
    doc/Doxyfile.in
    scripts/gen-api-gtkdoc.py

Modified: doc/Doxyfile.in
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -257,6 +257,8 @@ ALIASES               += "elementtype{1}=\noop \xmlonly <simplesect kind=\"geany
 ALIASES               += "scope{1}=\noop \xmlonly <simplesect kind=\"geany:scope\">\1</simplesect>\endxmlonly \htmlonly <em>(scope: \1)</em> \endhtmlonly"
 ALIASES               += "girskip=\noop \xmlonly <simplesect kind=\"geany:skip\"></simplesect>\endxmlonly"
 ALIASES               += "nullable=\noop \xmlonly <simplesect kind=\"geany:nullable\"></simplesect>\endxmlonly"
+ALIASES               += "out=\noop \xmlonly <simplesect kind=\"geany:out\"></simplesect>\endxmlonly \htmlonly <em>(output parameter)</em> \endhtmlonly"
+ALIASES               += "optional=\noop \xmlonly <simplesect kind=\"geany:optional\"></simplesect>\endxmlonly"
 ALIASES               += "cb=\noop \xmlonly <simplesect kind=\"geany:scope\">notified</simplesect>\endxmlonly"
 ALIASES               += "cbdata=\noop \xmlonly <simplesect kind=\"geany:closure\"></simplesect>\endxmlonly"
 ALIASES               += "cbfree=\noop \xmlonly <simplesect kind=\"geany:destroy\"></simplesect>\endxmlonly"


Modified: scripts/gen-api-gtkdoc.py
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -59,6 +59,8 @@ def cb(self, type, str):
         elif (type == "since"):
             self.since = str.rstrip()
         elif type in ("geany:nullable",
+                      "geany:optional",
+                      "geany:out",
                       "geany:skip",
                       "geany:closure",
                       "geany:destroy"):



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list