From 4de6fd579daeb965871713d1da0625bd684758c3 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Tue, 9 Nov 2010 18:57:02 -0200 Subject: Fix camel case of decRefPyObjectlist --- libshiboken/basewrapper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libshiboken') diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp index 7aa5ed0ec..5c0c3c210 100644 --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -36,7 +36,7 @@ namespace Shiboken static void SbkBaseWrapperType_dealloc(PyObject* pyObj); static PyObject* SbkBaseWrapperType_TpNew(PyTypeObject* metatype, PyObject* args, PyObject* kwds); static void incRefPyObject(PyObject* pyObj); -static void decRefPyObjectlist(const std::list &pyObj); +static void decRefPyObjectList(const std::list &pyObj); extern "C" { @@ -372,7 +372,7 @@ void keepReference(SbkObject* self, const char* key, PyObject* referredObject, b RefCountMap::iterator iter = refCountMap.find(key); if (!append && (iter != refCountMap.end())) { - decRefPyObjectlist(iter->second); + decRefPyObjectList(iter->second); refCountMap.erase(iter); } @@ -393,7 +393,7 @@ void clearReferences(SbkObject* self) RefCountMap& refCountMap = *(self->d->referredObjects); RefCountMap::iterator iter; for (iter = refCountMap.begin(); iter != refCountMap.end(); ++iter) - decRefPyObjectlist(iter->second); + decRefPyObjectList(iter->second); delete self->d->referredObjects; self->d->referredObjects = 0; } @@ -633,7 +633,7 @@ static void incRefPyObject(PyObject* pyObj) } } -static void decRefPyObjectlist(const std::list &lst) +static void decRefPyObjectList(const std::list& lst) { std::list::const_iterator iter = lst.begin(); while(iter != lst.end()) { -- cgit v1.2.3