33 lines
422 B
C
33 lines
422 B
C
#ifndef H_RPMPS_PY
|
|
#define H_RPMPS_PY
|
|
|
|
#include "rpmps.h"
|
|
|
|
/** \ingroup py_c
|
|
* \file python/rpmps-py.h
|
|
*/
|
|
|
|
/**
|
|
*/
|
|
typedef struct rpmpsObject_s {
|
|
PyObject_HEAD
|
|
PyObject *md_dict; /*!< to look like PyModuleObject */
|
|
int active;
|
|
int ix;
|
|
rpmps ps;
|
|
} rpmpsObject;
|
|
|
|
/**
|
|
*/
|
|
extern PyTypeObject rpmps_Type;
|
|
|
|
/**
|
|
*/
|
|
rpmps psFromPs(rpmpsObject * ps);
|
|
|
|
/**
|
|
*/
|
|
rpmpsObject * rpmps_Wrap(rpmps ps);
|
|
|
|
#endif
|