Mercurial > vim
comparison src/proto/strings.pro @ 25206:dc66d0284518 v8.2.3139
patch 8.2.3139: functions for string manipulation are spread out
Commit: https://github.com/vim/vim/commit/a2438132a675be4dde3acbdf03ba1fdb2f09427c
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Jul 10 21:29:18 2021 +0200
patch 8.2.3139: functions for string manipulation are spread out
Problem: Functions for string manipulation are spread out.
Solution: Move string related functions to a new source file. (Yegappan
Lakshmanan, closes #8470)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Jul 2021 21:30:04 +0200 |
parents | |
children | 2126feddeda6 |
comparison
equal
deleted
inserted
replaced
25205:362cabc968e8 | 25206:dc66d0284518 |
---|---|
1 /* strings.c */ | |
2 char_u *vim_strsave(char_u *string); | |
3 char_u *vim_strnsave(char_u *string, size_t len); | |
4 char_u *vim_strsave_escaped(char_u *string, char_u *esc_chars); | |
5 char_u *vim_strsave_escaped_ext(char_u *string, char_u *esc_chars, int cc, int bsl); | |
6 int csh_like_shell(void); | |
7 char_u *vim_strsave_shellescape(char_u *string, int do_special, int do_newline); | |
8 char_u *vim_strsave_up(char_u *string); | |
9 char_u *vim_strnsave_up(char_u *string, size_t len); | |
10 void vim_strup(char_u *p); | |
11 char_u *strlow_save(char_u *orig); | |
12 void del_trailing_spaces(char_u *ptr); | |
13 void vim_strncpy(char_u *to, char_u *from, size_t len); | |
14 void vim_strcat(char_u *to, char_u *from, size_t tosize); | |
15 int vim_stricmp(char *s1, char *s2); | |
16 int vim_strnicmp(char *s1, char *s2, size_t len); | |
17 char_u *vim_strchr(char_u *string, int c); | |
18 char_u *vim_strbyte(char_u *string, int c); | |
19 char_u *vim_strrchr(char_u *string, int c); | |
20 void sort_strings(char_u **files, int count); | |
21 int has_non_ascii(char_u *s); | |
22 char_u *concat_str(char_u *str1, char_u *str2); | |
23 char_u *string_quote(char_u *str, int function); | |
24 void f_byteidx(typval_T *argvars, typval_T *rettv); | |
25 void f_byteidxcomp(typval_T *argvars, typval_T *rettv); | |
26 void f_charidx(typval_T *argvars, typval_T *rettv); | |
27 void f_str2list(typval_T *argvars, typval_T *rettv); | |
28 void f_str2nr(typval_T *argvars, typval_T *rettv); | |
29 void f_strgetchar(typval_T *argvars, typval_T *rettv); | |
30 void f_stridx(typval_T *argvars, typval_T *rettv); | |
31 void f_string(typval_T *argvars, typval_T *rettv); | |
32 void f_strlen(typval_T *argvars, typval_T *rettv); | |
33 void f_strcharlen(typval_T *argvars, typval_T *rettv); | |
34 void f_strchars(typval_T *argvars, typval_T *rettv); | |
35 void f_strdisplaywidth(typval_T *argvars, typval_T *rettv); | |
36 void f_strwidth(typval_T *argvars, typval_T *rettv); | |
37 void f_strcharpart(typval_T *argvars, typval_T *rettv); | |
38 void f_strpart(typval_T *argvars, typval_T *rettv); | |
39 void f_strridx(typval_T *argvars, typval_T *rettv); | |
40 void f_strtrans(typval_T *argvars, typval_T *rettv); | |
41 void f_tolower(typval_T *argvars, typval_T *rettv); | |
42 void f_toupper(typval_T *argvars, typval_T *rettv); | |
43 void f_tr(typval_T *argvars, typval_T *rettv); | |
44 void f_trim(typval_T *argvars, typval_T *rettv); | |
45 /* vim: set ft=c : */ |