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

Method object_base

include/win/boost/python/object_core.hpp:407–409  ·  view source on GitHub ↗

copy constructor without NULL checking, for efficiency

Source from the content-addressed store, hash-verified

405
406// copy constructor without NULL checking, for efficiency
407inline api::object_base::object_base(object_base const& rhs)
408 : m_ptr(python::incref(rhs.m_ptr))
409{}
410
411inline api::object_base::object_base(PyObject* p)
412 : m_ptr(p)

Callers

nothing calls this directly

Calls 1

increfFunction · 0.85

Tested by

no test coverage detected