summaryrefslogtreecommitdiff
path: root/python/header-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/header-py.h
parent4d6f8e46e03ccb81a0f50848e974884b7874912d (diff)
downloadlibrpm-tizen-ed557bbcf065905beebb42d50048cecf04c3e441.tar.gz
librpm-tizen-ed557bbcf065905beebb42d50048cecf04c3e441.tar.bz2
librpm-tizen-ed557bbcf065905beebb42d50048cecf04c3e441.zip
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/header-py.h')
-rw-r--r--python/header-py.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/header-py.h b/python/header-py.h
index b1197b0b2..25cf30b8b 100644
--- a/python/header-py.h
+++ b/python/header-py.h
@@ -17,7 +17,7 @@ extern PyTypeObject hdr_Type;
*/
extern PyObject * pyrpmError;
-hdrObject * hdr_Wrap(Header h);
+PyObject * hdr_Wrap(Header h);
Header hdrGetHeader(hdrObject * h);