Update comments about TODO.
This commit is contained in:
1 parent
4a64ca58ac
commit
2af35673bb
3 files changed
+6
-3
No files matched your search
+3
-1
@@ -1130,7 +1130,8 @@ string_utf8_p(string_t str)
|
||||
}
|
||||
|
||||
|
||||
/* Define the split function for algorithm inclusion */
|
||||
/* Define the split & the join functions
|
||||
in case of usage with the algorithm module */
|
||||
#define STRING_SPLIT(name, oplist, type_oplist) \
|
||||
static inline void M_C(name, _split)(M_GET_TYPE oplist cont, \
|
||||
const string_t str, const char sep) \
|
||||
@@ -1143,6 +1144,7 @@ string_utf8_p(string_t str)
|
||||
char c = string_get_char(str, i); \
|
||||
if (c == sep) { \
|
||||
string_set_strn(tmp, &str->ptr[begin], i - begin); \
|
||||
/* TODO: PUSH_MOVE will be better if available */ \
|
||||
M_GET_PUSH oplist (cont, tmp); \
|
||||
begin = i + 1; \
|
||||
} \
|
||||
|
||||
Reference in new issue
Block a user