取消了 i8* == i8* 实际使用 strcmp 的规则

This commit is contained in:
TermiNexus committed 2026-07-30 21:56:41 +08:00
1 parent cfc30d735c
commit 377b60fd67
54 files changed
+129 -3730

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ def strcmp(str1: str, str2: str) -> t.CInt:
return str1[0] - str2[0]
def samestr(str1: str, str2: str) -> bool:
return str1 == str2
return strcmp(str1, str2) == 0
# String compare function with limited length