Added Source:getType, removed Source:isStatic (resolves issue #776)

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2014-01-15 04:02:24 -04:00
parent 639ddedc0a
commit b1edf5e7bf
8 changed files with 23 additions and 23 deletions
+5
View File
@@ -34,6 +34,11 @@ Source::~Source()
{
}
Source::Type Source::getType() const
{
return type;
}
bool Source::getConstant(const char *in, Type &out)
{
return types.find(in, out);