/** * @file common.h * @author wenjf (Orig5826@163.com) * @brief * @version 0.1 * @date 2024-07-03 * * @copyright Copyright (c) 2024 * */ #ifndef _COMMON_H_ #define _COMMON_H_ #define UNICSTL_CONFIG #ifdef UNICSTL_CONFIG #include "unicstl_config.h" #endif #include #include #include #include #include #include #include #ifdef UNICSTL_ITERATOR #include "iterator.h" #endif /** * @brief obj compare with obj2 * * @return * obj < obj2 return -1 * obj == obj2 return 0 * obj > obj2 return 1 */ typedef int (*compare_fun_t)(void* obj, void* obj2); #endif // _COMMON_H_