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

Method getProgramVersion

src/App/DocumentPyImp.cpp:254–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254PyObject* DocumentPy::getProgramVersion(PyObject* args)
255{
256 if (!PyArg_ParseTuple(args, "")) {
257 return nullptr;
258 }
259 const char* version = getDocumentPtr()->getProgramVersion();
260 return Py::new_reference_to(Py::String(version));
261}
262
263PyObject* DocumentPy::getFileName(PyObject* args)
264{

Callers

nothing calls this directly

Calls 2

new_reference_toFunction · 0.85
StringClass · 0.70

Tested by

no test coverage detected