1
2
3
/* automatically generated by rust-bindgen */

# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct Hunhandle { _unused : [ u8 ; 0 ] , } extern "C" { pub fn Hunspell_create ( affpath : * const :: std :: os :: raw :: c_char , dpath : * const :: std :: os :: raw :: c_char ) -> * mut Hunhandle ; } extern "C" { pub fn Hunspell_create_key ( affpath : * const :: std :: os :: raw :: c_char , dpath : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char ) -> * mut Hunhandle ; } extern "C" { pub fn Hunspell_destroy ( pHunspell : * mut Hunhandle ) ; } extern "C" { pub fn Hunspell_add_dic ( pHunspell : * mut Hunhandle , dpath : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_spell ( pHunspell : * mut Hunhandle , arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_get_dic_encoding ( pHunspell : * mut Hunhandle ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn Hunspell_suggest ( pHunspell : * mut Hunhandle , slst : * mut * mut * mut :: std :: os :: raw :: c_char , word : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_analyze ( pHunspell : * mut Hunhandle , slst : * mut * mut * mut :: std :: os :: raw :: c_char , word : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_stem ( pHunspell : * mut Hunhandle , slst : * mut * mut * mut :: std :: os :: raw :: c_char , word : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_stem2 ( pHunspell : * mut Hunhandle , slst : * mut * mut * mut :: std :: os :: raw :: c_char , desc : * mut * mut :: std :: os :: raw :: c_char , n : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_generate ( pHunspell : * mut Hunhandle , slst : * mut * mut * mut :: std :: os :: raw :: c_char , word : * const :: std :: os :: raw :: c_char , word2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_generate2 ( pHunspell : * mut Hunhandle , slst : * mut * mut * mut :: std :: os :: raw :: c_char , word : * const :: std :: os :: raw :: c_char , desc : * mut * mut :: std :: os :: raw :: c_char , n : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_add ( pHunspell : * mut Hunhandle , word : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_add_with_affix ( pHunspell : * mut Hunhandle , word : * const :: std :: os :: raw :: c_char , example : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_remove ( pHunspell : * mut Hunhandle , word : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Hunspell_free_list ( pHunspell : * mut Hunhandle , slst : * mut * mut * mut :: std :: os :: raw :: c_char , n : :: std :: os :: raw :: c_int ) ; }