rpm/python/rpmps-py.h

20 lines
456 B
C

#ifndef H_RPMPS_PY
#define H_RPMPS_PY
#include <rpm/rpmps.h>
typedef struct rpmProblemObject_s rpmProblemObject;
typedef struct rpmpsObject_s rpmpsObject;
extern PyTypeObject rpmProblem_Type;
extern PyTypeObject rpmps_Type;
#define rpmProblemObject_Check(v) ((v)->ob_type == &rpmProblem_Type)
#define rpmpsObject_Check(v) ((v)->ob_type == &rpmps_Type)
rpmps psFromPs(rpmpsObject * ps);
PyObject * rpmps_Wrap(PyTypeObject *subtype, rpmps ps);
#endif