ds: add verbs to string function names
This commit is contained in:
+3
-3
@@ -1426,12 +1426,12 @@ bool fx_string_compare(const fx_string *a, const fx_string *b)
|
|||||||
return string_compare(ap, bp);
|
return string_compare(ap, bp);
|
||||||
}
|
}
|
||||||
|
|
||||||
char fx_string_front(const fx_string *str)
|
char fx_string_get_first_char(const fx_string *str)
|
||||||
{
|
{
|
||||||
FX_CLASS_DISPATCH_STATIC_0(FX_TYPE_STRING, string_front, str);
|
FX_CLASS_DISPATCH_STATIC_0(FX_TYPE_STRING, string_front, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
char fx_string_back(const fx_string *str)
|
char fx_string_get_last_char(const fx_string *str)
|
||||||
{
|
{
|
||||||
FX_CLASS_DISPATCH_STATIC_0(FX_TYPE_STRING, string_back, str);
|
FX_CLASS_DISPATCH_STATIC_0(FX_TYPE_STRING, string_back, str);
|
||||||
}
|
}
|
||||||
@@ -1446,7 +1446,7 @@ const char *fx_string_get_cstr(const fx_string *str)
|
|||||||
FX_CLASS_DISPATCH_STATIC_0(FX_TYPE_STRING, string_ptr, str);
|
FX_CLASS_DISPATCH_STATIC_0(FX_TYPE_STRING, string_ptr, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
fx_string *fx_string_substr(const fx_string *str, size_t start, size_t len)
|
fx_string *fx_string_get_substr(const fx_string *str, size_t start, size_t len)
|
||||||
{
|
{
|
||||||
FX_CLASS_DISPATCH_STATIC(
|
FX_CLASS_DISPATCH_STATIC(
|
||||||
FX_TYPE_STRING,
|
FX_TYPE_STRING,
|
||||||
|
|||||||
Reference in New Issue
Block a user