aboutsummaryrefslogtreecommitdiffstats
path: root/cppgenerator.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-02-23 16:57:48 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-02-23 19:27:31 -0300
commit58665a95e5f798f76d4ee01f2790f416d494da3c (patch)
treee4e34cb15cd5281f546a68df82e5f807f8b702bf /cppgenerator.h
parentf26689a4061e88b2f4c6bb591c076934065490d5 (diff)
Write hash function for types with hash function specified in typesystem.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'cppgenerator.h')
-rw-r--r--cppgenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cppgenerator.h b/cppgenerator.h
index 136a1fb71..e11be7e8f 100644
--- a/cppgenerator.h
+++ b/cppgenerator.h
@@ -171,6 +171,7 @@ private:
/// Returns true if generator should produce getters and setters for the given class.
bool shouldGenerateGetSetList(const AbstractMetaClass* metaClass);
+ void writeHashFunction(QTextStream& s, const AbstractMetaClass* metaClass);
// Maps special function names to function parameters and return types
// used by CPython API in the sequence protocol.