package net.planetes.speller.hunspell; import com.sun.jna.Library; import com.sun.jna.Pointer; import com.sun.jna.ptr.PointerByReference; /** * JNA binding for hunspell 1.2.8. * * @author iolo */ public interface HunspellLibrary extends Library { Pointer Hunspell_create(String affFile, String dictFile); void Hunspell_destroy(Pointer hunspell); int Hunspell_spell(Pointer hunspell, String word); int Hunspell_suggest(Pointer hunspell, PointerByReference suggstedWords, String word); // ... }