MCPcopy Create free account
hub / github.com/arximboldi/immer / adopt

Method adopt

extra/python/src/immer-raw.cpp:62–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61 static object_t wrap(PyObject* p) { return object_t{p, wrap_t{}}; }
62 static object_t adopt(PyObject* p) { return object_t{p, adopt_t{}}; }
63
64 object_t(const object_t& o)
65 : ptr_(o.ptr_)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected