diff options
author | chai <chaifix@163.com> | 2018-10-21 13:37:27 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-21 13:37:27 +0800 |
commit | 066e5987c515dfc34537d73ca9d2a81ddd1f9e1b (patch) | |
tree | ec45fe523daa4f9e8a30db0a045a0eb9cee84822 /src/libjin/Common/je_utf8.h | |
parent | 3292019e55dd02a96420e72bad88711fd36ef249 (diff) |
*注释
Diffstat (limited to 'src/libjin/Common/je_utf8.h')
-rw-r--r-- | src/libjin/Common/je_utf8.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/src/libjin/Common/je_utf8.h b/src/libjin/Common/je_utf8.h index 9fdff10..72a11af 100644 --- a/src/libjin/Common/je_utf8.h +++ b/src/libjin/Common/je_utf8.h @@ -10,22 +10,25 @@ namespace JinEngine { - /** - * Convert the wide string to a UTF-8 encoded string. - * @param wstr The wide-char string. - * @return A UTF-8 string. - **/ + /// + /// Convert the wide string to a UTF-8 encoded string. + /// + /// @param wstr The wide-char string. + /// @return A UTF-8 string. + /// std::string to_utf8(LPCWSTR wstr); - /** - * Replace all occurences of 'find' with 'replace' in a string. - * @param str The string to modify. - * @param find The character to match. - * @param replace The character to replace matches. - **/ + /// + /// Replace all occurences of 'find' with 'replace' in a string. + /// + /// @param str The string to modify. + /// @param find The character to match. + /// @param replace The character to replace matches. + /// void replace_char(std::string & str, char find, char replace); } // namespace JinEngine #endif // LIBJIN_OS == LIBJIN_WINDOWS -#endif // __JE_COMMON_UTF8_H + +#endif // __JE_COMMON_UTF8_H
\ No newline at end of file |