comparison src/proto/userfunc.pro @ 9717:6226de5f8137 v7.4.2134

commit https://github.com/vim/vim/commit/b54c3ff3174dbb5dfbfcabdf95200b047beaa644 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 31 14:11:58 2016 +0200 patch 7.4.2134 Problem: No error for using function() badly. Solution: Check for passing wrong function name. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Jul 2016 14:15:05 +0200
parents 2ea935bdd1a1
children 80ac9cf77c9b
comparison
equal deleted inserted replaced
9716:f294f224b8fc 9717:6226de5f8137
7 int func_call(char_u *name, typval_T *args, partial_T *partial, dict_T *selfdict, typval_T *rettv); 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, int (*argv_func)(int, typval_T *, int), linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, partial_T *partial, dict_T *selfdict_in); 8 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, int (*argv_func)(int, typval_T *, int), linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, partial_T *partial, dict_T *selfdict_in);
9 void ex_function(exarg_T *eap); 9 void ex_function(exarg_T *eap);
10 int eval_fname_script(char_u *p); 10 int eval_fname_script(char_u *p);
11 int translated_function_exists(char_u *name); 11 int translated_function_exists(char_u *name);
12 int function_exists(char_u *name); 12 int function_exists(char_u *name, int no_deref);
13 char_u *get_expanded_name(char_u *name, int check); 13 char_u *get_expanded_name(char_u *name, int check);
14 void func_dump_profile(FILE *fd); 14 void func_dump_profile(FILE *fd);
15 void prof_child_enter(proftime_T *tm); 15 void prof_child_enter(proftime_T *tm);
16 void prof_child_exit(proftime_T *tm); 16 void prof_child_exit(proftime_T *tm);
17 char_u *get_user_func_name(expand_T *xp, int idx); 17 char_u *get_user_func_name(expand_T *xp, int idx);