diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-16 10:27:35 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-16 10:27:35 -0300 |
commit | 9032f355c1043c5e1c06804e2872718e756c90b1 (patch) | |
tree | 100121b272def5c7132a56508c306667222ed887 /giscanner | |
parent | 4577bf1a7f6dc33d1ff566ae8d1360f1fde769f9 (diff) |
[maintransformer] Do not warn for vararg docs
Allow varargs "..." to be documented without warning
https://bugzilla.gnome.org/show_bug.cgi?id=629759
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/maintransformer.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py index 67f6391..f2527b5 100644 --- a/giscanner/maintransformer.py +++ b/giscanner/maintransformer.py @@ -588,6 +588,9 @@ usage is void (*_gtk_reserved1)(void);""" for doc_name in docparams: if doc_name in allparams: continue + # Skip varargs, see #629759 + if doc_name == '...': + continue if len(allparams) == 0: text = '' elif len(allparams) == 1: |