Function opencc_sys::opencc_open

source ·
pub unsafe extern "C" fn opencc_open(
    configFileName: *const c_char
) -> opencc_t
Expand description

Makes an instance of opencc

@param configFileName Location of configuration file. If this is set to NULL, OPENCC_DEFAULT_CONFIG_SIMP_TO_TRAD will be loaded. @return A description pointer of the newly allocated instance of opencc. On error the return value will be (opencc_t) -1. @ingroup opencc_c_api