28 lines
433 B
C
28 lines
433 B
C
#ifndef H_RPMMI_PY
|
|
#define H_RPMMI_PY
|
|
|
|
/** \ingroup py_c
|
|
* \file python/rpmmi-py.h
|
|
*/
|
|
|
|
/** \ingroup py_c
|
|
*/
|
|
typedef struct rpmmiObject_s rpmmiObject;
|
|
|
|
/** \ingroup py_c
|
|
*/
|
|
struct rpmmiObject_s {
|
|
PyObject_HEAD
|
|
PyObject *md_dict; /*!< to look like PyModuleObject */
|
|
rpmdbMatchIterator mi;
|
|
} ;
|
|
|
|
/*@unchecked@*/
|
|
extern PyTypeObject rpmmi_Type;
|
|
|
|
/*@null@*/
|
|
rpmmiObject * rpmmi_Wrap(rpmdbMatchIterator mi)
|
|
/*@*/;
|
|
|
|
#endif
|