libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte.

This commit is contained in:
Alexandre Julliard 2006-05-24 14:14:09 +02:00
parent a92db320de
commit f01d9879c6
6 changed files with 7 additions and 7 deletions

View File

@ -1279,7 +1279,7 @@ BOOL WINAPI IsValidCodePage( UINT codepage )
BOOL WINAPI IsDBCSLeadByteEx( UINT codepage, BYTE testchar )
{
const union cptable *table = get_codepage_table( codepage );
return table && is_dbcs_leadbyte( table, testchar );
return table && wine_is_dbcs_leadbyte( table, testchar );
}
@ -1299,7 +1299,7 @@ BOOL WINAPI IsDBCSLeadByteEx( UINT codepage, BYTE testchar )
BOOL WINAPI IsDBCSLeadByte( BYTE testchar )
{
if (!ansi_cptable) return FALSE;
return is_dbcs_leadbyte( ansi_cptable, testchar );
return wine_is_dbcs_leadbyte( ansi_cptable, testchar );
}

View File

@ -638,7 +638,7 @@ WCHAR WINAPI RtlAnsiCharToUnicodeChar(LPSTR *ansi)
WCHAR str;
DWORD charSize = sizeof(CHAR);
if (is_dbcs_leadbyte(ansi_table, **ansi))
if (wine_is_dbcs_leadbyte(ansi_table, **ansi))
charSize++;
RtlMultiByteToUnicodeN(&str, sizeof(WCHAR), NULL, *ansi, charSize);

View File

@ -95,7 +95,7 @@ extern int snprintfW( WCHAR *str, size_t len, const WCHAR *format, ... );
extern int vsprintfW( WCHAR *str, const WCHAR *format, va_list valist );
extern int vsnprintfW( WCHAR *str, size_t len, const WCHAR *format, va_list valist );
extern inline int is_dbcs_leadbyte( const union cptable *table, unsigned char ch )
extern inline int wine_is_dbcs_leadbyte( const union cptable *table, unsigned char ch )
{
return (table->info.char_size == 2) && (table->dbcs.cp2uni_leadbytes[ch]);
}

View File

@ -27,7 +27,7 @@ extern const WCHAR wine_casemap_lower[];
extern const WCHAR wine_casemap_upper[];
extern const unsigned short wine_wctype_table[];
int is_dbcs_leadbyte( const union cptable *table, unsigned char ch )
int wine_is_dbcs_leadbyte( const union cptable *table, unsigned char ch )
{
return (table->info.char_size == 2) && (table->dbcs.cp2uni_leadbytes[ch]);
}

View File

@ -4,7 +4,6 @@ EXPORTS
atoiW
atolW
get_char_typeW
is_dbcs_leadbyte
isalnumW
isalphaW
iscntrlW
@ -53,6 +52,7 @@ EXPORTS
wine_cpsymbol_wcstombs
wine_fold_string
wine_get_sortkey
wine_is_dbcs_leadbyte
wine_utf8_mbstowcs
wine_utf8_wcstombs
wine_wctype_table

View File

@ -4,7 +4,6 @@ WINE_1.0
atoiW;
atolW;
get_char_typeW;
is_dbcs_leadbyte;
isalnumW;
isalphaW;
iscntrlW;
@ -53,6 +52,7 @@ WINE_1.0
wine_cpsymbol_wcstombs;
wine_fold_string;
wine_get_sortkey;
wine_is_dbcs_leadbyte;
wine_utf8_mbstowcs;
wine_utf8_wcstombs;
wine_wctype_table;