Renamed "string_pos" function to "string_find"

This commit is contained in:
NovaRain
2023-08-09 08:57:03 +08:00
parent 2677d9faa7
commit 8fd5182bb5
6 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -390,8 +390,8 @@
#define spatial_radius(obj) sfall_func1("spatial_radius", obj)
#define string_compare(str1, str2) sfall_func2("string_compare", str1, str2)
#define string_compare_locale(str1, str2, codePage) sfall_func3("string_compare", str1, str2, codePage)
#define string_pos(haystack, needle) sfall_func2("string_pos", haystack, needle)
#define string_pos_from(haystack, needle, pos) sfall_func3("string_pos", haystack, needle, pos)
#define string_find(haystack, needle) sfall_func2("string_find", haystack, needle)
#define string_find_from(haystack, needle, pos) sfall_func3("string_find", haystack, needle, pos)
#define string_format1(format, a1) sfall_func2("string_format", format, a1)
#define string_format2(format, a1, a2) sfall_func3("string_format", format, a1, a2)
#define string_format3(format, a1, a2, a3) sfall_func4("string_format", format, a1, a2, a3)