summaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-19 19:04:30 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-23 13:37:10 -0200
commit622e6f61a08b8ef31dd996609d69812f53e566b8 (patch)
treedbe1925a6cbaef715da32a5946fde818c4873762 /generator/cppgenerator.cpp
parent2a3262852ad7f44648624e1c2f20393fa02019da (diff)
downloadshiboken-622e6f61a08b8ef31dd996609d69812f53e566b8.tar.gz
shiboken-622e6f61a08b8ef31dd996609d69812f53e566b8.tar.xz
shiboken-622e6f61a08b8ef31dd996609d69812f53e566b8.zip
SbkBaseType_Type renamed to SbkObjectType_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 aaa6d679..6e7ba558 100644
--- a/generator/cppgenerator.cpp
+++ b/generator/cppgenerator.cpp
@@ -2413,7 +2413,7 @@ void CppGenerator::writeClassDefinition(QTextStream& s, const AbstractMetaClass*
s << "// Class Definition -----------------------------------------------" << endl;
s << "extern \"C\" {" << endl;
s << "static SbkObjectType " << className + "_Type" << " = { { {" << endl;
- s << INDENT << "PyObject_HEAD_INIT(&SbkBaseType_Type)" << endl;
+ s << INDENT << "PyObject_HEAD_INIT(&SbkObjectType_Type)" << endl;
s << INDENT << "/*ob_size*/ 0," << endl;
s << INDENT << "/*tp_name*/ \"" << metaClass->fullName() << "\"," << endl;
s << INDENT << "/*tp_basicsize*/ sizeof(SbkObject)," << endl;