mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Reorganised the Unicode layer somewhat: moved luni_send and
lpage_send out into the line discipline, making them _clients_ of the Unicode layer rather than part of it. This means they can access ldisc->term, which in turn means I've been able to remove the temporary global variable `term'. We're slowly getting there. [originally from svn r2143]
This commit is contained in:
@ -173,13 +173,4 @@ void force_normal(HWND hwnd);
|
||||
void UpdateSizeTip(HWND src, int cx, int cy);
|
||||
void EnableSizeTip(int bEnable);
|
||||
|
||||
/*
|
||||
* Unicode and multi-byte character handling stuff.
|
||||
*/
|
||||
#define is_dbcs_leadbyte(cp, c) IsDBCSLeadByteEx(cp, c)
|
||||
#define mb_to_wc(cp, flags, mbstr, mblen, wcstr, wclen) \
|
||||
MultiByteToWideChar(cp, flags, mbstr, mblen, wcstr, wclen)
|
||||
#define wc_to_mb(cp, flags, wcstr, wclen, mbstr, mblen, def, defused) \
|
||||
WideCharToMultiByte(cp, flags, wcstr, wclen, mbstr, mblen, def,defused)
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user