diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 14:45:28 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:08:57 -0300 |
commit | 899f9c2ccfc6967867f6d5f1cad925011a2f756b (patch) | |
tree | 237fde59e4e04a4b3ec875b98ba1a7721ac71720 /generator | |
parent | cdeb0172eca90f2050313b589fb068145d882dbb (diff) |
Removed macros SbkBaseWrapper_Check and SbkBaseWrapper_CheckExact.
Diffstat (limited to 'generator')
-rw-r--r-- | generator/cppgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/cppgenerator.cpp b/generator/cppgenerator.cpp index a5446037c..e69ff3c71 100644 --- a/generator/cppgenerator.cpp +++ b/generator/cppgenerator.cpp @@ -1166,7 +1166,7 @@ void CppGenerator::writeMethodWrapper(QTextStream& s, const AbstractMetaFunction s << INDENT << "if (!isReverse" << endl; { Indentation indent(INDENT); - s << INDENT << "&& SbkBaseWrapper_Check(arg)" << endl; + s << INDENT << "&& Shiboken::isShibokenType(arg)" << endl; s << INDENT << "&& !PyObject_TypeCheck(arg, self->ob_type)" << endl; s << INDENT << "&& PyObject_HasAttrString(arg, const_cast<char*>(\"" << revOpName << "\"))) {" << endl; // This PyObject_CallMethod call will emit lots of warnings like |