diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-14 15:38:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-14 15:38:31 +0100 |
commit | 8f66717a1f835b8194139d158c1e2df8b30c3ef3 (patch) | |
tree | a85c2d9df9a47870d35c88ae849510407c670b81 /src/proto/dict.pro | |
parent | fb95e212a2696e5b1c8b5e6b2984af59fa7ead6f (diff) |
patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string()v8.1.0583
Problem: Using illogical name for get_dict_number()/get_dict_string().
Solution: Rename to start with dict_.
Diffstat (limited to 'src/proto/dict.pro')
-rw-r--r-- | src/proto/dict.pro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proto/dict.pro b/src/proto/dict.pro index 21c8d6dac5..94ed2a0855 100644 --- a/src/proto/dict.pro +++ b/src/proto/dict.pro @@ -19,10 +19,10 @@ int dict_add_list(dict_T *d, char *key, list_T *list); int dict_add_dict(dict_T *d, char *key, dict_T *dict); long dict_len(dict_T *d); dictitem_T *dict_find(dict_T *d, char_u *key, int len); -char_u *get_dict_string(dict_T *d, char_u *key, int save); -varnumber_T get_dict_number(dict_T *d, char_u *key); +char_u *dict_get_string(dict_T *d, char_u *key, int save); +varnumber_T dict_get_number(dict_T *d, char_u *key); char_u *dict2string(typval_T *tv, int copyID, int restore_copyID); -int get_dict_tv(char_u **arg, typval_T *rettv, int evaluate); +int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate); void dict_extend(dict_T *d1, dict_T *d2, char_u *action); dictitem_T *dict_lookup(hashitem_T *hi); int dict_equal(dict_T *d1, dict_T *d2, int ic, int recursive); |