Make == script operator to work correctly on collections (lists)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@992 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-06-18 23:11:26 +00:00
parent b7ffca6cfc
commit a9c5f72fdc
5 changed files with 46 additions and 30 deletions
+2 -1
View File
@@ -29,6 +29,7 @@ enum ScriptType
, SCRIPT_FUNCTION
, SCRIPT_OBJECT // Only ScriptObject
, SCRIPT_COLLECTION
, SCRIPT_REGEX
, SCRIPT_ITERATOR
, SCRIPT_DUMMY
, SCRIPT_ERROR
@@ -102,7 +103,7 @@ extern ScriptValueP script_false; ///< The preallocated false value
extern ScriptValueP dependency_dummy; ///< Dummy value used during dependency analysis
/// compare script values for equallity
bool equal(const ScriptValue& a, const ScriptValue& b);
bool equal(const ScriptValueP& a, const ScriptValueP& b);
// ----------------------------------------------------------------------------- : EOF
#endif