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

This commit is contained in:
2026-07-30 21:56:41 +08:00
parent cfc30d735c
commit 377b60fd67
54 changed files with 129 additions and 3730 deletions

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