add dict_getWordCount()

This commit is contained in:
Andy2 2010-12-06 18:24:31 -08:00
parent ff9e03ef4b
commit e4999acc98
2 changed files with 7 additions and 0 deletions

View file

@ -437,6 +437,12 @@ dict_getLangCode( const DictionaryCtxt* dict )
return dict->langCode;
}
XP_U32
dict_getWordCount( const DictionaryCtxt* dict )
{
return dict->nWords;
}
#ifdef STUBBED_DICT
#define BLANK_FACE '\0'

View file

@ -152,6 +152,7 @@ void dict_getFaceBitmaps( const DictionaryCtxt* dict, Tile tile,
XP_Bitmaps* bmps );
XP_LangCode dict_getLangCode( const DictionaryCtxt* dict );
XP_U32 dict_getWordCount( const DictionaryCtxt* dict );
void dict_writeToStream( const DictionaryCtxt* ctxt, XWStreamCtxt* stream );
void dict_loadFromStream( DictionaryCtxt* dict, XWStreamCtxt* stream );