diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 14:36:07 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-10 15:36:29 -0200 |
commit | 50fae8be6d673c56a10cd414e9f7da1a5151b062 (patch) | |
tree | 40fef1af0e48c461ac6a5d52c8f3a7e807db9eb1 /generator/cppgenerator.cpp | |
parent | 7090a14a3412af1d857d3a995dfdb7e575ebf22a (diff) | |
download | shiboken-50fae8be6d673c56a10cd414e9f7da1a5151b062.tar.gz shiboken-50fae8be6d673c56a10cd414e9f7da1a5151b062.tar.xz shiboken-50fae8be6d673c56a10cd414e9f7da1a5151b062.zip |
Variable SbkBaseWrapperType_Type renamed to SbkObjectType_Type
Diffstat (limited to 'generator/cppgenerator.cpp')
-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 8e0706bf..a5446037 100644 --- a/generator/cppgenerator.cpp +++ b/generator/cppgenerator.cpp @@ -2426,7 +2426,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(&SbkBaseWrapperType_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; |