diff options
Diffstat (limited to 'src/python/xml_parser-py.h')
-rw-r--r-- | src/python/xml_parser-py.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/python/xml_parser-py.h b/src/python/xml_parser-py.h index 3260005..df5c620 100644 --- a/src/python/xml_parser-py.h +++ b/src/python/xml_parser-py.h @@ -72,4 +72,11 @@ PyDoc_STRVAR(xml_parse_main_metadata_together__doc__, PyObject *py_xml_parse_main_metadata_together(PyObject *self, PyObject *args, PyObject *kwargs); +extern PyTypeObject PkgIterator_Type; + +#define PkgIteratorObject_Check(o) PyObject_TypeCheck(o, &PkgIterator_Type) + +PyObject *Object_FromPkgIterator(cr_PkgIterator *iter); +cr_PkgIterator *PkgIterator_FromPyObject(PyObject *o); + #endif |