aboutsummaryrefslogtreecommitdiffstats
path: root/overloaddata.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-01-14 17:19:43 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-01-15 20:12:25 -0300
commit24a81fbd44393b109828940f2cebc4644f1f7ba8 (patch)
tree1406fcd487ff12de55ed3975b135de672dca267e /overloaddata.h
parent57431112269fe3a17e9e68dd08ee8dc65620bca7 (diff)
Adds OverloadData::hasAllowThread() method.
The method checks if any of the functions in OverloadData have allow-thread flag set to true.
Diffstat (limited to 'overloaddata.h')
-rw-r--r--overloaddata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/overloaddata.h b/overloaddata.h
index e77a10c0d..86c93cfef 100644
--- a/overloaddata.h
+++ b/overloaddata.h
@@ -54,6 +54,9 @@ public:
/// Returns true if any of the overloads for the current OverloadData has a varargs argument.
bool hasVarargs() const;
+ /// Returns true if any of the overloads for the current OverloadData allows threads when called.
+ bool hasAllowThread() const;
+
const AbstractMetaFunction* referenceFunction() const;
const AbstractMetaArgument* argument(const AbstractMetaFunction* func) const;
OverloadDataList overloadDataOnPosition(int argPos) const;