[gobject-introspection] Walk GLibBoxed
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Walk GLibBoxed
- Date: Tue, 22 Jun 2010 17:21:20 +0000 (UTC)
commit 2dc8afa6f6616d6381fbe58323079cc10572dc25
Author: Colin Walters <walters verbum org>
Date: Tue Jun 22 13:19:23 2010 -0400
Walk GLibBoxed
We need to be processing varargs on these.
giscanner/glibtransformer.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/glibtransformer.py b/giscanner/glibtransformer.py
index 7035eb3..aca4ae4 100644
--- a/giscanner/glibtransformer.py
+++ b/giscanner/glibtransformer.py
@@ -897,6 +897,11 @@ class GLibTransformer(object):
_subwalk(ctor)
for meth in node.methods:
_subwalk(meth)
+ elif isinstnace(node, GLibBoxed):
+ for ctor in node.constructors:
+ _subwalk(ctor)
+ for meth in node.methods:
+ _subwalk(meth)
if isinstance(node, (GLibObject, GLibInterface)):
for sig in node.signals:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]