libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte.
This commit is contained in:
parent
a92db320de
commit
f01d9879c6
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue