Sparse array iterators include index position.
authorPauli <paul.dale@oracle.com>
Wed, 13 Feb 2019 22:13:58 +0000 (08:13 +1000)
committerPauli <paul.dale@oracle.com>
Wed, 13 Feb 2019 23:09:51 +0000 (09:09 +1000)
commit008b4ff92f785cf3808df26ac5b23f25a691b23c
tree01dd98cf5b1ec718fd720effef0c6152b37256bc
parentfa63e45262971b9c2a6aeb33db8c52a5a84fc8b5
Sparse array iterators include index position.

Iterators over the sparse array structures have gained an initial argument
which indicates the index into the array of the element.  This can be used,
e.g., to delete or modify the associated value.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8229)
crypto/include/internal/sparse_array.h
crypto/sparse_array.c
doc/internal/man3/DEFINE_SPARSE_ARRAY_OF.pod
test/sparse_array_test.c