aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
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>2012-03-08 16:08:57 -0300
commit4de6fd579daeb965871713d1da0625bd684758c3 (patch)
treef2b044683575ca0bade124880c98970994d0e842 /libshiboken
parent28debb4e820b03c1acdf09715b7570ae30e47dcc (diff)
Fix camel case of decRefPyObjectlist
Diffstat (limited to 'libshiboken')
-rw-r--r--libshiboken/basewrapper.cpp8
1 files changed, 4 insertions, 4 deletions
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<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()) {