aboutsummaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r--generator/cppgenerator.h5
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