projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e682a31
)
[maintransformer] Do not warn for returns and varargs
author
Johan Dahlin
<johan@gnome.org>
Sat, 18 Sep 2010 16:44:26 +0000
(13:44 -0300)
committer
Johan Dahlin
<johan@gnome.org>
Sat, 18 Sep 2010 16:45:43 +0000
(13:45 -0300)
Add a few more special case parameters which we will
not warn if they don't exist as a parameter
giscanner/maintransformer.py
patch
|
blob
|
history
diff --git
a/giscanner/maintransformer.py
b/giscanner/maintransformer.py
index
b7d64a6
..
a2ac8ac
100644
(file)
--- 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 = ''