Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* eval.c */ |
Bram Moolenaar | dcaf10e | 2005-01-21 11:55:25 +0000 | [diff] [blame] | 2 | void eval_init __ARGS((void)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 3 | char_u *func_name __ARGS((void *cookie)); |
| 4 | linenr_T *func_breakpoint __ARGS((void *cookie)); |
| 5 | int *func_dbg_tick __ARGS((void *cookie)); |
| 6 | int func_level __ARGS((void *cookie)); |
| 7 | int current_func_returned __ARGS((void)); |
| 8 | void set_internal_string_var __ARGS((char_u *name, char_u *value)); |
| 9 | int eval_charconvert __ARGS((char_u *enc_from, char_u *enc_to, char_u *fname_from, char_u *fname_to)); |
| 10 | int eval_printexpr __ARGS((char_u *fname, char_u *args)); |
| 11 | void eval_diff __ARGS((char_u *origfile, char_u *newfile, char_u *outfile)); |
| 12 | void eval_patch __ARGS((char_u *origfile, char_u *difffile, char_u *outfile)); |
| 13 | int eval_to_bool __ARGS((char_u *arg, int *error, char_u **nextcmd, int skip)); |
| 14 | char_u *eval_to_string_skip __ARGS((char_u *arg, char_u **nextcmd, int skip)); |
Bram Moolenaar | 69a7cb4 | 2004-06-20 12:51:53 +0000 | [diff] [blame] | 15 | int skip_expr __ARGS((char_u **pp)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 16 | char_u *eval_to_string __ARGS((char_u *arg, char_u **nextcmd)); |
| 17 | char_u *eval_to_string_safe __ARGS((char_u *arg, char_u **nextcmd)); |
| 18 | int eval_to_number __ARGS((char_u *expr)); |
| 19 | char_u *call_vim_function __ARGS((char_u *func, int argc, char_u **argv, int safe)); |
| 20 | void *save_funccal __ARGS((void)); |
| 21 | void restore_funccal __ARGS((void *fc)); |
| 22 | int eval_foldexpr __ARGS((char_u *arg, int *cp)); |
| 23 | void ex_let __ARGS((exarg_T *eap)); |
Bram Moolenaar | 1280586 | 2005-01-05 22:16:17 +0000 | [diff] [blame] | 24 | void *eval_for_line __ARGS((char_u *arg, int *errp, char_u **nextcmdp, int skip)); |
| 25 | int next_for_item __ARGS((void *fi_void, char_u *arg)); |
| 26 | void free_for_info __ARGS((void *fi_void)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 27 | void set_context_for_expression __ARGS((expand_T *xp, char_u *arg, cmdidx_T cmdidx)); |
| 28 | void ex_call __ARGS((exarg_T *eap)); |
| 29 | void ex_unlet __ARGS((exarg_T *eap)); |
| 30 | int do_unlet __ARGS((char_u *name)); |
| 31 | void del_menutrans_vars __ARGS((void)); |
| 32 | char_u *get_user_var_name __ARGS((expand_T *xp, int idx)); |
| 33 | char_u *get_function_name __ARGS((expand_T *xp, int idx)); |
| 34 | char_u *get_expr_name __ARGS((expand_T *xp, int idx)); |
| 35 | void set_vim_var_nr __ARGS((int idx, long val)); |
| 36 | long get_vim_var_nr __ARGS((int idx)); |
| 37 | void set_vcount __ARGS((long count, long count1)); |
| 38 | void set_vim_var_string __ARGS((int idx, char_u *val, int len)); |
| 39 | void set_reg_var __ARGS((int c)); |
| 40 | char_u *v_exception __ARGS((char_u *oldval)); |
| 41 | char_u *v_throwpoint __ARGS((char_u *oldval)); |
| 42 | char_u *set_cmdarg __ARGS((exarg_T *eap, char_u *oldarg)); |
| 43 | char_u *get_var_value __ARGS((char_u *name)); |
| 44 | void new_script_vars __ARGS((scid_T id)); |
Bram Moolenaar | dcaf10e | 2005-01-21 11:55:25 +0000 | [diff] [blame] | 45 | void vars_init __ARGS((hashtable *ht)); |
| 46 | void vars_clear __ARGS((hashtable *ht)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 47 | void ex_echo __ARGS((exarg_T *eap)); |
| 48 | void ex_echohl __ARGS((exarg_T *eap)); |
| 49 | void ex_execute __ARGS((exarg_T *eap)); |
| 50 | void ex_function __ARGS((exarg_T *eap)); |
| 51 | char_u *get_user_func_name __ARGS((expand_T *xp, int idx)); |
| 52 | void ex_delfunction __ARGS((exarg_T *eap)); |
| 53 | void ex_return __ARGS((exarg_T *eap)); |
Bram Moolenaar | 1280586 | 2005-01-05 22:16:17 +0000 | [diff] [blame] | 54 | int do_return __ARGS((exarg_T *eap, int reanimate, int is_cmd, void *rettv)); |
| 55 | void discard_pending_return __ARGS((void *rettv)); |
| 56 | char_u *get_return_cmd __ARGS((void *rettv)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 57 | char_u *get_func_line __ARGS((int c, void *cookie, int indent)); |
| 58 | int func_has_ended __ARGS((void *cookie)); |
| 59 | int func_has_abort __ARGS((void *cookie)); |
| 60 | int read_viminfo_varlist __ARGS((vir_T *virp, int writing)); |
| 61 | void write_viminfo_varlist __ARGS((FILE *fp)); |
| 62 | int store_session_globals __ARGS((FILE *fd)); |
| 63 | int modify_fname __ARGS((char_u *src, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen)); |
| 64 | char_u *do_string_sub __ARGS((char_u *str, char_u *pat, char_u *sub, char_u *flags)); |
| 65 | /* vim: set ft=c : */ |