mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
add dict_getWordCount()
This commit is contained in:
parent
ff9e03ef4b
commit
e4999acc98
2 changed files with 7 additions and 0 deletions
|
@ -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'
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue