summaryrefslogtreecommitdiffstats
path: root/libshiboken/bindingmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'libshiboken/bindingmanager.h')
-rw-r--r--libshiboken/bindingmanager.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/libshiboken/bindingmanager.h b/libshiboken/bindingmanager.h
index 2f486829..cec4a78f 100644
--- a/libshiboken/bindingmanager.h
+++ b/libshiboken/bindingmanager.h
@@ -47,21 +47,14 @@ public:
/// Invalidate the Python wrapper and removes the relations from C++ pointers to the Python wrapper.
void invalidateWrapper(SbkBaseWrapper* wrapper);
/// Convenience method to call invalidateWrapper with a properly cast SbkBaseWrapper.
- inline void invalidateWrapper(PyObject* wrapper)
- {
- invalidateWrapper(reinterpret_cast<SbkBaseWrapper*>(wrapper));
- }
+ void invalidateWrapper(PyObject* wrapper);
/// Convenience method to invalidate the Python wrapper for a C++ wrapped object. Do nothing if C++ pointer has no Python wrapper.
void invalidateWrapper(const void* cptr);
/// Transfers the ownership of a Python wrapper to C++.
void transferOwnershipToCpp(SbkBaseWrapper* wrapper);
/// Convenience method to call transferOwnershipToCpp with a properly cast SbkBaseWrapper.
- inline void transferOwnershipToCpp(PyObject* wrapper)
- {
- transferOwnershipToCpp(reinterpret_cast<SbkBaseWrapper*>(wrapper));
- }
-
+ void transferOwnershipToCpp(PyObject* wrapper);
void addClassInheritance(SbkBaseWrapperType* parent, SbkBaseWrapperType* child);
SbkBaseWrapperType* resolveType(void* cptr, SbkBaseWrapperType* type);