annotate src/proto/eval.pro @ 1969:2e915ea7110f v7.2.266

updated for version 7.2-266
author vimboss
date Wed, 30 Sep 2009 13:17:02 +0000
parents aeac63ad9430
children afcf9db31561
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 /* eval.c */
1151
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
2 void eval_init __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
3 void eval_clear __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
4 char_u *func_name __ARGS((void *cookie));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
5 linenr_T *func_breakpoint __ARGS((void *cookie));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
6 int *func_dbg_tick __ARGS((void *cookie));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
7 int func_level __ARGS((void *cookie));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
8 int current_func_returned __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
9 void set_internal_string_var __ARGS((char_u *name, char_u *value));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
10 int var_redir_start __ARGS((char_u *name, int append));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
11 void var_redir_str __ARGS((char_u *value, int value_len));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
12 void var_redir_stop __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
13 int eval_charconvert __ARGS((char_u *enc_from, char_u *enc_to, char_u *fname_from, char_u *fname_to));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
14 int eval_printexpr __ARGS((char_u *fname, char_u *args));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
15 void eval_diff __ARGS((char_u *origfile, char_u *newfile, char_u *outfile));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
16 void eval_patch __ARGS((char_u *origfile, char_u *difffile, char_u *outfile));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
17 int eval_to_bool __ARGS((char_u *arg, int *error, char_u **nextcmd, int skip));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
18 char_u *eval_to_string_skip __ARGS((char_u *arg, char_u **nextcmd, int skip));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
19 int skip_expr __ARGS((char_u **pp));
1733
5a7384b9ca66 updated for version 7.2-031
vimboss
parents: 1496
diff changeset
20 char_u *eval_to_string __ARGS((char_u *arg, char_u **nextcmd, int convert));
1151
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
21 char_u *eval_to_string_safe __ARGS((char_u *arg, char_u **nextcmd, int use_sandbox));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
22 int eval_to_number __ARGS((char_u *expr));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
23 list_T *eval_spell_expr __ARGS((char_u *badword, char_u *expr));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
24 int get_spellword __ARGS((list_T *list, char_u **pp));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
25 typval_T *eval_expr __ARGS((char_u *arg, char_u **nextcmd));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
26 void *call_func_retstr __ARGS((char_u *func, int argc, char_u **argv, int safe));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
27 long call_func_retnr __ARGS((char_u *func, int argc, char_u **argv, int safe));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
28 void *call_func_retlist __ARGS((char_u *func, int argc, char_u **argv, int safe));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
29 void *save_funccal __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
30 void restore_funccal __ARGS((void *vfc));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
31 void prof_child_enter __ARGS((proftime_T *tm));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
32 void prof_child_exit __ARGS((proftime_T *tm));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
33 int eval_foldexpr __ARGS((char_u *arg, int *cp));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
34 void ex_let __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
35 void *eval_for_line __ARGS((char_u *arg, int *errp, char_u **nextcmdp, int skip));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
36 int next_for_item __ARGS((void *fi_void, char_u *arg));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
37 void free_for_info __ARGS((void *fi_void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
38 void set_context_for_expression __ARGS((expand_T *xp, char_u *arg, cmdidx_T cmdidx));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
39 void ex_call __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
40 void ex_unlet __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
41 void ex_lockvar __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
42 int do_unlet __ARGS((char_u *name, int forceit));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
43 void del_menutrans_vars __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
44 char_u *get_user_var_name __ARGS((expand_T *xp, int idx));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
45 list_T *list_alloc __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
46 void list_unref __ARGS((list_T *l));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
47 void list_free __ARGS((list_T *l, int recurse));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
48 dictitem_T *dict_lookup __ARGS((hashitem_T *hi));
1733
5a7384b9ca66 updated for version 7.2-031
vimboss
parents: 1496
diff changeset
49 char_u *list_find_str __ARGS((list_T *l, long idx));
1151
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
50 int list_append_dict __ARGS((list_T *list, dict_T *dict));
1733
5a7384b9ca66 updated for version 7.2-031
vimboss
parents: 1496
diff changeset
51 int list_append_string __ARGS((list_T *l, char_u *str, int len));
1151
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
52 int garbage_collect __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
53 dict_T *dict_alloc __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
54 int dict_add_nr_str __ARGS((dict_T *d, char *key, long nr, char_u *str));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
55 char_u *get_dict_string __ARGS((dict_T *d, char_u *key, int save));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
56 long get_dict_number __ARGS((dict_T *d, char_u *key));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
57 char_u *get_function_name __ARGS((expand_T *xp, int idx));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
58 char_u *get_expr_name __ARGS((expand_T *xp, int idx));
1496
29c09fa57168 updated for version 7.1-211
vimboss
parents: 1151
diff changeset
59 long do_searchpair __ARGS((char_u *spat, char_u *mpat, char_u *epat, int dir, char_u *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit));
1151
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
60 void set_vim_var_nr __ARGS((int idx, long val));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
61 long get_vim_var_nr __ARGS((int idx));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
62 char_u *get_vim_var_str __ARGS((int idx));
1733
5a7384b9ca66 updated for version 7.2-031
vimboss
parents: 1496
diff changeset
63 list_T *get_vim_var_list __ARGS((int idx));
1969
2e915ea7110f updated for version 7.2-266
vimboss
parents: 1751
diff changeset
64 void set_vim_var_char __ARGS((int c));
1751
aeac63ad9430 updated for version 7.2-048
vimboss
parents: 1733
diff changeset
65 void set_vcount __ARGS((long count, long count1, int set_prevcount));
1151
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
66 void set_vim_var_string __ARGS((int idx, char_u *val, int len));
1733
5a7384b9ca66 updated for version 7.2-031
vimboss
parents: 1496
diff changeset
67 void set_vim_var_list __ARGS((int idx, list_T *val));
1151
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
68 void set_reg_var __ARGS((int c));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
69 char_u *v_exception __ARGS((char_u *oldval));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
70 char_u *v_throwpoint __ARGS((char_u *oldval));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
71 char_u *set_cmdarg __ARGS((exarg_T *eap, char_u *oldarg));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
72 void free_tv __ARGS((typval_T *varp));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
73 void clear_tv __ARGS((typval_T *varp));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
74 long get_tv_number_chk __ARGS((typval_T *varp, int *denote));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
75 char_u *get_tv_string_chk __ARGS((typval_T *varp));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
76 char_u *get_var_value __ARGS((char_u *name));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
77 void new_script_vars __ARGS((scid_T id));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
78 void init_var_dict __ARGS((dict_T *dict, dictitem_T *dict_var));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
79 void vars_clear __ARGS((hashtab_T *ht));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
80 void ex_echo __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
81 void ex_echohl __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
82 void ex_execute __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
83 void ex_function __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
84 void free_all_functions __ARGS((void));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
85 void func_dump_profile __ARGS((FILE *fd));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
86 char_u *get_user_func_name __ARGS((expand_T *xp, int idx));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
87 void ex_delfunction __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
88 void ex_return __ARGS((exarg_T *eap));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
89 int do_return __ARGS((exarg_T *eap, int reanimate, int is_cmd, void *rettv));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
90 void discard_pending_return __ARGS((void *rettv));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
91 char_u *get_return_cmd __ARGS((void *rettv));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
92 char_u *get_func_line __ARGS((int c, void *cookie, int indent));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
93 void func_line_start __ARGS((void *cookie));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
94 void func_line_exec __ARGS((void *cookie));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
95 void func_line_end __ARGS((void *cookie));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
96 int func_has_ended __ARGS((void *cookie));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
97 int func_has_abort __ARGS((void *cookie));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
98 int read_viminfo_varlist __ARGS((vir_T *virp, int writing));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
99 void write_viminfo_varlist __ARGS((FILE *fp));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
100 int store_session_globals __ARGS((FILE *fd));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
101 void last_set_msg __ARGS((scid_T scriptID));
1733
5a7384b9ca66 updated for version 7.2-031
vimboss
parents: 1496
diff changeset
102 void ex_oldfiles __ARGS((exarg_T *eap));
1151
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
103 int modify_fname __ARGS((char_u *src, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen));
5d3eac49aed5 updated for version 7.1a
vimboss
parents: 1009
diff changeset
104 char_u *do_string_sub __ARGS((char_u *str, char_u *pat, char_u *sub, char_u *flags));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 /* vim: set ft=c : */