#ifndef H_RPMRC_PY #define H_RPMRC_PY /** \ingroup py_c * \file python/rpmrc-py.h */ /** \ingroup py_c */ typedef struct rpmrcObject_s rpmrcObject; /** \ingroup py_c */ struct rpmrcObject_s { #if Py_TPFLAGS_HAVE_ITER /* XXX backport to python-1.5.2 */ PyDictObject dict; #else PyObject_HEAD #endif PyObject *md_dict; /*!< to look like PyModuleObject */ } ; extern PyTypeObject rpmrc_Type; PyObject * rpmrc_AddMacro(PyObject * self, PyObject * args, PyObject * kwds); PyObject * rpmrc_DelMacro(PyObject * self, PyObject * args, PyObject * kwds); #if Py_TPFLAGS_HAVE_ITER /* XXX backport to python-1.5.2 */ PyObject * rpmrc_Create(PyObject * self, PyObject * args, PyObject * kwds); #endif #endif