summaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 14:30:42 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 15:36:29 -0200
commit7090a14a3412af1d857d3a995dfdb7e575ebf22a (patch)
treef470251a99a32caed9c00d3ed277e9536ef26212 /libshiboken/basewrapper.h
parentf7ec12bd0547fafd94d114bb78c9ee0e48686043 (diff)
downloadshiboken-7090a14a3412af1d857d3a995dfdb7e575ebf22a.tar.gz
shiboken-7090a14a3412af1d857d3a995dfdb7e575ebf22a.tar.xz
shiboken-7090a14a3412af1d857d3a995dfdb7e575ebf22a.zip
SbkBaseWrapper_Type variable renamed to SbkObject_Type
Diffstat (limited to 'libshiboken/basewrapper.h')
-rw-r--r--libshiboken/basewrapper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h
index fbb558f7..3e42ee86 100644
--- a/libshiboken/basewrapper.h
+++ b/libshiboken/basewrapper.h
@@ -72,7 +72,7 @@ typedef bool (*ExtendedIsConvertibleFunc)(PyObject*);
typedef void (*DeleteUserDataFunc)(void*);
extern LIBSHIBOKEN_API PyTypeObject SbkBaseWrapperType_Type;
-extern LIBSHIBOKEN_API SbkObjectType SbkBaseWrapper_Type;
+extern LIBSHIBOKEN_API SbkObjectType SbkObject_Type;
/// PyTypeObject extended with C++ multiple inheritance information.
struct LIBSHIBOKEN_API SbkObjectType
@@ -166,8 +166,8 @@ LIBSHIBOKEN_API bool canCallConstructor(PyTypeObject* myType, PyTypeObject* ctor
*/
#define Shiboken_TypeCheck(pyobj, type) (PyObject_TypeCheck(pyobj, SbkType<type>()))
-#define SbkBaseWrapper_Check(op) PyObject_TypeCheck(op, (PyTypeObject*)&SbkBaseWrapper_Type)
-#define SbkBaseWrapper_CheckExact(op) ((op)->ob_type == &SbkBaseWrapper_Type)
+#define SbkBaseWrapper_Check(op) PyObject_TypeCheck(op, (PyTypeObject*)&SbkObject_Type)
+#define SbkBaseWrapper_CheckExact(op) ((op)->ob_type == &SbkObject_Type)
/**
* Increments the reference count of the referred Python object.