summaryrefslogtreecommitdiff
path: root/python/hashes.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-01-27 15:11:39 +0100
committerJulian Andres Klode <jak@debian.org>2010-01-27 15:11:39 +0100
commitd24964f86e1108f88d55a9580bbd6d2e482562dd (patch)
tree1b039b234a05daf80432bf7576f3ddddd2c5533a /python/hashes.cc
parent2bb149489844096c55e9e90379795930171a6f73 (diff)
downloadpython-apt-d24964f86e1108f88d55a9580bbd6d2e482562dd.tar.gz
Merge the CppOwnedPyObject C++ class into CppPyObject.
Diffstat (limited to 'python/hashes.cc')
-rw-r--r--python/hashes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/hashes.cc b/python/hashes.cc
index 0086c17a..d0b0fb0c 100644
--- a/python/hashes.cc
+++ b/python/hashes.cc
@@ -25,7 +25,7 @@
static PyObject *hashes_new(PyTypeObject *type,PyObject *args,
PyObject *kwds)
{
- return CppPyObject_NEW<Hashes>(type);
+ return CppPyObject_NEW<Hashes>(NULL, type);
}
static int hashes_init(PyObject *self, PyObject *args, PyObject *kwds)