diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-09-30 17:33:26 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:07:19 -0300 |
commit | 8cc21eee84d96240510750d627e4bfccff5f40db (patch) | |
tree | 1f995f20ce16312c33437224168a46c0c3414b7b /generator/cppgenerator.h | |
parent | 15d595ec399f6e298a4ae7a52f7740ac6d70ccb4 (diff) |
Fix bug#267 - "Provide human-readable object strings (__repr__)"
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r-- | generator/cppgenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h index b4d68dc45..3869b1bc1 100644 --- a/generator/cppgenerator.h +++ b/generator/cppgenerator.h @@ -190,6 +190,7 @@ private: // Write default implementations for sequence protocol void writeStdListWrapperMethods(QTextStream& s, const AbstractMetaClass* metaClass); + QString writeReprFunction(QTextStream& s, const AbstractMetaClass* metaClass); // Maps special function names to function parameters and return types // used by CPython API in the sequence protocol. |