diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-09 18:52:40 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:08:57 -0300 |
commit | 28debb4e820b03c1acdf09715b7570ae30e47dcc (patch) | |
tree | 626ec49d82cae1f241d6a96f162b6f438c3d0c02 /libshiboken/basewrapper.h | |
parent | e3148eaf9a7be5633d1ff4339ba94f0a9f085930 (diff) |
Replace Shiboken::cppObjectIsInvalid by Shiboken::Wraper::isValid
Diffstat (limited to 'libshiboken/basewrapper.h')
-rw-r--r-- | libshiboken/basewrapper.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h index bb76f7ba8..d8511dd82 100644 --- a/libshiboken/basewrapper.h +++ b/libshiboken/basewrapper.h @@ -189,9 +189,6 @@ SbkBaseWrapper_TpNew(PyTypeObject* subtype, PyObject*, PyObject*); */ LIBSHIBOKEN_API void keepReference(SbkObject* self, const char* key, PyObject* referredObject, bool append=false); -/// Returns true and sets a Python RuntimeError if the Python wrapper is not marked as valid. -LIBSHIBOKEN_API bool cppObjectIsInvalid(PyObject* wrapper); - /// Dealloc the python object \p pyObj and the C++ object represented by it. LIBSHIBOKEN_API void deallocWrapper(PyObject* pyObj); @@ -227,6 +224,10 @@ LIBSHIBOKEN_API void* cppPointer(PyObject* pyObj, PyTypeObject* desiredType); */ LIBSHIBOKEN_API bool setCppPointer(SbkObject* sbkObj, PyTypeObject* desiredType, void* cptr); +/// Returns false and sets a Python RuntimeError if the Python wrapper is not marked as valid. +LIBSHIBOKEN_API bool isValid(PyObject* wrapper); + + } // namespace Wrapper } // namespace Shiboken |