summaryrefslogtreecommitdiff
path: root/python/rpmte-py.h
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.h
parent2b06ca079c90960242dfe173e0e8c2fbc39d7689 (diff)
downloadrpm-ae1fd3fa479bfafcc65b9ea532cafb401ed9a031.tar.gz
Make the python object structures opaque
Diffstat (limited to 'python/rpmte-py.h')
-rw-r--r--python/rpmte-py.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/python/rpmte-py.h b/python/rpmte-py.h
index 103827409..1b2310a5a 100644
--- a/python/rpmte-py.h
+++ b/python/rpmte-py.h
@@ -7,11 +7,7 @@
* \file python/rpmte-py.h
*/
-typedef struct rpmteObject_s {
- PyObject_HEAD
- PyObject *md_dict; /*!< to look like PyModuleObject */
- rpmte te;
-} rpmteObject;
+typedef struct rpmteObject_s rpmteObject;
extern PyTypeObject rpmte_Type;