aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-23 16:27:01 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:01 -0300
commitd8b38821c1a2c4405506cefcf3dba284cbf2162d (patch)
treebd02bcffe2b13501c8650e32b288db055b6ce390 /typesystem.cpp
parent1e2a9f164bfd612c1ee102a9847309f39e1e92d2 (diff)
Do not generate bindings for global functions when the typesystem was loaded with generate=no.
Reviewer: Lauro Moura <lauro.neto@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'typesystem.cpp')
-rw-r--r--typesystem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/typesystem.cpp b/typesystem.cpp
index 267777564..4d4bdaca5 100644
--- a/typesystem.cpp
+++ b/typesystem.cpp
@@ -629,6 +629,7 @@ bool Handler::startElement(const QString &, const QString &n,
}
} else {
element->entry = new FunctionTypeEntry(name, signature);
+ element->entry->setCodeGeneration(m_generate);
}
}
break;