diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-12-16 18:30:17 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-12-16 18:42:37 -0300 |
commit | 0a740ad90f467ccdf00cb674eb80310ddb115b50 (patch) | |
tree | 39f8d5d241311d3ab1f07ec9241fa1541bc7b9d7 /abstractmetalang.h | |
parent | f2fd366c90dd64a37f48e5ea554b8aebf00b6de5 (diff) |
Adds support for varargs in AbstractMetaArgument, AbstractMetaType and VarargsTypeEntry.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'abstractmetalang.h')
-rw-r--r-- | abstractmetalang.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/abstractmetalang.h b/abstractmetalang.h index eb51dc643..061d91365 100644 --- a/abstractmetalang.h +++ b/abstractmetalang.h @@ -320,6 +320,7 @@ public: NativePointerPattern, ContainerPattern, VariantPattern, + VarargsPattern, JObjectWrapperPattern, ArrayPattern, ThreadPattern @@ -456,6 +457,12 @@ public: return m_pattern == VariantPattern; } + // return true if the type was originally a varargs + bool isVarargs() const + { + return m_pattern == VarargsPattern; + } + // return true if the type was originally a JObjectWrapper or const JObjectWrapper & bool isJObjectWrapper() const { |