mirror of
https://github.com/vim/vim.git
synced 2025-10-18 07:54:29 -04:00
patch 9.1.1232: Vim script is missing the tuple data type
Problem: Vim script is missing the tuple data type Solution: Add support for the tuple data type (Yegappan Lakshmanan) closes: #16776 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
adb703e1b9
commit
9cb865e95b
@@ -487,3 +487,7 @@
|
||||
// Iterate over all the items in a hash table
|
||||
#define FOR_ALL_HASHTAB_ITEMS(ht, hi, todo) \
|
||||
for ((hi) = (ht)->ht_array; (todo) > 0; ++(hi))
|
||||
|
||||
#define TUPLE_LEN(t) (t->tv_items.ga_len)
|
||||
#define TUPLE_ITEM(t, i) \
|
||||
(((typval_T *)t->tv_items.ga_data) + i)
|
||||
|
Reference in New Issue
Block a user