rpm
5.4.10
python
spec-py.h
Go to the documentation of this file.
1
#ifndef H_SPEC_PY
2
#define H_SPEC_PY
3
4
#include <
rpmbuild.h
>
5
12
typedef
struct
specObject_s
{
13
PyObject_HEAD
14
/*type specific fields */
15
/*@null@*/
16
Spec
spec
;
17
}
specObject
;
18
21
/*@unchecked@*/
22
extern
PyTypeObject
spec_Type
;
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
30
/*@null@*/
31
Spec
specFromSpec
(
specObject
*
spec
)
32
/*@*/
;
33
36
/*@null@*/
37
specObject
*
spec_Wrap
(
Spec
spec)
38
/*@*/
;
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
/* H_SPEC_PY */
specObject_s::spec
PyObject_HEAD Spec spec
Definition:
spec-py.h:16
specObject
struct specObject_s specObject
spec_Type
PyTypeObject spec_Type
Definition:
spec-py.c:216
spec_Wrap
specObject * spec_Wrap(Spec spec)
Definition:
spec-py.c:267
Spec_s
The structure used to store values parsed from a spec file.
Definition:
rpmspec.h:108
specObject_s
Definition:
spec-py.h:12
rpmbuild.h
This is the only module users of librpmbuild should need to include.
specFromSpec
Spec specFromSpec(specObject *spec)
Definition:
spec-py.c:261
Generated by
1.8.12