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

Method sCheckLinkDepth

src/App/ApplicationPy.cpp:1166–1177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1164}
1165
1166PyObject* ApplicationPy::sCheckLinkDepth(PyObject* /*self*/, PyObject* args)
1167{
1168 short depth = 0;
1169 if (!PyArg_ParseTuple(args, "h", &depth)) {
1170 return nullptr;
1171 }
1172
1173 PY_TRY
1174 {
1175 return Py::new_reference_to(
1176 Py::Long(GetApplication().checkLinkDepth(depth, MessageOption::Throw)));
1177 }
1178 PY_CATCH;
1179}
1180

Callers

nothing calls this directly

Calls 2

new_reference_toFunction · 0.85
checkLinkDepthMethod · 0.80

Tested by

no test coverage detected