diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-10-21 00:19:58 +0200 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-06 22:53:42 +0100 |
commit | 200f8ee0e572670f595d18853d18ccb8d3326db3 (patch) | |
tree | 272a6b13ef063f1e9176bced61d19631064e49b3 /test/functional/shell/viml_system_spec.lua | |
parent | 7ffed667d4ed1214e31d9f13bc1bd30f116c1b79 (diff) | |
download | rneovim-200f8ee0e572670f595d18853d18ccb8d3326db3.tar.gz rneovim-200f8ee0e572670f595d18853d18ccb8d3326db3.tar.bz2 rneovim-200f8ee0e572670f595d18853d18ccb8d3326db3.zip |
Review: Remove long_u: memfile: Refactor: long_u -> size_t.
- memfile_defs.h:
* hashtab_T: mht_mask: long_u -> size_t.
Masks are used to truncate keys to a value adequate for an index
in the array of entries. Value of the mask plus one is the
current size of the array. Both of those reasons imply the
soundness of size_t for this type.
* hashtab_T: mht_count: long_u -> size_t.
- memfile.c:
* total_mem_used: long_u -> size_t.
* mf_hash_free_all: idx: long_u -> size_t.
* mf_hash_add_item: idx: long_u -> size_t.
* mf_hash_find: idx: long_u -> size_t.
* mf_hash_grow: i: long_u -> size_t.
* mf_hash_grow: j: long_u -> size_t.
Diffstat (limited to 'test/functional/shell/viml_system_spec.lua')
0 files changed, 0 insertions, 0 deletions