00001 #ifndef H_SPEC_PY 00002 #define H_SPEC_PY 00003 00004 #include <rpmbuild.h> 00005 00012 00015 typedef struct specObject_s { 00016 PyObject_HEAD 00017 /*type specific fields */ 00018 /*@null@*/ 00019 Spec spec; 00020 } specObject; 00021 00024 /*@unchecked@*/ 00025 extern PyTypeObject spec_Type; 00026 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 00033 /*@null@*/ 00034 Spec specFromSpec(specObject * spec) 00035 /*@*/; 00036 00039 /*@null@*/ 00040 specObject * spec_Wrap(Spec spec) 00041 /*@*/; 00042 00043 #ifdef __cplusplus 00044 } 00045 #endif 00046 00049 #endif /* H_SPEC_PY */