Added '__equal' metamethod, slightly refactored cosmoO_equal

- ISTRING_EQUAL has been added
This commit is contained in:
2021-02-20 12:42:13 -06:00
parent 3890c9dd1e
commit c83dca2ab2
3 changed files with 33 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ typedef enum IStringEnum {
ISTRING_INIT, // __init
ISTRING_TOSTRING, // __tostring
ISTRING_TONUMBER, // __tonumber
ISTRING_EQUAL, // __equals
ISTRING_INDEX, // __index
ISTRING_NEWINDEX, // __newindex
ISTRING_COUNT, // __count