summaryrefslogtreecommitdiff
path: root/python/rpmps-py.h
blob: 8cebb77e10f5224ff5a1faea332333aee71fcf79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef H_RPMPS_PY
#define H_RPMPS_PY

#include <rpm/rpmps.h>

typedef struct rpmProblemObject_s rpmProblemObject;

extern PyTypeObject rpmProblem_Type;

#define rpmProblemObject_Check(v)	((v)->ob_type == &rpmProblem_Type)

PyObject * rpmprob_Wrap(PyTypeObject *subtype, rpmProblem prob);

#endif