Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
219
template <class T>
220
inline 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
detach
Method · 0.45
pop
Method · 0.45
Calls
1
xdecref
Function · 0.85
Tested by
no test coverage detected