| 1106 | } |
| 1107 | |
| 1108 | PyObject* DocumentObject::getPyObject() |
| 1109 | { |
| 1110 | if (PythonObject.is(Py::_None())) { |
| 1111 | // ref counter is set to 1 |
| 1112 | PythonObject = Py::Object(new DocumentObjectPy(this), true); |
| 1113 | } |
| 1114 | return Py::new_reference_to(PythonObject); |
| 1115 | } |
| 1116 | |
| 1117 | DocumentObject* DocumentObject::getSubObject(const char* subname, |
| 1118 | PyObject** pyObj, |
nothing calls this directly
no test coverage detected