diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-22 16:47:07 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-22 16:47:07 +0300 |
commit | ae1fd3fa479bfafcc65b9ea532cafb401ed9a031 (patch) | |
tree | a44940b0a00a7e089e1dc441c8fb2070d6ddafe9 /python/rpmfi-py.c | |
parent | 2b06ca079c90960242dfe173e0e8c2fbc39d7689 (diff) | |
download | rpm-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.c | 6 |
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) |