From 3afa514e11dc16e3a166b39ad411465abd971d8a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 16 Jan 2012 22:32:56 -0700 Subject: Lists (arrays) are now properly inedxable. --- src/variable.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/variable.h') diff --git a/src/variable.h b/src/variable.h index 2eedcbb..2e84ae1 100644 --- a/src/variable.h +++ b/src/variable.h @@ -5,6 +5,7 @@ #include #include +#include #include "enums.h" @@ -52,7 +53,7 @@ public: Type getType() const { return eType; } - typedef Bu::List VariableList; + typedef Bu::Array VariableArray; typedef Bu::Hash VariableHash; bool getBool() const; @@ -61,7 +62,7 @@ public: Bu::String getString() const; VariableRef getVariableRef() const; Variable *getVariablePtr() const; - const VariableList &getList() const; + const VariableArray &getList() const; const VariableHash &getHash() const; Variable to( Type e ) const; @@ -101,7 +102,7 @@ private: double fValue; bool bValue; Bu::String *sValue; - VariableList *lValue; + VariableArray *lValue; VariableHash *hValue; VariableRef *rValue; Variable *pValue; -- cgit v1.2.3