diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-03 20:22:24 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-10 08:42:22 -0300 |
commit | d3bec23d192e3570cbf0a73fd27dfda2077402d7 (patch) | |
tree | 69d7507cecdcd0fc5a2f9a761d50723f6986c4b3 /cppgenerator.h | |
parent | f9e7cacfd4654dad676875b39b463ae1f6f72258 (diff) |
Adds a new overload to CppGenerator::writeTypeCheck.
The new writeTypeCheck method receives an AbstractMetaType instead
of an OverloadData. The core functionality was moved to the new
method that is called by the old one after it had its own stuff done.
Diffstat (limited to 'cppgenerator.h')
-rw-r--r-- | cppgenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cppgenerator.h b/cppgenerator.h index c059f2d12..a9cf51549 100644 --- a/cppgenerator.h +++ b/cppgenerator.h @@ -65,6 +65,7 @@ private: * \param type the TypeEntry passed when the validity check must confirm the type of the Python wrapper to be checked */ void writeInvalidCppObjectCheck(QTextStream& s, QString pyArgName = "self", const TypeEntry* type = 0); + void writeTypeCheck(QTextStream& s, const AbstractMetaType* argType, QString argumentName, QString customCheck = ""); void writeTypeCheck(QTextStream& s, const OverloadData* overloadData, QString argumentName); void writeTypeConverterImpl(QTextStream& s, const TypeEntry* type); |