summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-09-18 13:44:26 -0300
committerJohan Dahlin <johan@gnome.org>2010-09-18 13:45:43 -0300
commit9180641a496b26b5d5a720a2f2a61c710f094d2a (patch)
treeaf3d7f4928110a8d5c92d3675c2f57e6b4035a95
parente682a31248e8b9ed552827102c6ef0876c927556 (diff)
[maintransformer] Do not warn for returns and varargs
Add a few more special case parameters which we will not warn if they don't exist as a parameter
-rw-r--r--giscanner/maintransformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py
index b7d64a6..a2ac8ac 100644
--- a/giscanner/maintransformer.py
+++ b/giscanner/maintransformer.py
@@ -601,7 +601,7 @@ usage is void (*_gtk_reserved1)(void);"""
if doc_name in allparams:
continue
# Skip varargs, see #629759
- if doc_name == '...':
+ if doc_name.lower() in ['...', 'varargs', 'returns']:
continue
if len(allparams) == 0:
text = ''