[gobject-introspection] [maintransformer] Do not warn for returns and varargs
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] [maintransformer] Do not warn for returns and varargs
- Date: Sat, 18 Sep 2010 16:45:52 +0000 (UTC)
commit 9180641a496b26b5d5a720a2f2a61c710f094d2a
Author: Johan Dahlin <johan gnome org>
Date: Sat Sep 18 13:44:26 2010 -0300
[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 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 = ''
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]