diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-19 11:06:35 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-19 11:06:35 +0100 |
commit | d7df8237f78c2a2e70fd525ef9eb2fd0777a5a1d (patch) | |
tree | a12ede8fe005e5367ec541aeff97f1374ae048c2 /giscanner | |
parent | acd5f7df71261056bd82996b18bdffb0704f82ee (diff) | |
download | gobject-introspection-d7df8237f78c2a2e70fd525ef9eb2fd0777a5a1d.tar.gz |
g-ir-doc-tool: Display Returns: even if there's no args
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/mallard-C-function.tmpl | 2 | ||||
-rw-r--r-- | giscanner/mallard-Python-function.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/giscanner/mallard-C-function.tmpl b/giscanner/mallard-C-function.tmpl index 4eb3d07b..5cab7649 100644 --- a/giscanner/mallard-C-function.tmpl +++ b/giscanner/mallard-C-function.tmpl @@ -73,7 +73,7 @@ ${formatter.format_type(arg.type) | x} ${arg.argname}\ </code></synopsis> ${formatter.format(node.doc)} -% if node.parameters: +% if node.parameters or node.retval: <table> % for arg, ix in zip(node.parameters, range(len(node.parameters))): <tr> diff --git a/giscanner/mallard-Python-function.tmpl b/giscanner/mallard-Python-function.tmpl index 2bca6ac6..ceddea62 100644 --- a/giscanner/mallard-Python-function.tmpl +++ b/giscanner/mallard-Python-function.tmpl @@ -69,7 +69,7 @@ ${arg.argname}\ </code></synopsis> ${formatter.format(node.doc)} -% if node.parameters: +% if node.parameters or node.retval: <table> % for arg, ix in zip(node.parameters, range(len(node.parameters))): <tr> |