nasmlib: Rename elements() macro to ARRAY_SIZE
commita73192497830167823d50ffb829f763ec270e7ef
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 3 Jun 2010 18:04:36 +0000 (3 22:04 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Thu, 3 Jun 2010 19:17:21 +0000 (3 23:17 +0400)
tree397b0dd6ae437e40d055e130241d81e3676f2f2a
parent3b4e86b1ddc272cdf84f3e61486918100bb5e00f
nasmlib: Rename elements() macro to ARRAY_SIZE

ARRAY_SIZE is a well known name pointing out that
we're dealing with array in macro argument.

Also to be on a safe side prefix_name helper should
check the index been in bounds more precisely.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
nasmlib.c
nasmlib.h
output/outform.c
preproc.c