Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
120
BaseExport 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
getPyObject
Method · 0.85
addProperty
Method · 0.85
canWriteRecoverySnapshot
Method · 0.85
isSaved
Method · 0.85
getProgramVersion
Method · 0.85
getFileName
Method · 0.85
getUniqueObjectName
Method · 0.85
addObject
Method · 0.85
copyObject
Method · 0.85
importLinks
Method · 0.85
isClosable
Method · 0.85
isAutoCreated
Method · 0.85
Calls
2
_XINCREF
Function · 0.85
ptr
Method · 0.45
Tested by
no test coverage detected