summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-09 18:57:02 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 15:36:29 -0200
commitb9ad071fcb2a1fa2f0191815ed7b1f7573e8f01a (patch)
tree01123fd06f735c8cd8b2529b84a49adb336ba50a
parent3bb009fe0eea00c2d8e294fd45e0a861c9bf19f8 (diff)
downloadshiboken-b9ad071fcb2a1fa2f0191815ed7b1f7573e8f01a.tar.gz
shiboken-b9ad071fcb2a1fa2f0191815ed7b1f7573e8f01a.tar.xz
shiboken-b9ad071fcb2a1fa2f0191815ed7b1f7573e8f01a.zip
Fix camel case of decRefPyObjectlist
-rw-r--r--libshiboken/basewrapper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp
index 7aa5ed0e..5c0c3c21 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<SbkObject*> &pyObj);
+static void decRefPyObjectList(const std::list<SbkObject*> &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<SbkObject*> &lst)
+static void decRefPyObjectList(const std::list<SbkObject*>& lst)
{
std::list<SbkObject*>::const_iterator iter = lst.begin();
while(iter != lst.end()) {