Crate opencc_sys

Crate opencc_sys 

Source

Structs§

Data
max_align_t

Constants§

OPENCC_DEFAULT_CONFIG_SIMP_TO_TRAD
OPENCC_DEFAULT_CONFIG_TRAD_TO_SIMP

Statics§

HK2S_JSON
HK2T_JSON
HKVARIANTS_OCD2
HKVARIANTS_REV_OCD2
HKVARIANTS_REV_PHRASES_OCD2
JP2T_JSON
JPSHINJITAI_CHARATERS_OCD2
JPSHINJITAI_PHRASES_OCD2
JPVARIANTS_OCD2
JPVARIANTS_REV_OCD2
S2HK_JSON
S2TWP_JSON
S2TW_JSON
S2T_JSON
STCHARACTERS_OCD2
STPHRASES_OCD2
T2HK_JSON
T2JP_JSON
T2S_JSON
T2TW_JSON
TSCHARACTERS_OCD2
TSPHRASES_OCD2
TW2SP_JSON
TW2S_JSON
TW2T_JSON
TWPHRASES_OCD2
TWPHRASES_REV_OCD2
TWVARIANTS_OCD2
TWVARIANTS_REV_OCD2
TWVARIANTS_REV_PHRASES_OCD2

Functions§

opencc_close
Destroys an instance of opencc
opencc_convert_utf8
Converts UTF-8 std::string This function returns an allocated C-Style std::string, which stores the converted std::string. You MUST call opencc_convert_utf8_free() to release allocated memory.
opencc_convert_utf8_free
Releases allocated buffer by opencc_convert_utf8
opencc_convert_utf8_to_buffer
Converts UTF-8 std::string
opencc_error
Returns the last error message
opencc_open
Makes an instance of opencc

Type Aliases§

opencc_t
Type of opencc descriptor
wchar_t