summaryrefslogtreecommitdiff
path: root/python/rpmds-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/rpmds-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/rpmds-py.c')
-rw-r--r--python/rpmds-py.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/rpmds-py.c b/python/rpmds-py.c
index 7dd5a0be6..91e66efa9 100644
--- a/python/rpmds-py.c
+++ b/python/rpmds-py.c
@@ -13,6 +13,15 @@
#include "debug.h"
+/**
+ */
+struct rpmdsObject_s {
+ PyObject_HEAD
+ PyObject *md_dict; /*!< to look like PyModuleObject */
+ int active;
+ rpmds ds;
+};
+
/**
* Split EVR into epoch, version, and release components.