ELMTYP_LAST
CTASSERT(nitems(elm_type_names) - 1 == ELMTYP_LAST);
if (obj->elm_type <= ELMTYP_LAST)
for (i = 0; i <= ELMTYP_LAST; i++) {