A deleter that can be passed to a smart pointer to acquire the GIL before destroying the object. More...
#include <PythonUtil.h>
Public Member Functions | |
template<typename T > | |
void | operator() (T *ptr) const |
A deleter that can be passed to a smart pointer to acquire the GIL before destroying the object.
Definition at line 83 of file PythonUtil.h.
|
inline |
Definition at line 87 of file PythonUtil.h.
References carla::PythonUtil::ThisThreadHasTheGIL().