mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 10:22:08 +00:00
Full Unicode Support
This commit is contained in:
@@ -34,6 +34,7 @@ gb_inline HashKey hash_pointer(void *ptr) {
|
||||
|
||||
b32 hash_key_equal(HashKey a, HashKey b) {
|
||||
if (a.key == b.key) {
|
||||
// NOTE(bill): If two string's hashes collide, compare the strings themselves
|
||||
if (a.is_string) {
|
||||
if (b.is_string) return are_strings_equal(a.string, b.string);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user