diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-09-20 19:32:38 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:17:15 -0300 |
commit | 5d6f2193395afab85e444b61761484197d45a93c (patch) | |
tree | c8f56441aca76b2b076083b5c6bb3c89477fca15 /generator | |
parent | a2d5bb825977e1f7952a89c64ed2e6e307ae1f78 (diff) |
Added SBK_PyString_FromCString and SBK_PyString_FromFormat as helper macro for Py3k port.
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 ea4ab03c5..bdcf9f70e 100644 --- a/generator/cppgenerator.cpp +++ b/generator/cppgenerator.cpp @@ -1408,7 +1408,7 @@ void CppGenerator::writeErrorSection(QTextStream& s, OverloadData& overloadData) QString strArg; AbstractMetaType* argType = arg->type(); if (isCString(argType)) { - strArg = "str"; + strArg = "\"SBK_STR_NAME\""; } else if (argType->isPrimitive()) { const PrimitiveTypeEntry* ptp = reinterpret_cast<const PrimitiveTypeEntry*>(argType->typeEntry()); while (ptp->aliasedTypeEntry()) |