rpm  5.4.10
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@*/
17 } specObject;
18 
21 /*@unchecked@*/
22 extern PyTypeObject spec_Type;
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
30 /*@null@*/
32 /*@*/;
33 
36 /*@null@*/
38 /*@*/;
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif /* H_SPEC_PY */
PyObject_HEAD Spec spec
Definition: spec-py.h:16
struct specObject_s specObject
PyTypeObject spec_Type
Definition: spec-py.c:216
specObject * spec_Wrap(Spec spec)
Definition: spec-py.c:267
The structure used to store values parsed from a spec file.
Definition: rpmspec.h:108
This is the only module users of librpmbuild should need to include.
Spec specFromSpec(specObject *spec)
Definition: spec-py.c:261