diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-08-02 17:01:40 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:17:07 -0300 |
commit | f9e9189be4b622b74d0df2787a09f93fe7a5d0ae (patch) | |
tree | 37e5c07fb73a638e65a13352cb3c50304135d6e7 /generator/cppgenerator.h | |
parent | 3e8c945bdc731fb7c9eaff0007abc02bfa1e5c37 (diff) |
Disassembled ShibokenGenerator's writeCodeSnips method.
Also added writeConversionRule methods to CppGenerator.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r-- | generator/cppgenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h index c6cda3184..4dea57bd2 100644 --- a/generator/cppgenerator.h +++ b/generator/cppgenerator.h @@ -109,6 +109,11 @@ private: const AbstractMetaClass* context = 0, const QString& defaultValue = QString()); + /// Writes the conversion rule for arguments of regular and virtual methods. + void writeConversionRule(QTextStream& s, const AbstractMetaFunction* func, TypeSystem::Language language); + /// Writes the conversion rule for the return value of a virtual method. + void writeConversionRule(QTextStream& s, const AbstractMetaFunction* func, const QString& outputVar); + /** * 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 |