summaryrefslogtreecommitdiff
path: root/python/rpmte-py.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-09-22 21:24:55 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-09-22 21:24:55 +0300
commited557bbcf065905beebb42d50048cecf04c3e441 (patch)
tree98eb48fdb97851d4d807d4cfabef1a89e7aa381f /python/rpmte-py.h
parent4d6f8e46e03ccb81a0f50848e974884b7874912d (diff)
downloadrpm-ed557bbcf065905beebb42d50048cecf04c3e441.tar.gz
Make all python object creation wrappers return PyObject pointers
- this way the only place where casts are needed are in the wrapper itself
Diffstat (limited to 'python/rpmte-py.h')
-rw-r--r--python/rpmte-py.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmte-py.h b/python/rpmte-py.h
index 1b2310a5a..3d13f3dd5 100644
--- a/python/rpmte-py.h
+++ b/python/rpmte-py.h
@@ -11,6 +11,6 @@ typedef struct rpmteObject_s rpmteObject;
extern PyTypeObject rpmte_Type;
-rpmteObject * rpmte_Wrap(rpmte te);
+PyObject * rpmte_Wrap(rpmte te);
#endif