| 270 | } |
| 271 | |
| 272 | PyObject* DocumentPy::getUniqueObjectName(PyObject* args) |
| 273 | { |
| 274 | char* sName; |
| 275 | if (!PyArg_ParseTuple(args, "s", &sName)) { |
| 276 | return nullptr; |
| 277 | } |
| 278 | PY_TRY |
| 279 | { |
| 280 | auto newName = getDocumentPtr()->getUniqueObjectName(sName); |
| 281 | return Py::new_reference_to(Py::String(newName)); |
| 282 | } |
| 283 | PY_CATCH; |
| 284 | } |
| 285 |
nothing calls this directly
no test coverage detected