From 9180641a496b26b5d5a720a2f2a61c710f094d2a Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sat, 18 Sep 2010 13:44:26 -0300 Subject: [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 --- giscanner/maintransformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'giscanner') 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 = '' -- cgit v1.2.3