aboutsummaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-07-29 04:23:51 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:06 -0300
commit3c39aa5f2e05ad34e67f07b2f7262f419f9ce3b6 (patch)
tree64732f5eae7f640170bdb56aae8fbee625196b58 /generator/cppgenerator.h
parent4e839b8209e31ea48b264622240b3c4939e6cefd (diff)
Moved the generation of Python result error checking to a single function.
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 a324422df..8f8509030 100644
--- a/generator/cppgenerator.h
+++ b/generator/cppgenerator.h
@@ -57,6 +57,7 @@ private:
void writeCppSelfDefinition(QTextStream& s, const AbstractMetaClass* metaClass, bool hasStaticOverload = false);
void writeErrorSection(QTextStream& s, OverloadData& overloadData);
+ void writeFunctionReturnErrorCheckSection(QTextStream& s, bool hasReturnValue = true);
/// Writes the check section for the validity of wrapped C++ objects.
void writeInvalidPyObjectCheck(QTextStream& s, const QString& pyObj);