summaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-09 18:52:40 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 15:36:29 -0200
commit3bb009fe0eea00c2d8e294fd45e0a861c9bf19f8 (patch)
treea4708471818909c1ba5f4b05510a9963e0b5c0ca /libshiboken/basewrapper.h
parent7c099136210ee657a05d3544aacb54e50b4992e9 (diff)
downloadshiboken-3bb009fe0eea00c2d8e294fd45e0a861c9bf19f8.tar.gz
shiboken-3bb009fe0eea00c2d8e294fd45e0a861c9bf19f8.tar.xz
shiboken-3bb009fe0eea00c2d8e294fd45e0a861c9bf19f8.zip
Replace Shiboken::cppObjectIsInvalid by Shiboken::Wraper::isValid
Diffstat (limited to 'libshiboken/basewrapper.h')
-rw-r--r--libshiboken/basewrapper.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h
index bb76f7ba..d8511dd8 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