Add __repr__ to CppClass
This commit is contained in:
1 parent
eee739fcdc
commit
f9baba1bc9
2 files changed
+4
-2
No files matched your search
@@ -489,6 +489,9 @@ class CppClass(object):
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
def __repr__(self):
|
||||
return "<pybindgen.CppClass '%s'>" % self.full_name
|
||||
|
||||
def write_incref(self, code_block, obj_expr):
|
||||
"""
|
||||
Write code to increase the reference code of an object of this
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
"""
|
||||
C wrapper wrapper
|
||||
"""
|
||||
from typehandlers.base import ForwardWrapperBase, NotSupportedError, CodegenErrorBase
|
||||
from typehandlers import codesink
|
||||
from typehandlers.base import ForwardWrapperBase, NotSupportedError
|
||||
import utils
|
||||
|
||||
def isiterable(obj):
|
||||
|
||||
Reference in new issue
Block a user