#ifndef AFUN_TOOL_STR_H #define AFUN_TOOL_STR_H #include "aFunToolExport.h" #ifdef __cplusplus #include #include #else #include #include #endif /* 字符串工具 */ #ifndef AFUN_TOOL_C namespace aFuntool { #endif AFUN_TOOL_C_EXPORT_FUNC char *charToStr(char ch); AFUN_TOOL_C_EXPORT_FUNC char *strCopy(const char *str); AFUN_TOOL_C_EXPORT_FUNC char *strJoin(const char *first, const char *second, bool free_first, bool free_last); #ifndef AFUN_TOOL_C } #endif #endif //AFUN_TOOL_STR_H