Update string trim
This commit is contained in:
@@ -34,6 +34,9 @@ extern void libcdsb_string_replace(str_t* x, char* p, size_t n, const char* v, s
|
||||
#ifdef string_replace
|
||||
#undef string_replace
|
||||
#endif
|
||||
#ifdef string_trim_spaces
|
||||
#undef string_trim_spaces
|
||||
#endif
|
||||
|
||||
#define string_replace libcdsb_string_replace
|
||||
#define string_indexof_cstring libcdsb_string_indexof_cstring
|
||||
@@ -42,12 +45,9 @@ extern void libcdsb_string_replace(str_t* x, char* p, size_t n, const char* v, s
|
||||
#define string_count_char libcdsb_string_count_char
|
||||
#define string_concat_cstring libcdsb_string_concat_cstring
|
||||
#define string_concat_char libcdsb_string_concat_char
|
||||
#define string_trim_spaces libcdsb_string_trim_spaces
|
||||
#define string_trim_cstring libcdsb_string_trim_cstring
|
||||
#define string_trim_char libcdsb_string_trim_char
|
||||
#define string_ltrim_cstring libcdsb_string_ltrim_cstring
|
||||
#define string_ltrim_char libcdsb_string_ltrim_char
|
||||
#define string_rtrim_cstring libcdsb_string_rtrim_cstring
|
||||
#define string_rtrim_char libcdsb_string_rtrim_char
|
||||
#define string_replace_cstring_cstring libcdsb_string_replace_cstring_cstring
|
||||
#define string_replace_cstring_char libcdsb_string_replace_cstring_char
|
||||
#define string_replace_char_cstring libcdsb_string_replace_char_cstring
|
||||
|
||||
Reference in New Issue
Block a user