[utils] string_replace also creates a copy
This commit is contained in:
@@ -55,7 +55,7 @@ void string_lower(char *s);
|
||||
bool string_is_upper(char *s);
|
||||
void string_upper(char *s);
|
||||
|
||||
void string_replace(char *s, char c1, char c2);
|
||||
char *string_replace(char *s, char c1, char c2);
|
||||
|
||||
bool string_starts_with(const char *str, const char *start);
|
||||
bool string_ends_with(const char *str, const char *ending);
|
||||
|
||||
Reference in New Issue
Block a user