diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-02-02 17:19:25 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-02-02 17:19:25 +0100 |
| commit | b2a1af65654e4584d6b54c5d4e12175ff0dffad9 (patch) | |
| tree | 9eeceac339bd99486b2603c0f83dc7be79d7b5d2 /python/indexrecords.cc | |
| parent | eda5f5556f353c2403f846d74104d000c00aff90 (diff) | |
| download | python-apt-b2a1af65654e4584d6b54c5d4e12175ff0dffad9.tar.gz | |
Remove inline functions from the C++ API, export them instead (part 2).
Diffstat (limited to 'python/indexrecords.cc')
| -rw-r--r-- | python/indexrecords.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/indexrecords.cc b/python/indexrecords.cc index 5750bf6b..80960160 100644 --- a/python/indexrecords.cc +++ b/python/indexrecords.cc @@ -60,7 +60,7 @@ static PyObject *indexrecords_lookup(PyObject *self,PyObject *args) } // Copy the HashString(), to prevent crashes and to not require the // indexRecords object to exist. - PyObject *py_hash = PyHashString_FromCpp(new HashString(result->Hash)); + PyObject *py_hash = PyHashString_FromCpp(new HashString(result->Hash), true, NULL); PyObject *value = Py_BuildValue("(Oi)",py_hash,result->Size); Py_DECREF(py_hash); return value; |
