acl/lib_acl/include/code/acl_gbcode.h

37 lines
998 B
C
Raw Normal View History

#ifndef ACL_GBCODE_INCLUDE_H
2014-11-19 00:25:21 +08:00
#define ACL_GBCODE_INCLUDE_H
#ifndef ACL_CLIENT_ONLY
2014-11-19 00:25:21 +08:00
#ifdef __cplusplus
extern "C" {
#endif
2017-06-02 14:47:24 +08:00
#include "../stdlib/acl_define.h"
2014-11-19 00:25:21 +08:00
/**
* GBK字符集中的简体转换为GBK字符集中的繁体
* @param data {const char*}
* @param dlen {size_t} data
* @param buf {char*} buf data
* @param size {size_t} buf
2014-11-19 00:25:21 +08:00
*/
ACL_API void acl_gbjt2ft(const char *data, size_t dlen, char *buf, size_t size);
/**
* GBK字符集中的繁体转换为GBK字符集中的简体
* @param data {const char*}
* @param dlen {size_t} data
* @param buf {char*} buf data
* @param size {size_t} buf
2014-11-19 00:25:21 +08:00
*/
ACL_API void acl_gbft2jt(const char *data, size_t dlen, char *buf, size_t size);
#ifdef __cplusplus
}
#endif
#endif /* ACL_CLIENT_ONLY */
2014-11-19 00:25:21 +08:00
#endif