MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / new_reference_to

Function new_reference_to

src/Base/SmartPtrPy.cpp:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120BaseExport PyObject* new_reference_to(const SmartPtr& ptr)
121{
122 PyObject* py = ptr.ptr();
123 Py::_XINCREF(py);
124 return py;
125}
126} // namespace Py

Callers 15

getPyObjectMethod · 0.85
addPropertyMethod · 0.85
isSavedMethod · 0.85
getProgramVersionMethod · 0.85
getFileNameMethod · 0.85
getUniqueObjectNameMethod · 0.85
addObjectMethod · 0.85
copyObjectMethod · 0.85
importLinksMethod · 0.85
isClosableMethod · 0.85
isAutoCreatedMethod · 0.85

Calls 2

_XINCREFFunction · 0.85
ptrMethod · 0.45

Tested by

no test coverage detected