Mercurial > vim
comparison src/proto/userfunc.pro @ 28934:a712ea475390 v8.2.4989
patch 8.2.4989: cannot specify a function name for :defcompile
Commit: https://github.com/vim/vim/commit/f79d9dd43f6fe05711d7e2616ab4b8bde2ccb089
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 21 15:39:02 2022 +0100
patch 8.2.4989: cannot specify a function name for :defcompile
Problem: Cannot specify a function name for :defcompile.
Solution: Implement a function name argument for :defcompile.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 May 2022 16:45:03 +0200 |
parents | c446812efd60 |
children | a74398c432a4 |
comparison
equal
deleted
inserted
replaced
28933:57c9377b9c62 | 28934:a712ea475390 |
---|---|
43 char_u *alloc_printable_func_name(char_u *fname); | 43 char_u *alloc_printable_func_name(char_u *fname); |
44 char_u *save_function_name(char_u **name, int *is_global, int skip, int flags, funcdict_T *fudi); | 44 char_u *save_function_name(char_u **name, int *is_global, int skip, int flags, funcdict_T *fudi); |
45 void list_functions(regmatch_T *regmatch); | 45 void list_functions(regmatch_T *regmatch); |
46 ufunc_T *define_function(exarg_T *eap, char_u *name_arg, garray_T *lines_to_free); | 46 ufunc_T *define_function(exarg_T *eap, char_u *name_arg, garray_T *lines_to_free); |
47 void ex_function(exarg_T *eap); | 47 void ex_function(exarg_T *eap); |
48 ufunc_T *find_func_by_name(char_u *name, compiletype_T *compile_type); | |
48 void ex_defcompile(exarg_T *eap); | 49 void ex_defcompile(exarg_T *eap); |
49 int eval_fname_script(char_u *p); | 50 int eval_fname_script(char_u *p); |
50 int translated_function_exists(char_u *name, int is_global); | 51 int translated_function_exists(char_u *name, int is_global); |
51 int has_varargs(ufunc_T *ufunc); | 52 int has_varargs(ufunc_T *ufunc); |
52 int function_exists(char_u *name, int no_deref); | 53 int function_exists(char_u *name, int no_deref); |