diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-02 17:15:07 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-02 17:44:32 -0200 |
commit | 11840009c679ef0e1114894d3c286e595b83d54d (patch) | |
tree | b5f9ddec8c770bc755d60a925257776e0c406006 /cppgenerator.h | |
parent | f6c452eb4e262f3870846316000dfa8e02983a32 (diff) |
- Write return value policy on reimplementations of virtual functions.
- Decref references returned by the python implemantation.
- Print error, if it happen on python code of an virtual function called from C++.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'cppgenerator.h')
-rw-r--r-- | cppgenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppgenerator.h b/cppgenerator.h index b8dc25494..c059f2d12 100644 --- a/cppgenerator.h +++ b/cppgenerator.h @@ -148,7 +148,7 @@ private: void writeSpecialCastFunction(QTextStream& s, const AbstractMetaClass* metaClass); void writeParentChildManagement(QTextStream& s, const AbstractMetaFunction* func); - void writeReturnValueHeuristics(QTextStream& s, const AbstractMetaFunction* func); + void writeReturnValueHeuristics(QTextStream& s, const AbstractMetaFunction* func, const QString& self = "self"); /** * Returns the multiple inheritance initializer function for the given class. * \param metaClass the class for whom the function name must be generated. |