Python entry */
| 35 | |
| 36 | /* Python entry */ |
| 37 | PyMOD_INIT_FUNC(MeshPart) |
| 38 | { |
| 39 | // load dependent module |
| 40 | try { |
| 41 | Base::Interpreter().loadModule("Part"); |
| 42 | } |
| 43 | catch (const Base::Exception& e) { |
| 44 | PyErr_SetString(PyExc_ImportError, e.what()); |
| 45 | PyMOD_Return(nullptr); |
| 46 | } |
| 47 | PyObject* mod = MeshPart::initModule(); |
| 48 | Base::Console().log("Loading MeshPart module… done\n"); |
| 49 | PyMOD_Return(mod); |
| 50 | } |
nothing calls this directly
no test coverage detected