diff options
Diffstat (limited to 'giscanner/doctemplates/Gjs/function.tmpl')
-rw-r--r-- | giscanner/doctemplates/Gjs/function.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/doctemplates/Gjs/function.tmpl b/giscanner/doctemplates/Gjs/function.tmpl index 012978ac..8e9d7417 100644 --- a/giscanner/doctemplates/Gjs/function.tmpl +++ b/giscanner/doctemplates/Gjs/function.tmpl @@ -21,7 +21,7 @@ <%block name="synopsis"> <synopsis><code mime="text/x-gjs"> function \ -${node.name}(\ +${node.name if node.shadows is None else node.shadows}(\ ${', '.join('%s: %s' % (arg.argname, formatter.format_type(arg.type, True)) for arg in formatter.get_in_parameters(node))}\ ): ${formatter.format_out_parameters(node)} { // Gjs wrapper for ${node.symbol}() |