aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 14:45:28 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:08:57 -0300
commit899f9c2ccfc6967867f6d5f1cad925011a2f756b (patch)
tree237fde59e4e04a4b3ec875b98ba1a7721ac71720 /libshiboken
parentcdeb0172eca90f2050313b589fb068145d882dbb (diff)
Removed macros SbkBaseWrapper_Check and SbkBaseWrapper_CheckExact.
Diffstat (limited to 'libshiboken')
-rw-r--r--libshiboken/basewrapper.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h
index c6b936b75..40d7b22e4 100644
--- a/libshiboken/basewrapper.h
+++ b/libshiboken/basewrapper.h
@@ -166,9 +166,6 @@ 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*)&SbkObject_Type)
-#define SbkBaseWrapper_CheckExact(op) ((op)->ob_type == &SbkObject_Type)
-
/**
* Increments the reference count of the referred Python object.
* A previous Python object in the same position identified by the 'key' parameter