summaryrefslogtreecommitdiff
path: root/python/rpmte-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/rpmte-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/rpmte-py.c')
-rw-r--r--python/rpmte-py.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/rpmte-py.c b/python/rpmte-py.c
index 412e54306..688b27342 100644
--- a/python/rpmte-py.c
+++ b/python/rpmte-py.c
@@ -48,6 +48,12 @@
* @param tag 'Basenames'
*/
+struct rpmteObject_s {
+ PyObject_HEAD
+ PyObject *md_dict; /*!< to look like PyModuleObject */
+ rpmte te;
+};
+
static PyObject *
rpmte_Debug(rpmteObject * s, PyObject * args, PyObject * kwds)
{