| 104 | } |
| 105 | |
| 106 | PyObject* DocumentPy::removeProperty(PyObject* args) |
| 107 | { |
| 108 | char* sName; |
| 109 | if (!PyArg_ParseTuple(args, "s", &sName)) { |
| 110 | return nullptr; |
| 111 | } |
| 112 | |
| 113 | bool ok = getDocumentPtr()->removeDynamicProperty(sName); |
| 114 | return Py_BuildValue("O", (ok ? Py_True : Py_False)); |
| 115 | } |
| 116 | |
| 117 | // returns a string which represent the object e.g. when printed in python |
| 118 | std::string DocumentPy::representation() const |
nothing calls this directly
no test coverage detected