aboutsummaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-08-18 17:00:32 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:12 -0300
commite5fb8ee50dbcb0eab68260efe95c985ddc979e00 (patch)
tree73d8cb3b7b5a7e6a048dfbd9c058249bad19e860 /generator/cppgenerator.h
parentb7169ca7fe92c5874076ff47f9b4ec7954acc480 (diff)
Fixed generator to consider conversion rules for the return type of wrapper methods.
Tests were added. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r--generator/cppgenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h
index 18eb01be0..82e89dece 100644
--- a/generator/cppgenerator.h
+++ b/generator/cppgenerator.h
@@ -113,8 +113,8 @@ private:
/// 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);
+ /// Writes the conversion rule for the return value of a method.
+ void writeConversionRule(QTextStream& s, const AbstractMetaFunction* func, TypeSystem::Language language, const QString& outputVar);
/**
* Set the Python method wrapper return value variable to Py_None if