Mercurial > vim
annotate src/proto/charset.pro @ 6747:4c4c8a53347b v7.4.696
patch 7.4.696
Problem: Not freeing memory when encountering an error.
Solution: Free the stack before returning. (Eliseo Mart?nez)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 13 Apr 2015 15:28:12 +0200 |
parents | ef83b423ebf7 |
children | 58d9f967ae1a |
rev | line source |
---|---|
7 | 1 /* charset.c */ |
1121 | 2 int init_chartab __ARGS((void)); |
3 int buf_init_chartab __ARGS((buf_T *buf, int global)); | |
4 void trans_characters __ARGS((char_u *buf, int bufsize)); | |
5 char_u *transstr __ARGS((char_u *s)); | |
6 char_u *str_foldcase __ARGS((char_u *str, int orglen, char_u *buf, int buflen)); | |
7 char_u *transchar __ARGS((int c)); | |
8 char_u *transchar_byte __ARGS((int c)); | |
9 void transchar_nonprint __ARGS((char_u *buf, int c)); | |
10 void transchar_hex __ARGS((char_u *buf, int c)); | |
11 int byte2cells __ARGS((int b)); | |
12 int char2cells __ARGS((int c)); | |
13 int ptr2cells __ARGS((char_u *p)); | |
14 int vim_strsize __ARGS((char_u *s)); | |
15 int vim_strnsize __ARGS((char_u *s, int len)); | |
16 int chartabsize __ARGS((char_u *p, colnr_T col)); | |
17 int linetabsize __ARGS((char_u *s)); | |
2339
01e4b4d37842
Added strdisplaywidth() function.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
18 int linetabsize_col __ARGS((int startcol, char_u *s)); |
5995 | 19 int win_linetabsize __ARGS((win_T *wp, char_u *line, colnr_T len)); |
1121 | 20 int vim_isIDc __ARGS((int c)); |
21 int vim_iswordc __ARGS((int c)); | |
4043 | 22 int vim_iswordc_buf __ARGS((int c, buf_T *buf)); |
1121 | 23 int vim_iswordp __ARGS((char_u *p)); |
4043 | 24 int vim_iswordp_buf __ARGS((char_u *p, buf_T *buf)); |
1121 | 25 int vim_isfilec __ARGS((int c)); |
1369 | 26 int vim_isfilec_or_wc __ARGS((int c)); |
1121 | 27 int vim_isprintc __ARGS((int c)); |
28 int vim_isprintc_strict __ARGS((int c)); | |
5995 | 29 int lbr_chartabsize __ARGS((char_u *line, unsigned char *s, colnr_T col)); |
30 int lbr_chartabsize_adv __ARGS((char_u *line, char_u **s, colnr_T col)); | |
31 int win_lbr_chartabsize __ARGS((win_T *wp, char_u *line, char_u *s, colnr_T col, int *headp)); | |
1121 | 32 int in_win_border __ARGS((win_T *wp, colnr_T vcol)); |
33 void getvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end)); | |
34 colnr_T getvcol_nolist __ARGS((pos_T *posp)); | |
35 void getvvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end)); | |
36 void getvcols __ARGS((win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right)); | |
1698 | 37 char_u *skipwhite __ARGS((char_u *q)); |
38 char_u *skipdigits __ARGS((char_u *q)); | |
39 char_u *skiphex __ARGS((char_u *q)); | |
40 char_u *skiptodigit __ARGS((char_u *q)); | |
41 char_u *skiptohex __ARGS((char_u *q)); | |
1121 | 42 int vim_isdigit __ARGS((int c)); |
43 int vim_isxdigit __ARGS((int c)); | |
44 int vim_islower __ARGS((int c)); | |
45 int vim_isupper __ARGS((int c)); | |
46 int vim_toupper __ARGS((int c)); | |
47 int vim_tolower __ARGS((int c)); | |
48 char_u *skiptowhite __ARGS((char_u *p)); | |
49 char_u *skiptowhite_esc __ARGS((char_u *p)); | |
50 long getdigits __ARGS((char_u **pp)); | |
51 int vim_isblankline __ARGS((char_u *lbuf)); | |
52 void vim_str2nr __ARGS((char_u *start, int *hexp, int *len, int dooct, int dohex, long *nptr, unsigned long *unptr)); | |
53 int hex2nr __ARGS((int c)); | |
54 int hexhex2nr __ARGS((char_u *p)); | |
55 int rem_backslash __ARGS((char_u *str)); | |
56 void backslash_halve __ARGS((char_u *p)); | |
57 char_u *backslash_halve_save __ARGS((char_u *p)); | |
58 void ebcdic2ascii __ARGS((char_u *buffer, int len)); | |
7 | 59 /* vim: set ft=c : */ |