From b689db481fc2f20d50cc1f91e5e69a909036b350 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 4 Jan 2008 19:36:26 +0000 Subject: [PATCH] Don't wrap 'peekref' methods --- pybindgen/gccxmlparser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pybindgen/gccxmlparser.py b/pybindgen/gccxmlparser.py index e0701e9..daef529 100644 --- a/pybindgen/gccxmlparser.py +++ b/pybindgen/gccxmlparser.py @@ -607,7 +607,8 @@ class ModuleParser(object): have_copy_constructor = True for member in cls.get_members(): - if member.name in [class_wrapper.incref_method, class_wrapper.decref_method]: + if member.name in [class_wrapper.incref_method, class_wrapper.decref_method, + class_wrapper.peekref_method]: continue global_annotations, parameter_annotations = \