Mercurial > vim
annotate src/proto/misc1.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 | e13f8073c9f9 |
children | 1e621b31948b |
rev | line source |
---|---|
7 | 1 /* misc1.c */ |
1125 | 2 int get_indent __ARGS((void)); |
3 int get_indent_lnum __ARGS((linenr_T lnum)); | |
4 int get_indent_buf __ARGS((buf_T *buf, linenr_T lnum)); | |
5995 | 5 int get_indent_str __ARGS((char_u *ptr, int ts, int list)); |
1125 | 6 int set_indent __ARGS((int size, int flags)); |
7 int get_number_indent __ARGS((linenr_T lnum)); | |
6448 | 8 int get_breakindent_win __ARGS((win_T *wp, char_u *line)); |
3929 | 9 int open_line __ARGS((int dir, int flags, int second_line_indent)); |
10 int get_leader_len __ARGS((char_u *line, char_u **flags, int backward, int include_space)); | |
3562 | 11 int get_last_leader_offset __ARGS((char_u *line, char_u **flags)); |
1125 | 12 int plines __ARGS((linenr_T lnum)); |
13 int plines_win __ARGS((win_T *wp, linenr_T lnum, int winheight)); | |
14 int plines_nofill __ARGS((linenr_T lnum)); | |
15 int plines_win_nofill __ARGS((win_T *wp, linenr_T lnum, int winheight)); | |
16 int plines_win_nofold __ARGS((win_T *wp, linenr_T lnum)); | |
17 int plines_win_col __ARGS((win_T *wp, linenr_T lnum, long column)); | |
18 int plines_m_win __ARGS((win_T *wp, linenr_T first, linenr_T last)); | |
19 void ins_bytes __ARGS((char_u *p)); | |
20 void ins_bytes_len __ARGS((char_u *p, int len)); | |
21 void ins_char __ARGS((int c)); | |
22 void ins_char_bytes __ARGS((char_u *buf, int charlen)); | |
23 void ins_str __ARGS((char_u *s)); | |
24 int del_char __ARGS((int fixpos)); | |
25 int del_chars __ARGS((long count, int fixpos)); | |
26 int del_bytes __ARGS((long count, int fixpos_arg, int use_delcombine)); | |
27 int truncate_line __ARGS((int fixpos)); | |
28 void del_lines __ARGS((long nlines, int undo)); | |
29 int gchar_pos __ARGS((pos_T *pos)); | |
30 int gchar_cursor __ARGS((void)); | |
31 void pchar_cursor __ARGS((int c)); | |
32 int inindent __ARGS((int extra)); | |
33 char_u *skip_to_option_part __ARGS((char_u *p)); | |
34 void changed __ARGS((void)); | |
2162
0527eb0f6918
After recovery check if the text changed. If it did mark the buffer as
Bram Moolenaar <bram@vim.org>
parents:
2016
diff
changeset
|
35 void changed_int __ARGS((void)); |
1125 | 36 void changed_bytes __ARGS((linenr_T lnum, colnr_T col)); |
37 void appended_lines __ARGS((linenr_T lnum, long count)); | |
38 void appended_lines_mark __ARGS((linenr_T lnum, long count)); | |
39 void deleted_lines __ARGS((linenr_T lnum, long count)); | |
40 void deleted_lines_mark __ARGS((linenr_T lnum, long count)); | |
41 void changed_lines __ARGS((linenr_T lnum, colnr_T col, linenr_T lnume, long xtra)); | |
42 void unchanged __ARGS((buf_T *buf, int ff)); | |
43 void check_status __ARGS((buf_T *buf)); | |
44 void change_warning __ARGS((int col)); | |
45 int ask_yesno __ARGS((char_u *str, int direct)); | |
4221 | 46 int is_mouse_key __ARGS((int c)); |
1125 | 47 int get_keystroke __ARGS((void)); |
48 int get_number __ARGS((int colon, int *mouse_used)); | |
49 int prompt_for_number __ARGS((int *mouse_used)); | |
50 void msgmore __ARGS((long n)); | |
51 void beep_flush __ARGS((void)); | |
52 void vim_beep __ARGS((void)); | |
53 void init_homedir __ARGS((void)); | |
54 void free_homedir __ARGS((void)); | |
3744 | 55 void free_users __ARGS((void)); |
1408 | 56 char_u *expand_env_save __ARGS((char_u *src)); |
57 char_u *expand_env_save_opt __ARGS((char_u *src, int one)); | |
1125 | 58 void expand_env __ARGS((char_u *src, char_u *dst, int dstlen)); |
1408 | 59 void expand_env_esc __ARGS((char_u *srcp, char_u *dst, int dstlen, int esc, int one, char_u *startstr)); |
1125 | 60 char_u *vim_getenv __ARGS((char_u *name, int *mustfree)); |
61 void vim_setenv __ARGS((char_u *name, char_u *val)); | |
62 char_u *get_env_name __ARGS((expand_T *xp, int idx)); | |
3744 | 63 char_u *get_users __ARGS((expand_T *xp, int idx)); |
3929 | 64 int match_user __ARGS((char_u *name)); |
1125 | 65 void home_replace __ARGS((buf_T *buf, char_u *src, char_u *dst, int dstlen, int one)); |
66 char_u *home_replace_save __ARGS((buf_T *buf, char_u *src)); | |
67 int fullpathcmp __ARGS((char_u *s1, char_u *s2, int checkname)); | |
68 char_u *gettail __ARGS((char_u *fname)); | |
69 char_u *gettail_sep __ARGS((char_u *fname)); | |
70 char_u *getnextcomp __ARGS((char_u *fname)); | |
71 char_u *get_past_head __ARGS((char_u *path)); | |
72 int vim_ispathsep __ARGS((int c)); | |
5432 | 73 int vim_ispathsep_nocolon __ARGS((int c)); |
1125 | 74 int vim_ispathlistsep __ARGS((int c)); |
75 void shorten_dir __ARGS((char_u *str)); | |
76 int dir_of_file_exists __ARGS((char_u *fname)); | |
77 int vim_fnamecmp __ARGS((char_u *x, char_u *y)); | |
78 int vim_fnamencmp __ARGS((char_u *x, char_u *y, size_t len)); | |
79 char_u *concat_fnames __ARGS((char_u *fname1, char_u *fname2, int sep)); | |
80 char_u *concat_str __ARGS((char_u *str1, char_u *str2)); | |
81 void add_pathsep __ARGS((char_u *p)); | |
82 char_u *FullName_save __ARGS((char_u *fname, int force)); | |
83 pos_T *find_start_comment __ARGS((int ind_maxcomment)); | |
84 void do_c_expr_indent __ARGS((void)); | |
5442 | 85 int cin_islabel __ARGS((void)); |
2297
5ffe000a9ecf
Improve Javascript indenting. Add "J" flag to 'cino'. (Hari Kumar G)
Bram Moolenaar <bram@vim.org>
parents:
2162
diff
changeset
|
86 int cin_iscase __ARGS((char_u *s, int strict)); |
1125 | 87 int cin_isscopedecl __ARGS((char_u *s)); |
5438 | 88 void parse_cino __ARGS((buf_T *buf)); |
1125 | 89 int get_c_indent __ARGS((void)); |
90 int get_expr_indent __ARGS((void)); | |
91 int get_lisp_indent __ARGS((void)); | |
92 void prepare_to_exit __ARGS((void)); | |
93 void preserve_exit __ARGS((void)); | |
94 int vim_fexists __ARGS((char_u *fname)); | |
95 void line_breakcheck __ARGS((void)); | |
96 void fast_breakcheck __ARGS((void)); | |
2016 | 97 int expand_wildcards_eval __ARGS((char_u **pat, int *num_file, char_u ***file, int flags)); |
1125 | 98 int expand_wildcards __ARGS((int num_pat, char_u **pat, int *num_file, char_u ***file, int flags)); |
99 int match_suffix __ARGS((char_u *fname)); | |
100 int unix_expandpath __ARGS((garray_T *gap, char_u *path, int wildoff, int flags, int didstar)); | |
2433
98b9a6b9e7d5
Add completion for ":ownsyntax" and improve completion for ":filetype".
Bram Moolenaar <bram@vim.org>
parents:
2297
diff
changeset
|
101 void remove_duplicates __ARGS((garray_T *gap)); |
1125 | 102 int gen_expand_wildcards __ARGS((int num_pat, char_u **pat, int *num_file, char_u ***file, int flags)); |
103 void addfile __ARGS((garray_T *gap, char_u *f, int flags)); | |
5808 | 104 char_u *get_cmd_output __ARGS((char_u *cmd, char_u *infile, int flags, int *ret_len)); |
1125 | 105 void FreeWild __ARGS((int count, char_u **files)); |
106 int goto_im __ARGS((void)); | |
5867 | 107 char_u *get_isolated_shell_name __ARGS((void)); |
7 | 108 /* vim: set ft=c : */ |