diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-12-22 18:19:26 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-22 18:19:26 +0000 |
commit | f973eeb4911de09258e84cb2248dc0f9392824b4 (patch) | |
tree | 81ac7737af13f9eff0d6b69306b7ed6691d23804 /src/proto/dict.pro | |
parent | 1aeccdb464d81f0af047b399cbad160307a91f7c (diff) |
patch 8.2.3871: list.c contains code for dict and blobv8.2.3871
Problem: List.c contains code for dict and blob.
Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
closes #9386)
Diffstat (limited to 'src/proto/dict.pro')
-rw-r--r-- | src/proto/dict.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/proto/dict.pro b/src/proto/dict.pro index 3089c1fff7..d6cf152263 100644 --- a/src/proto/dict.pro +++ b/src/proto/dict.pro @@ -39,10 +39,13 @@ int eval_dict(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int literal); void dict_extend(dict_T *d1, dict_T *d2, char_u *action, char *func_name); dictitem_T *dict_lookup(hashitem_T *hi); int dict_equal(dict_T *d1, dict_T *d2, int ic, int recursive); +long dict_count(dict_T *d, typval_T *needle, int ic); +void dict_extend_func(typval_T *argvars, type_T *type, char *func_name, char_u *arg_errmsg, int is_new, typval_T *rettv); +void dict_filter_map(dict_T *d, filtermap_T filtermap, type_T *argtype, char *func_name, char_u *arg_errmsg, typval_T *expr, typval_T *rettv); +void dict_remove(typval_T *argvars, typval_T *rettv, char_u *arg_errmsg); void f_items(typval_T *argvars, typval_T *rettv); void f_keys(typval_T *argvars, typval_T *rettv); void f_values(typval_T *argvars, typval_T *rettv); void dict_set_items_ro(dict_T *di); void f_has_key(typval_T *argvars, typval_T *rettv); -void dict_remove(typval_T *argvars, typval_T *rettv, char_u *arg_errmsg); /* vim: set ft=c : */ |