diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-04 14:41:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-04 14:41:14 +0200 |
commit | 1e1d30048e722906a13665bd6c3c24c87eb2fe25 (patch) | |
tree | fd5236bfbab6ad7cd51d758a91f1c41f02d15b51 /src/evalfunc.c | |
parent | 19c8fe1925f4f7ffa1cc46e64d8bb8b1665ac437 (diff) |
patch 8.1.1978: the eval.c file is too bigv8.1.1978
Problem: The eval.c file is too big.
Solution: Move filter() and map() to list.c.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index bf4bb8eb9b..eac37ed27e 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -106,7 +106,6 @@ static void f_extend(typval_T *argvars, typval_T *rettv); static void f_feedkeys(typval_T *argvars, typval_T *rettv); static void f_filereadable(typval_T *argvars, typval_T *rettv); static void f_filewritable(typval_T *argvars, typval_T *rettv); -static void f_filter(typval_T *argvars, typval_T *rettv); static void f_finddir(typval_T *argvars, typval_T *rettv); static void f_findfile(typval_T *argvars, typval_T *rettv); #ifdef FEAT_FLOAT @@ -192,7 +191,6 @@ static void f_log10(typval_T *argvars, typval_T *rettv); #ifdef FEAT_LUA static void f_luaeval(typval_T *argvars, typval_T *rettv); #endif -static void f_map(typval_T *argvars, typval_T *rettv); static void f_maparg(typval_T *argvars, typval_T *rettv); static void f_mapcheck(typval_T *argvars, typval_T *rettv); static void f_match(typval_T *argvars, typval_T *rettv); @@ -3511,15 +3509,6 @@ findfilendir( } /* - * "filter()" function - */ - static void -f_filter(typval_T *argvars, typval_T *rettv) -{ - filter_map(argvars, rettv, FALSE); -} - -/* * "finddir({fname}[, {path}[, {count}]])" function */ static void @@ -6801,15 +6790,6 @@ f_luaeval(typval_T *argvars, typval_T *rettv) #endif /* - * "map()" function - */ - static void -f_map(typval_T *argvars, typval_T *rettv) -{ - filter_map(argvars, rettv, TRUE); -} - -/* * "maparg()" function */ static void |