Merge pull request #829 from MrSorcus/patch-0

PR #825 #829 - Fix docs - "tidyLocalMapItem" to "tidyLocaleMapItem"
This commit is contained in:
Geoff McLane 2019-07-08 20:48:57 +02:00 committed by GitHub
commit cd21bb30ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -2053,7 +2053,7 @@ TIDY_EXPORT ctmbstr TIDY_CALL tidyGetLanguage(void);
** @{ ** @{
*/ */
/** @struct tidyLocalMapItem /** @struct tidyLocaleMapItem
** Represents an opaque type we can use for tidyLocaleMapItem, which ** Represents an opaque type we can use for tidyLocaleMapItem, which
** is used to iterate through the language list, and used to access ** is used to iterate through the language list, and used to access
** the windowsName() and the posixName(). ** the windowsName() and the posixName().
@ -2088,14 +2088,14 @@ TIDY_EXPORT TidyIterator TIDY_CALL getWindowsLanguageList(void);
*/ */
TIDY_EXPORT const tidyLocaleMapItem* TIDY_CALL getNextWindowsLanguage( TidyIterator* iter ); TIDY_EXPORT const tidyLocaleMapItem* TIDY_CALL getNextWindowsLanguage( TidyIterator* iter );
/** Given a `tidyLocalMapItem`, return the Windows name. /** Given a `tidyLocaleMapItem`, return the Windows name.
** @param item An instance of tidyLocalMapItem to query. ** @param item An instance of tidyLocaleMapItem to query.
** @result Returns a string with the Windows name of the mapping. ** @result Returns a string with the Windows name of the mapping.
*/ */
TIDY_EXPORT ctmbstr TIDY_CALL TidyLangWindowsName( const tidyLocaleMapItem *item ); TIDY_EXPORT ctmbstr TIDY_CALL TidyLangWindowsName( const tidyLocaleMapItem *item );
/** Given a `tidyLocalMapItem`, return the POSIX name. /** Given a `tidyLocaleMapItem`, return the POSIX name.
** @param item An instance of tidyLocalMapItem to query. ** @param item An instance of tidyLocaleMapItem to query.
** @result Returns a string with the POSIX name of the mapping. ** @result Returns a string with the POSIX name of the mapping.
*/ */
TIDY_EXPORT ctmbstr TIDY_CALL TidyLangPosixName( const tidyLocaleMapItem *item ); TIDY_EXPORT ctmbstr TIDY_CALL TidyLangPosixName( const tidyLocaleMapItem *item );

View file

@ -591,7 +591,7 @@ const tidyLocaleMapItemImpl *TY_(getNextWindowsLanguage)( TidyIterator *iter )
/** /**
* Given a `tidyLocalMapItemImpl, return the Windows name. * Given a `tidyLocaleMapItemImpl, return the Windows name.
*/ */
ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item ) ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item )
{ {
@ -600,7 +600,7 @@ ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item )
/** /**
* Given a `tidyLocalMapItemImpl, return the POSIX name. * Given a `tidyLocaleMapItemImpl, return the POSIX name.
*/ */
ctmbstr TY_(TidyLangPosixName)( const tidyLocaleMapItemImpl *item ) ctmbstr TY_(TidyLangPosixName)( const tidyLocaleMapItemImpl *item )
{ {

View file

@ -189,12 +189,12 @@ TidyIterator TY_(getWindowsLanguageList)(void);
const tidyLocaleMapItemImpl *TY_(getNextWindowsLanguage)( TidyIterator* iter ); const tidyLocaleMapItemImpl *TY_(getNextWindowsLanguage)( TidyIterator* iter );
/** /**
* Given a `tidyLocalMapItemImpl, return the Windows name. * Given a `tidyLocaleMapItemImpl, return the Windows name.
*/ */
ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item ); ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item );
/** /**
* Given a `tidyLocalMapItemImpl, return the POSIX name. * Given a `tidyLocaleMapItemImpl, return the POSIX name.
*/ */
ctmbstr TY_(TidyLangPosixName)( const tidyLocaleMapItemImpl *item ); ctmbstr TY_(TidyLangPosixName)( const tidyLocaleMapItemImpl *item );