6 array_length(type, array) \
11 m_arr = (type*)array; \
14 while (m_arr[m_len] != 0) { \
21 extern int min(int a, int b);
22 extern int clamp(int v, int min, int max);
23 extern int floorzero(int v);
25 extern char* wrap_text(char* str, int max_width, int* lines);
28 extern int ar_swap_item(void** arr, int src_index, int dest_index);