diff options
author | jbj <devnull@localhost> | 2002-07-14 21:23:29 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-07-14 21:23:29 +0000 |
commit | 3ea74aa3c7203c10ad97326778e22b1e654eefc7 (patch) | |
tree | 6968b695ccf7c4b0e8539eff13a1263770a72a70 /python/rpmmi-py.h | |
parent | 8caf68303188699c1a1d9499c53a43794a86d922 (diff) | |
download | rpm-3ea74aa3c7203c10ad97326778e22b1e654eefc7.tar.gz rpm-3ea74aa3c7203c10ad97326778e22b1e654eefc7.tar.bz2 rpm-3ea74aa3c7203c10ad97326778e22b1e654eefc7.zip |
- python: sanity check fixes on rpmts/rpmte methods.
CVS patchset: 5554
CVS date: 2002/07/14 21:23:29
Diffstat (limited to 'python/rpmmi-py.h')
-rw-r--r-- | python/rpmmi-py.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/python/rpmmi-py.h b/python/rpmmi-py.h index 9afd3554a..68bed7bb9 100644 --- a/python/rpmmi-py.h +++ b/python/rpmmi-py.h @@ -12,12 +12,15 @@ typedef struct rpmmiObject_s rpmmiObject; /** \ingroup python */ struct rpmmiObject_s { - PyObject_HEAD; + PyObject_HEAD rpmdbMatchIterator mi; } ; +/*@unchecked@*/ extern PyTypeObject rpmmi_Type; -rpmmiObject * rpmmi_Wrap(rpmdbMatchIterator mi); +rpmmiObject * rpmmi_Wrap(rpmdbMatchIterator mi) + /*@globals _Py_NoneStruct @*/ + /*@modifies mi, _Py_NoneStruct @*/; #endif |