Method |
Description |
|
Hunspell_add ( IntPtr handle, byte word ) : int |
|
|
Hunspell_add_with_affix ( IntPtr handle, byte word, byte example ) : int |
|
|
Hunspell_free_list ( IntPtr handle, IntPtr &list, int count ) : void |
|
|
Hunspell_initialize ( byte aff_file, byte dict_file ) : IntPtr |
|
|
Hunspell_remove ( IntPtr handle, byte word ) : int |
|
|
Hunspell_spell ( IntPtr handle, byte word ) : int |
|
|
Hunspell_suggest ( IntPtr handle, byte word, IntPtr &suggestions ) : int |
|
|
Hunspell_suggest_Impl ( IntPtr handle, IntPtr &suggestions, byte word ) : int |
|
|
Hunspell_suggest_Impl ( IntPtr handle, byte word, IntPtr &suggestions ) : int |
|
|
Hunspell_uninitialize ( IntPtr handle ) : void |
|
|
MarshalUnmananagedStrArray2ManagedStrArray ( IntPtr pUnmanagedStringArray, int StringCount ) : string[] |
|
|
MarshallAsUtf8Bytes ( string word ) : byte[] |
We can't declare these arguments (char * in C++) as [MarshalAs(UnmanagedType.LPStr)] string, because that unconditionally coverts the string to bytes using the current system code page, which is never what we want. So we declare them as byte[] and marshal like this. The C++ code requires null termination so add a null before converting. (This doesn't seem to be necessary, but better safe than sorry.) |
|
SetInternalStatus ( string word, bool isCorrect ) : void |
|
|
SpellEngine ( string affixPath, string dictPath, string exceptionPath ) : System |
|
|