From e5fb8ee50dbcb0eab68260efe95c985ddc979e00 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Thu, 18 Aug 2011 17:00:32 -0300 Subject: Fixed generator to consider conversion rules for the return type of wrapper methods. Tests were added. Reviewed by Hugo Parente Reviewed by Lauro Moura --- generator/cppgenerator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generator/cppgenerator.h') 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 -- cgit v1.2.3