#ifndef ACC_UTIL_MISC_H #define ACC_UTIL_MISC_H #include #define ACC_ARRAY_LENGTH(a) (sizeof((a))/sizeof(*(a))) void* malloc_or_fail(size_t s, const char *func_name); bool strequal(const char *s1, const char *s2); char* strclone(const char *s); #endif