aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-03-29 18:20:01 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-03-30 17:46:16 -0300
commitb634bc0b55e940ed5ad014dcf1245c91f06f52ba (patch)
tree3dac3b21f85225365c24ff02a3d547f1d58e4088 /libshiboken
parent1da0a532711cfd3165d5c3d2723fa715c4e31175 (diff)
SbkBaseWrapper_keepReference renamed to keepReference.
The huge prefix was removed because we are already under Shiboken namespace.
Diffstat (limited to 'libshiboken')
-rw-r--r--libshiboken/basewrapper.cpp2
-rw-r--r--libshiboken/basewrapper.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp
index 9fa7e7ef6..4706e6dbe 100644
--- a/libshiboken/basewrapper.cpp
+++ b/libshiboken/basewrapper.cpp
@@ -230,7 +230,7 @@ void SbkBaseWrapper_Dealloc_PrivateDtor(PyObject* self)
Py_TYPE(reinterpret_cast<SbkBaseWrapper*>(self))->tp_free(self);
}
-void SbkBaseWrapper_keepReference(SbkBaseWrapper* self, const char* key, PyObject* referredObject)
+void keepReference(SbkBaseWrapper* self, const char* key, PyObject* referredObject)
{
if (!self->referredObjects)
return;
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h
index 2386646ca..e4caa5270 100644
--- a/libshiboken/basewrapper.h
+++ b/libshiboken/basewrapper.h
@@ -207,7 +207,7 @@ SbkBaseWrapper_TpNew(PyTypeObject* subtype, PyObject*, PyObject*);
* \param key a key that identifies the C++ method signature and argument where the referredObject came from.
* \parem referredObject the object whose reference is used by the self object.
*/
-LIBSHIBOKEN_API void SbkBaseWrapper_keepReference(SbkBaseWrapper* self, const char* key, PyObject* referredObject);
+LIBSHIBOKEN_API void keepReference(SbkBaseWrapper* self, const char* key, PyObject* referredObject);
/**
* Decrements the reference counters of every object referred by self.