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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* charset.c */
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
2 int init_chartab __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
3 int buf_init_chartab __ARGS((buf_T *buf, int global));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
4 void trans_characters __ARGS((char_u *buf, int bufsize));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
5 char_u *transstr __ARGS((char_u *s));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
6 char_u *str_foldcase __ARGS((char_u *str, int orglen, char_u *buf, int buflen));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
7 char_u *transchar __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
8 char_u *transchar_byte __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
9 void transchar_nonprint __ARGS((char_u *buf, int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
10 void transchar_hex __ARGS((char_u *buf, int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
11 int byte2cells __ARGS((int b));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
12 int char2cells __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
13 int ptr2cells __ARGS((char_u *p));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
14 int vim_strsize __ARGS((char_u *s));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
15 int vim_strnsize __ARGS((char_u *s, int len));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
16 int chartabsize __ARGS((char_u *p, colnr_T col));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
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
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 4043
diff changeset
19 int win_linetabsize __ARGS((win_T *wp, char_u *line, colnr_T len));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
20 int vim_isIDc __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
21 int vim_iswordc __ARGS((int c));
4043
80b041b994d1 updated for version 7.3.776
Bram Moolenaar <bram@vim.org>
parents: 2339
diff changeset
22 int vim_iswordc_buf __ARGS((int c, buf_T *buf));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
23 int vim_iswordp __ARGS((char_u *p));
4043
80b041b994d1 updated for version 7.3.776
Bram Moolenaar <bram@vim.org>
parents: 2339
diff changeset
24 int vim_iswordp_buf __ARGS((char_u *p, buf_T *buf));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
25 int vim_isfilec __ARGS((int c));
1369
1d4c67f84709 updated for version 7.1-084
vimboss
parents: 1121
diff changeset
26 int vim_isfilec_or_wc __ARGS((int c));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
27 int vim_isprintc __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
28 int vim_isprintc_strict __ARGS((int c));
5995
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 4043
diff changeset
29 int lbr_chartabsize __ARGS((char_u *line, unsigned char *s, colnr_T col));
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 4043
diff changeset
30 int lbr_chartabsize_adv __ARGS((char_u *line, char_u **s, colnr_T col));
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 4043
diff changeset
31 int win_lbr_chartabsize __ARGS((win_T *wp, char_u *line, char_u *s, colnr_T col, int *headp));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
32 int in_win_border __ARGS((win_T *wp, colnr_T vcol));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
33 void getvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
34 colnr_T getvcol_nolist __ARGS((pos_T *posp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
35 void getvvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
36 void getvcols __ARGS((win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right));
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1369
diff changeset
37 char_u *skipwhite __ARGS((char_u *q));
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1369
diff changeset
38 char_u *skipdigits __ARGS((char_u *q));
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1369
diff changeset
39 char_u *skiphex __ARGS((char_u *q));
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1369
diff changeset
40 char_u *skiptodigit __ARGS((char_u *q));
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1369
diff changeset
41 char_u *skiptohex __ARGS((char_u *q));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
42 int vim_isdigit __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
43 int vim_isxdigit __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
44 int vim_islower __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
45 int vim_isupper __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
46 int vim_toupper __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
47 int vim_tolower __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
48 char_u *skiptowhite __ARGS((char_u *p));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
49 char_u *skiptowhite_esc __ARGS((char_u *p));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
50 long getdigits __ARGS((char_u **pp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
51 int vim_isblankline __ARGS((char_u *lbuf));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
52 void vim_str2nr __ARGS((char_u *start, int *hexp, int *len, int dooct, int dohex, long *nptr, unsigned long *unptr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
53 int hex2nr __ARGS((int c));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
54 int hexhex2nr __ARGS((char_u *p));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
55 int rem_backslash __ARGS((char_u *str));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
56 void backslash_halve __ARGS((char_u *p));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
57 char_u *backslash_halve_save __ARGS((char_u *p));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
58 void ebcdic2ascii __ARGS((char_u *buffer, int len));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 /* vim: set ft=c : */