Skip to content

[th/g-array-index] add and use nm_g_array_index() as replacement for g_array_index()

Thomas Haller requested to merge th/g-array-index into main

nm_g_array_index() behaves like g_array_index() but has nm_assert() checks for the expected element-size and out-of-bound access.

Add and use it (almost) everywhere.

Merge request reports