Skip to content

[th/nm-g-array-index] use nm_g_array_index()

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

"checkpatch.pl" suggests to use nm_g_array_index()/nm_g_array_index_p() instead of g_array_index(). I added that check, but I also think that's what should be done. Change a few uses.

Also add a code comment to nm_g_array_index_p(), as it's not obvious why that even exits.

Merge request reports