MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / reset

Method reset

include/win/boost/python/handle.hpp:220–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218
219template <class T>
220inline void handle<T>::reset()
221{
222 python::xdecref(m_p);
223 m_p = 0;
224}
225
226// Because get_managed_object must return a non-null PyObject*, we
227// return Py_None if the handle is null.

Callers 2

detachMethod · 0.45
popMethod · 0.45

Calls 1

xdecrefFunction · 0.85

Tested by

no test coverage detected