mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-03 10:57:15 -04:00
Full Unicode Support
This commit is contained in:
1 parent
3ed75b22a3
commit
dcbb2fcfbd
16 files changed
+16019
-116
No files matched your search
+1
-6
@@ -25,12 +25,7 @@ gb_inline String make_string(char *text) {
|
||||
|
||||
gb_inline b32 are_strings_equal(String a, String b) {
|
||||
if (a.len == b.len) {
|
||||
for (isize i = 0; i < a.len; i++) {
|
||||
if (a.text[i] != b.text[i]) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
return gb_memcompare(a.text, b.text, a.len) == 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user