summaryrefslogtreecommitdiff
path: root/python/rpmmi-py.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-09-22 16:47:07 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-09-22 16:47:07 +0300
commitae1fd3fa479bfafcc65b9ea532cafb401ed9a031 (patch)
treea44940b0a00a7e089e1dc441c8fb2070d6ddafe9 /python/rpmmi-py.c
parent2b06ca079c90960242dfe173e0e8c2fbc39d7689 (diff)
downloadlibrpm-tizen-ae1fd3fa479bfafcc65b9ea532cafb401ed9a031.tar.gz
librpm-tizen-ae1fd3fa479bfafcc65b9ea532cafb401ed9a031.tar.bz2
librpm-tizen-ae1fd3fa479bfafcc65b9ea532cafb401ed9a031.zip
Make the python object structures opaque
Diffstat (limited to 'python/rpmmi-py.c')
-rw-r--r--python/rpmmi-py.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/rpmmi-py.c b/python/rpmmi-py.c
index 1b9907e1a..9ab745732 100644
--- a/python/rpmmi-py.c
+++ b/python/rpmmi-py.c
@@ -64,6 +64,15 @@
* \name Class: Rpmmi
*/
+/** \ingroup py_c
+ */
+struct rpmmiObject_s {
+ PyObject_HEAD
+ PyObject *md_dict; /*!< to look like PyModuleObject */
+ PyObject *ref; /* for db/ts refcounting */
+ rpmdbMatchIterator mi;
+} ;
+
/**
*/
static PyObject *