#ifndef __ARRAYTOOLS_H__ #define __ARRAYTOOLS_H__ #ifndef SIZEOF_ARRAY #define SIZEOF_ARRAY(ar) (sizeof(ar)/sizeof((ar)[0])) #endif // !defined(SIZEOF_ARRAY) #endif //__ARRAYTOOLS_H__