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

typedef struct rpmtdObject_s rpmtdObject;

extern PyTypeObject rpmtd_Type;

#define rpmtdObject_Check(v)	((v)->ob_type == &rpmtd_Type)

PyObject * rpmtd_AsPyobj(rpmtd td);

int rpmtdFromPyObject(PyObject *obj, rpmtd *td);

#endif