comparison src/proto/userfunc.pro @ 9562:86af4a48c00a v7.4.2058

commit https://github.com/vim/vim/commit/a9b579f3d7463720a316e11e77a7a9fbb9267986 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 17 18:29:19 2016 +0200 patch 7.4.2058 Problem: eval.c is too big. Solution: Move user functions to userfunc.c
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Jul 2016 18:30:05 +0200
parents
children 172131507c85
comparison
equal deleted inserted replaced
9561:8b20e3f947c7 9562:86af4a48c00a
1 /* userfunc.c */
2 void func_init(void);
3 int get_lambda_tv(char_u **arg, typval_T *rettv, int evaluate);
4 char_u *deref_func_name(char_u *name, int *lenp, partial_T **partialp, int no_autoload);
5 int get_func_tv(char_u *name, int len, typval_T *rettv, char_u **arg, linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, partial_T *partial, dict_T *selfdict);
6 void free_all_functions(void);
7 int func_call(char_u *name, typval_T *args, partial_T *partial, dict_T *selfdict, typval_T *rettv);
8 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, partial_T *partial, dict_T *selfdict_in);
9 void ex_function(exarg_T *eap);
10 int eval_fname_script(char_u *p);
11 int translated_function_exists(char_u *name);
12 int function_exists(char_u *name);
13 char_u *get_expanded_name(char_u *name, int check);
14 void func_dump_profile(FILE *fd);
15 void prof_child_enter(proftime_T *tm);
16 void prof_child_exit(proftime_T *tm);
17 char_u *get_user_func_name(expand_T *xp, int idx);
18 void ex_delfunction(exarg_T *eap);
19 void func_unref(char_u *name);
20 void func_ref(char_u *name);
21 void ex_return(exarg_T *eap);
22 void ex_call(exarg_T *eap);
23 int do_return(exarg_T *eap, int reanimate, int is_cmd, void *rettv);
24 void discard_pending_return(void *rettv);
25 char_u *get_return_cmd(void *rettv);
26 char_u *get_func_line(int c, void *cookie, int indent);
27 void func_line_start(void *cookie);
28 void func_line_exec(void *cookie);
29 void func_line_end(void *cookie);
30 int func_has_ended(void *cookie);
31 int func_has_abort(void *cookie);
32 dict_T *make_partial(dict_T *selfdict_in, typval_T *rettv);
33 char_u *func_name(void *cookie);
34 linenr_T *func_breakpoint(void *cookie);
35 int *func_dbg_tick(void *cookie);
36 int func_level(void *cookie);
37 int current_func_returned(void);
38 void *save_funccal(void);
39 void restore_funccal(void *vfc);
40 int free_unref_funccal(int copyID, int testing);
41 hashtab_T *get_funccal_local_ht(void);
42 dictitem_T *get_funccal_local_var(void);
43 hashtab_T *get_funccal_args_ht(void);
44 dictitem_T *get_funccal_args_var(void);
45 void *clear_current_funccal(void);
46 void restore_current_funccal(void *f);
47 void list_func_vars(int *first);
48 dict_T *get_current_funccal_dict(hashtab_T *ht);
49 int set_ref_in_previous_funccal(int copyID);
50 int set_ref_in_call_stack(int copyID);
51 int set_ref_in_func_args(int copyID);
52 /* vim: set ft=c : */