AppleSpeller newAppleSpeller(void);
void freeAppleSpeller(AppleSpeller speller);
-SpellCheckResult checkAppleSpeller(AppleSpeller speller, const char * word, const char * lang);
-void ignoreAppleSpeller(AppleSpeller speller, const char * word);
-size_t makeSuggestionAppleSpeller(AppleSpeller speller, const char * word, const char * lang);
-const char * getSuggestionAppleSpeller(AppleSpeller speller, size_t pos);
-void learnAppleSpeller(AppleSpeller speller, const char * word);
-void unlearnAppleSpeller(AppleSpeller speller, const char * word);
-int hasLanguageAppleSpeller(AppleSpeller speller, const char * lang);
-int numMisspelledWordsAppleSpeller(AppleSpeller speller);
-void misspelledWordAppleSpeller(AppleSpeller speller, int const position, int * start, int * length);
+SpellCheckResult AppleSpeller_check(AppleSpeller speller, const char * word, const char * lang);
+void AppleSpeller_ignore(AppleSpeller speller, const char * word);
+size_t AppleSpeller_makeSuggestion(AppleSpeller speller, const char * word, const char * lang);
+const char * AppleSpeller_getSuggestion(AppleSpeller speller, size_t pos);
+void AppleSpeller_learn(AppleSpeller speller, const char * word);
+void AppleSpeller_unlearn(AppleSpeller speller, const char * word);
+int AppleSpeller_hasLanguage(AppleSpeller speller, const char * lang);
+int AppleSpeller_numMisspelledWords(AppleSpeller speller);
+void AppleSpeller_misspelledWord(AppleSpeller speller, int index, int * start, int * length);
#ifdef __cplusplus
} // extern "C"