forked from aniani/vim
patch 8.2.0339: Vim9: function return type may depend on arguments
Problem: Vim9: function return type may depend on arguments.
Solution: Instead of a fixed return type use a function to figure out the
return type.
This commit is contained in:
@@ -16,6 +16,7 @@ void f_bufwinnr(typval_T *argvars, typval_T *rettv);
|
||||
void f_deletebufline(typval_T *argvars, typval_T *rettv);
|
||||
void f_getbufinfo(typval_T *argvars, typval_T *rettv);
|
||||
void f_getbufline(typval_T *argvars, typval_T *rettv);
|
||||
type_T *ret_f_getline(int argcount, type_T **argtypes);
|
||||
void f_getline(typval_T *argvars, typval_T *rettv);
|
||||
void f_setbufline(typval_T *argvars, typval_T *rettv);
|
||||
void f_setline(typval_T *argvars, typval_T *rettv);
|
||||
|
||||
Reference in New Issue
Block a user