blob: 619e8f9752f5079912078602a2adcb7a09cf37a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#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 */
} ;
/*@unchecked@*/
extern PyTypeObject rpmrc_Type;
/*@null@*/
PyObject * rpmrc_AddMacro(PyObject * self, PyObject * args, PyObject * kwds)
/*@globals rpmGlobalMacroContext, _Py_NoneStruct @*/
/*@modifies rpmGlobalMacroContext, _Py_NoneStruct @*/;
/*@null@*/
PyObject * rpmrc_DelMacro(PyObject * self, PyObject * args, PyObject * kwds)
/*@globals rpmGlobalMacroContext, _Py_NoneStruct @*/
/*@modifies rpmGlobalMacroContext, _Py_NoneStruct @*/;
#if Py_TPFLAGS_HAVE_ITER /* XXX backport to python-1.5.2 */
/*@null@*/
PyObject * rpmrc_Create(PyObject * self, PyObject * args, PyObject * kwds)
/*@*/;
#endif
#endif
|