summaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 14:30:42 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 15:36:29 -0200
commit7090a14a3412af1d857d3a995dfdb7e575ebf22a (patch)
treef470251a99a32caed9c00d3ed277e9536ef26212 /generator/cppgenerator.cpp
parentf7ec12bd0547fafd94d114bb78c9ee0e48686043 (diff)
downloadshiboken-7090a14a3412af1d857d3a995dfdb7e575ebf22a.tar.gz
shiboken-7090a14a3412af1d857d3a995dfdb7e575ebf22a.tar.xz
shiboken-7090a14a3412af1d857d3a995dfdb7e575ebf22a.zip
SbkBaseWrapper_Type variable renamed to SbkObject_Type
Diffstat (limited to 'generator/cppgenerator.cpp')
-rw-r--r--generator/cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/cppgenerator.cpp b/generator/cppgenerator.cpp
index 29435231..8e0706bf 100644
--- a/generator/cppgenerator.cpp
+++ b/generator/cppgenerator.cpp
@@ -2341,7 +2341,7 @@ void CppGenerator::writeClassDefinition(QTextStream& s, const AbstractMetaClass*
tp_as_sequence = QString("&Py%1_as_sequence").arg(cppClassName);
if (!metaClass->baseClass())
- baseClassName = "reinterpret_cast<PyTypeObject*>(&SbkBaseWrapper_Type)";
+ baseClassName = "reinterpret_cast<PyTypeObject*>(&SbkObject_Type)";
if (metaClass->isNamespace() || metaClass->hasPrivateDestructor()) {
tp_flags = "Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES";