comparison src/proto/dict.pro @ 17368:6604ecb7a615 v8.1.1683

patch 8.1.1683: dictionary with string keys is longer than needed commit https://github.com/vim/vim/commit/d5abb4c87727eecb71b0e8ffdda60fc9598272f3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 13 22:46:10 2019 +0200 patch 8.1.1683: dictionary with string keys is longer than needed Problem: Dictionary with string keys is longer than needed. Solution: Use *{key: val} for literaly keys.
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Jul 2019 23:00:05 +0200
parents efc6f5e3b543
children ef23ec1eee54
comparison
equal deleted inserted replaced
17367:d2959e9ddc7c 17368:6604ecb7a615
26 dictitem_T *dict_find(dict_T *d, char_u *key, int len); 26 dictitem_T *dict_find(dict_T *d, char_u *key, int len);
27 char_u *dict_get_string(dict_T *d, char_u *key, int save); 27 char_u *dict_get_string(dict_T *d, char_u *key, int save);
28 varnumber_T dict_get_number(dict_T *d, char_u *key); 28 varnumber_T dict_get_number(dict_T *d, char_u *key);
29 varnumber_T dict_get_number_check(dict_T *d, char_u *key); 29 varnumber_T dict_get_number_check(dict_T *d, char_u *key);
30 char_u *dict2string(typval_T *tv, int copyID, int restore_copyID); 30 char_u *dict2string(typval_T *tv, int copyID, int restore_copyID);
31 int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate); 31 int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate, int literal);
32 void dict_extend(dict_T *d1, dict_T *d2, char_u *action); 32 void dict_extend(dict_T *d1, dict_T *d2, char_u *action);
33 dictitem_T *dict_lookup(hashitem_T *hi); 33 dictitem_T *dict_lookup(hashitem_T *hi);
34 int dict_equal(dict_T *d1, dict_T *d2, int ic, int recursive); 34 int dict_equal(dict_T *d1, dict_T *d2, int ic, int recursive);
35 void dict_list(typval_T *argvars, typval_T *rettv, int what); 35 void dict_list(typval_T *argvars, typval_T *rettv, int what);
36 void dict_set_items_ro(dict_T *di); 36 void dict_set_items_ro(dict_T *di);