diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 13:48:01 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:08:57 -0300 |
commit | 4d0bbcf41feb5a1e2a1e7adc52f40ad0f187d6ea (patch) | |
tree | e7180cda0e0c2326e09b81c41e4aee4d8aaca410 /libshiboken/basewrapper.h | |
parent | 4c0e03c6fefefd75c270b2b47eb0d240301ade0e (diff) |
SbkBaseWrapper_TpNew renamed to SbkObjectTpNew, now using C linkage and moved outside C++ namespace.
Diffstat (limited to 'libshiboken/basewrapper.h')
-rw-r--r-- | libshiboken/basewrapper.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h index 9702992ab..df5f8e352 100644 --- a/libshiboken/basewrapper.h +++ b/libshiboken/basewrapper.h @@ -101,6 +101,8 @@ struct LIBSHIBOKEN_API SbkBaseWrapperType DeleteUserDataFunc d_func; }; +LIBSHIBOKEN_API PyObject* SbkObjectTpNew(PyTypeObject* subtype, PyObject*, PyObject*); + } // extern "C" namespace Shiboken @@ -167,9 +169,6 @@ LIBSHIBOKEN_API bool canCallConstructor(PyTypeObject* myType, PyTypeObject* ctor #define SbkBaseWrapper_Check(op) PyObject_TypeCheck(op, (PyTypeObject*)&SbkBaseWrapper_Type) #define SbkBaseWrapper_CheckExact(op) ((op)->ob_type == &SbkBaseWrapper_Type) -LIBSHIBOKEN_API PyObject* -SbkBaseWrapper_TpNew(PyTypeObject* subtype, PyObject*, PyObject*); - /** * Increments the reference count of the referred Python object. * A previous Python object in the same position identified by the 'key' parameter |