summaryrefslogtreecommitdiff
path: root/src/dict.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-12-14 15:38:31 +0100
committerBram Moolenaar <Bram@vim.org>2018-12-14 15:38:31 +0100
commit8f66717a1f835b8194139d158c1e2df8b30c3ef3 (patch)
treea85c2d9df9a47870d35c88ae849510407c670b81 /src/dict.c
parentfb95e212a2696e5b1c8b5e6b2984af59fa7ead6f (diff)
downloadvim-git-8f66717a1f835b8194139d158c1e2df8b30c3ef3.tar.gz
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/dict.c')
-rw-r--r--src/dict.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dict.c b/src/dict.c
index da3e763e2..9ba0231f2 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -487,7 +487,7 @@ dict_find(dict_T *d, char_u *key, int len)
* Returns NULL if the entry doesn't exist or out of memory.
*/
char_u *
-get_dict_string(dict_T *d, char_u *key, int save)
+dict_get_string(dict_T *d, char_u *key, int save)
{
dictitem_T *di;
char_u *s;
@@ -506,7 +506,7 @@ get_dict_string(dict_T *d, char_u *key, int save)
* Returns 0 if the entry doesn't exist.
*/
varnumber_T
-get_dict_number(dict_T *d, char_u *key)
+dict_get_number(dict_T *d, char_u *key)
{
dictitem_T *di;
@@ -583,7 +583,7 @@ dict2string(typval_T *tv, int copyID, int restore_copyID)
* Return OK or FAIL. Returns NOTDONE for {expr}.
*/
int
-get_dict_tv(char_u **arg, typval_T *rettv, int evaluate)
+dict_get_tv(char_u **arg, typval_T *rettv, int evaluate)
{
dict_T *d = NULL;
typval_T tvkey;