forked from aniani/vim
patch 9.0.1515: reverse() does not work for a String
Problem: reverse() does not work for a String.
Solution: Implement reverse() for a String. (Yegappan Lakshmanan,
closes #12179)
This commit is contained in:
committed by
Bram Moolenaar
parent
45fcb7928a
commit
03ff1c2dde
@@ -23,6 +23,7 @@ int has_non_ascii(char_u *s);
|
||||
char_u *concat_str(char_u *str1, char_u *str2);
|
||||
char_u *string_quote(char_u *str, int function);
|
||||
long string_count(char_u *haystack, char_u *needle, int ic);
|
||||
void string_reverse(char_u *str, typval_T *rettv);
|
||||
void string_filter_map(char_u *str, filtermap_T filtermap, typval_T *expr, typval_T *rettv);
|
||||
void string_reduce(typval_T *argvars, typval_T *expr, typval_T *rettv);
|
||||
void f_byteidx(typval_T *argvars, typval_T *rettv);
|
||||
|
||||
Reference in New Issue
Block a user