We had begun to hide hash array internal state in 8e3ff6fced3353cd0e9e7d6f767ad2010235069a.
This breaks p4est since it accesses some internal data. p4est will be fixed after merging this PR.
In this PR we add sc_hash_array_foreach to avoid accessing obscure internal variables.
Me add some minor tweaks to sc_hash and sc_hash_array.
Complete hash array internal state update
Proposed changes
We had begun to hide hash array internal state in 8e3ff6fced3353cd0e9e7d6f767ad2010235069a. This breaks p4est since it accesses some internal data. p4est will be fixed after merging this PR.
In this PR we add sc_hash_array_foreach to avoid accessing obscure internal variables. Me add some minor tweaks to sc_hash and sc_hash_array.