#ifndef ANI_MACROS_H #define ANI_MACROS_H /** * ARRAY_SIZE - get the number of elements in a visible array. * * DOES NOT WORK ON POINTERS */ #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) #endif