diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-07-28 04:31:35 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:17:05 -0300 |
commit | 454efd2e01c06832bedc89a93e139dd6f011a296 (patch) | |
tree | 6d1f63d70a979510e4608e8feae731421b7ae03b /generator/cppgenerator.h | |
parent | 767e21c15eb9a400fb43eda35fa3aea01330e8b6 (diff) |
All Python to C++ conversions were moved to CppGenerator::writePythonToCppTypeConversion().
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r-- | generator/cppgenerator.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h index 700ea4ff3..dd02cb6ad 100644 --- a/generator/cppgenerator.h +++ b/generator/cppgenerator.h @@ -94,6 +94,13 @@ private: writeArgumentConversion(s, arg->type(), argName, pyArgName, context, defaultValue); } + void writePythonToCppTypeConversion(QTextStream& s, + const AbstractMetaType* type, + const QString& pyIn, + const QString& cppOut, + const AbstractMetaClass* context = 0, + const QString& defaultValue = QString()); + /** * Set the Python method wrapper return value variable to Py_None if * there are return types different from void in any of the other overloads |