summaryrefslogtreecommitdiff
path: root/python/rpmfi-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/rpmfi-py.c
parent2b06ca079c90960242dfe173e0e8c2fbc39d7689 (diff)
downloadrpm-ae1fd3fa479bfafcc65b9ea532cafb401ed9a031.tar.gz
rpm-ae1fd3fa479bfafcc65b9ea532cafb401ed9a031.tar.bz2
rpm-ae1fd3fa479bfafcc65b9ea532cafb401ed9a031.zip
Make the python object structures opaque
Diffstat (limited to 'python/rpmfi-py.c')
-rw-r--r--python/rpmfi-py.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/rpmfi-py.c b/python/rpmfi-py.c
index d3a18751e..9e318c053 100644
--- a/python/rpmfi-py.c
+++ b/python/rpmfi-py.c
@@ -12,6 +12,12 @@
#include "debug.h"
+struct rpmfiObject_s {
+ PyObject_HEAD
+ PyObject *md_dict; /*!< to look like PyModuleObject */
+ int active;
+ rpmfi fi;
+};
static PyObject *
rpmfi_Debug(rpmfiObject * s, PyObject * args, PyObject * kwds)