blob: 2e27d3db46f590052b857e2564cfb6c0fec3ee23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef H_RPMFILES_PY
#define H_RPMFILES_PY
#include <rpm/rpmfiles.h>
typedef struct rpmfileObject_s rpmfileObject;
typedef struct rpmfilesObject_s rpmfilesObject;
extern PyTypeObject rpmfile_Type;
extern PyTypeObject rpmfiles_Type;
#define rpmfileObject_Check(v) ((v)->ob_type == &rpmfile_Type)
#define rpmfilesObject_Check(v) ((v)->ob_type == &rpmfiles_Type)
PyObject * rpmfile_Wrap(rpmfiles files, int ix);
PyObject * rpmfiles_Wrap(PyTypeObject *subtype, rpmfiles files);
#endif
|