Skip to content

Commit

Permalink
Use %NULL, %FALSE and %TRUE in the GtkDoc output
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Feb 28, 2016
1 parent d57ca1d commit 2b8cfb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/gen-api-gtkdoc.py
Expand Up @@ -70,11 +70,11 @@ def cb(self, type, str):
self.annot.append("%s %s" % (type, str))
elif (type == "see"):
return "See " + str
elif type in ("a", "c") and str in ("NULL", "TRUE", "FALSE"):
# FIXME: some of Geany does @a NULL instead of @c NULL
return "%" + str
elif (type == "a"):
if (str != "NULL"): # FIXME: some of geany does @a NULL
return "@" + str
else:
return str
return "@" + str
else:
return str

Expand Down

0 comments on commit 2b8cfb3

Please sign in to comment.