summaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-09-30 17:33:26 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-09-30 18:21:28 -0300
commit9f05e7d6b625c738f96f16d02f27f93bb1c3fbd9 (patch)
treec8809294ee66d379906b04e6dcfed2e8a3b04644 /generator/cppgenerator.h
parentdcf1b0969fc4e5fc7c92232140ac1d1d751905a2 (diff)
downloadshiboken-9f05e7d6b625c738f96f16d02f27f93bb1c3fbd9.tar.gz
shiboken-9f05e7d6b625c738f96f16d02f27f93bb1c3fbd9.tar.xz
shiboken-9f05e7d6b625c738f96f16d02f27f93bb1c3fbd9.zip
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h
index b4d68dc4..3869b1bc 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.