summaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.cpp
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-12-15 18:28:27 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-12-16 14:11:34 -0300
commit4b866fc793113e84c276eb972eb99a457074018c (patch)
treeb17eac277cf8cf5c289e8cbc84a175d09304ed7b /generator/cppgenerator.cpp
parent5d07b706d29cb80aa10b34fad1f883a78266a9c2 (diff)
downloadshiboken-4b866fc793113e84c276eb972eb99a457074018c.tar.gz
shiboken-4b866fc793113e84c276eb972eb99a457074018c.tar.xz
shiboken-4b866fc793113e84c276eb972eb99a457074018c.zip
Fixed typo on generated error message.
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 58213781..29a70582 100644
--- a/generator/cppgenerator.cpp
+++ b/generator/cppgenerator.cpp
@@ -758,7 +758,7 @@ void CppGenerator::writeVirtualMethodNative(QTextStream &s, const AbstractMetaFu
s << INDENT << "if (" << PYTHON_RETURN_VAR << "->ob_refcnt < 2) {" << endl;
{
Indentation indent(INDENT);
- s << INDENT << "PyErr_SetString(PyExc_ReferenceError, \"Returning last python reference on virutal function: "
+ s << INDENT << "PyErr_SetString(PyExc_ReferenceError, \"Returning last python reference on virtual function: "
<< func->ownerClass()->name() << "." << func->name() << "\");" << endl;
s << INDENT << "PyErr_Print();" << endl;
s << INDENT << "assert(false);" << endl;