diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-18 13:44:26 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-18 13:45:43 -0300 |
commit | 9180641a496b26b5d5a720a2f2a61c710f094d2a (patch) | |
tree | af3d7f4928110a8d5c92d3675c2f57e6b4035a95 /giscanner | |
parent | e682a31248e8b9ed552827102c6ef0876c927556 (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
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/maintransformer.py | 2 |
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 = '' |