Mantid
|
Special shared_ptr::deleter object that locks the GIL while deleting the underlying Python object. More...
#include <PythonObjectInstantiator.h>
Public Member Functions | |
GILSharedPtrDeleter (const boost::python::converter::shared_ptr_deleter &deleter) | |
void | operator() (void const *data) |
Called when the shared_ptr reference count is zero. More... | |
Public Attributes | |
boost::python::converter::shared_ptr_deleter | m_deleter |
Main deleter object. More... | |
Special shared_ptr::deleter object that locks the GIL while deleting the underlying Python object.
Definition at line 27 of file PythonObjectInstantiator.h.
|
inline |
Definition at line 28 of file PythonObjectInstantiator.h.
|
inline |
Called when the shared_ptr reference count is zero.
data | A pointer to the data to be deleted |
Definition at line 34 of file PythonObjectInstantiator.h.
References m_deleter.
boost::python::converter::shared_ptr_deleter Mantid::PythonInterface::GILSharedPtrDeleter::m_deleter |
Main deleter object.
Definition at line 39 of file PythonObjectInstantiator.h.
Referenced by operator()().