From b24af354ea6f05253150179467aa77e7c999611e Mon Sep 17 00:00:00 2001 From: Renato Filho Date: Tue, 20 Apr 2010 19:56:45 -0300 Subject: Fixed argument policy propagate. Reviewer: Hugo Parente Lima , Luciano Wolf --- cppgenerator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cppgenerator.h') diff --git a/cppgenerator.h b/cppgenerator.h index c9d24d246..b0a9e143e 100644 --- a/cppgenerator.h +++ b/cppgenerator.h @@ -153,7 +153,8 @@ private: void writeExtendedToCppFunction(QTextStream& s, const TypeEntry* externalType, const QList& conversions); void writeExtendedConverterInitialization(QTextStream& s, const TypeEntry* externalType, const QList& conversions); - void writeParentChildManagement(QTextStream& s, const AbstractMetaFunction* func); + void writeParentChildManagement(QTextStream& s, const AbstractMetaFunction* func, bool userHeuristicForReturn); + bool writeParentChildManagement(QTextStream& s, const AbstractMetaFunction* func, int argIndex, bool userHeuristicPolicy); void writeReturnValueHeuristics(QTextStream& s, const AbstractMetaFunction* func, const QString& self = "self"); /** * Returns the multiple inheritance initializer function for the given class. -- cgit v1.2.3