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