#ifndef __UTILS_H #define __UTILS_H #ifdef __cplusplus extern "C" { #endif #ifdef __UTILS_H_GLOBAL #define __UTILS_H_EXTERN #else #define __UTILS_H_EXTERN extern #endif /************************************************************************************************ * Version * ************************************************************************************************/ /************************************************************************************************ * How to use * ************************************************************************************************/ /************************************************************************************************ * Enable config * ************************************************************************************************/ /************************************************************************************************ * Includes * ************************************************************************************************/ /************************************************************************************************ * Defines * ************************************************************************************************/ #define ARR_SIZE(a) sizeof(a) / sizeof((a)[0]) /************************************************************************************************ * Defines * ************************************************************************************************/ #ifdef __cplusplus }; #endif #endif // __UTILS_H