summaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-09 18:42:02 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 15:36:29 -0200
commit7c099136210ee657a05d3544aacb54e50b4992e9 (patch)
treed1a7afcf63f1c8668627bb6974c91c330207ad1a /generator
parentcc58f2c2b7f80e8b749d3dd0577a9b18902e61bb (diff)
downloadshiboken-7c099136210ee657a05d3544aacb54e50b4992e9.tar.gz
shiboken-7c099136210ee657a05d3544aacb54e50b4992e9.tar.xz
shiboken-7c099136210ee657a05d3544aacb54e50b4992e9.zip
setCppPointer and getCppPointer moved to namespace Shiboken::Wrapper
Diffstat (limited to 'generator')
-rw-r--r--generator/cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/cppgenerator.cpp b/generator/cppgenerator.cpp
index 068616cf..d7b8afd0 100644
--- a/generator/cppgenerator.cpp
+++ b/generator/cppgenerator.cpp
@@ -915,7 +915,7 @@ void CppGenerator::writeConstructorWrapper(QTextStream& s, const AbstractMetaFun
if (hasPythonConvertion)
s << INDENT << "}" << endl;
- s << INDENT << "if (PyErr_Occurred() || !Shiboken::setCppPointer(sbkSelf, Shiboken::SbkType<" << metaClass->qualifiedCppName() << " >(), cptr)) {" << endl;
+ s << INDENT << "if (PyErr_Occurred() || !Shiboken::Wrapper::setCppPointer(sbkSelf, Shiboken::SbkType<" << metaClass->qualifiedCppName() << " >(), cptr)) {" << endl;
{
Indentation indent(INDENT);
s << INDENT << "delete cptr;" << endl;