mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-16 07:14:07 +10:00
Moved type coersion check, functions can be compared
Also updated some tagged comments
This commit is contained in:
@@ -201,7 +201,7 @@ int test_value_hashing(void) {
|
||||
Toy_hashValue(f) != 0 ||
|
||||
Toy_hashValue(i) != 4147366645 ||
|
||||
Toy_hashValue(s) != 994097935 ||
|
||||
TOY_VALUE_AS_STRING(s)->info.cachedHash == 0 || //TODO: check this
|
||||
TOY_VALUE_AS_STRING(s)->info.cachedHash == 0 ||
|
||||
Toy_hashValue(a) != 2544446955
|
||||
)
|
||||
{
|
||||
@@ -598,6 +598,7 @@ int main(void) {
|
||||
}
|
||||
|
||||
//TODO: references
|
||||
//TODO: type coersions
|
||||
|
||||
return total;
|
||||
}
|
||||
Reference in New Issue
Block a user