From 0d7ffbdfcecfde690648da1ff9342d3bd736e71f Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 18 Sep 2006 18:40:30 +0200 Subject: * fix api changes for python2.5 --- python/tag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/tag.cc') diff --git a/python/tag.cc b/python/tag.cc index 41db059c..883a8eab 100644 --- a/python/tag.cc +++ b/python/tag.cc @@ -132,7 +132,7 @@ static PyObject *TagSecMap(PyObject *Self,PyObject *Arg) } // len() operation -static int TagSecLength(PyObject *Self) +static Py_ssize_t TagSecLength(PyObject *Self) { pkgTagSection &Sec = GetCpp(Self); return Sec.Count(); -- cgit v1.2.3 From 9e5bfd3bc00a88094e6d16dcce6f50a0f51a5ee6 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 4 Oct 2006 16:54:00 +0200 Subject: * python/tag.cc: - fix another PyMem_DEL() -> PyObject_DEL() error --- python/tag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/tag.cc') diff --git a/python/tag.cc b/python/tag.cc index 883a8eab..d0d862c9 100644 --- a/python/tag.cc +++ b/python/tag.cc @@ -68,7 +68,7 @@ void TagFileFree(PyObject *Obj) Self->Object.~pkgTagFile(); Self->Fd.~FileFd(); Py_DECREF(Self->File); - PyMem_DEL(Obj); + PyObject_DEL(Obj); } /*}}}*/ -- cgit v1.2.3