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

Function manage_ptr

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

Source from the content-addressed store, hash-verified

29{
30 template <class T>
31 inline T* manage_ptr(detail::borrowed<null_ok<T> >* p, int)
32 {
33 return python::xincref((T*)p);
34 }
35
36 template <class T>
37 inline T* manage_ptr(null_ok<detail::borrowed<T> >* p, int)

Callers 3

managerMethod · 0.85
managerMethod · 0.85
handleMethod · 0.85

Calls 3

xincrefFunction · 0.85
increfFunction · 0.85
expect_non_nullFunction · 0.85

Tested by

no test coverage detected