diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-29 18:20:01 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-30 17:46:16 -0300 |
commit | b634bc0b55e940ed5ad014dcf1245c91f06f52ba (patch) | |
tree | 3dac3b21f85225365c24ff02a3d547f1d58e4088 /cppgenerator.cpp | |
parent | 1da0a532711cfd3165d5c3d2723fa715c4e31175 (diff) |
SbkBaseWrapper_keepReference renamed to keepReference.
The huge prefix was removed because we are already under Shiboken namespace.
Diffstat (limited to 'cppgenerator.cpp')
-rw-r--r-- | cppgenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp index 277b6f7ce..fa66c43e0 100644 --- a/cppgenerator.cpp +++ b/cppgenerator.cpp @@ -1635,7 +1635,7 @@ void CppGenerator::writeMethodCall(QTextStream& s, const AbstractMetaFunction* f s << "#error Invalid reference count modification for argument " << arg_mod.index << endl << endl; break; } - s << INDENT << "Shiboken::SbkBaseWrapper_keepReference(reinterpret_cast<SbkBaseWrapper*>(self), \""; + s << INDENT << "Shiboken::keepReference(reinterpret_cast<SbkBaseWrapper*>(self), \""; s << func->minimalSignature() << arg_mod.index << "\", " << pyArgName << ");" << endl; } } @@ -2118,7 +2118,7 @@ void CppGenerator::writeSetterFunction(QTextStream& s, const AbstractMetaField* bool pythonWrapperRefCounting = metaField->type()->typeEntry()->isObject() || metaField->type()->isValuePointer(); if (pythonWrapperRefCounting) { - s << INDENT << "Shiboken::SbkBaseWrapper_keepReference(reinterpret_cast<SbkBaseWrapper*>(self), \""; + s << INDENT << "Shiboken::keepReference(reinterpret_cast<SbkBaseWrapper*>(self), \""; s << metaField->name() << "\", value);" << endl; //s << INDENT << "Py_XDECREF(oldvalue);" << endl; s << endl; |