| 853 | } |
| 854 | |
| 855 | PyObject* MetadataPy::addFile(PyObject* args) |
| 856 | { |
| 857 | const char* file = nullptr; |
| 858 | if (!PyArg_ParseTuple(args, "s", &file)) { |
| 859 | throw Py::Exception(); |
| 860 | } |
| 861 | getMetadataPtr()->addFile(file); |
| 862 | Py_INCREF(Py_None); |
| 863 | return Py_None; |
| 864 | } |
| 865 | |
| 866 | PyObject* MetadataPy::removeFile(PyObject* args) |
| 867 | { |