#ifndef _SK_UTIL_ARRAY_H #define _SK_UTIL_ARRAY_H #include #define arraylen(a) (sizeof(a)/sizeof(*a)) /** * anullidx: * Returns the index of the first NULL element in an array. * * @param a: the array to search * @returns the index of the first NULL element / the number of elements before * NULL. */ size_t anullidx(void *a[]); #endif