diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-26 09:21:14 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-26 09:21:14 -0300 |
commit | 517d1c914879bcf243442aac4b393e8ee3c26ff9 (patch) | |
tree | 6bcd1d384addc06a2e19d104a18fb15341eb2a2e /cppgenerator.h | |
parent | ffbb8bb1df621ab3f31f859e62d21e06f9ed8a80 (diff) |
Renamed Shiboken's function cppObjectIsValid to cppObjectIsInvalid.
CppGenerator::writeInvalidCppObjectCheck receives the name of the PyObject
to be checked and do not set the exception message anymore, since it is
done by Shiboken::cppObjectIsInvalid.
Diffstat (limited to 'cppgenerator.h')
-rw-r--r-- | cppgenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppgenerator.h b/cppgenerator.h index a0e001f2f..639353413 100644 --- a/cppgenerator.h +++ b/cppgenerator.h @@ -55,7 +55,7 @@ private: void writeErrorSection(QTextStream& s, OverloadData& overloadData); /// Writes the check section for the validity of wrapped C++ objects. - void writeInvalidCppObjectCheck(QTextStream& s); + void writeInvalidCppObjectCheck(QTextStream& s, QString pyArgName = "self"); void writeTypeCheck(QTextStream& s, const OverloadData* overloadData, QString argumentName); void writeTypeConverterImpl(QTextStream& s, const TypeEntry* type); |