Deglobalise the Unicode module. Despite all my grand plans, I've
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 14 Jan 2003 18:28:23 +0000 (18:28 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 14 Jan 2003 18:28:23 +0000 (18:28 +0000)
commit21d2b241875c072a8700e838ae0da677a7b9d428
tree8641707ba06861f3902624b883e0db88f867e3a6
parent97c511f60934408185f60245af3c606bf20ca9e6
Deglobalise the Unicode module. Despite all my grand plans, I've
just done this the very simple way - bundle all the globals into a
data structure and pass pointers around. One particularly ugly wart
is that wc_to_mb now takes a pointer to this structure as an
argument (optional, may be NULL, and unused in any Unicode layer
that's even marginally less of a mess than the Windows one). I do
need to do this properly at some point, but for now this should just
about be adequate. As usual, the Mac port has not been updated.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2592 cda61777-01e9-0310-a592-d414129be87e
ldiscucs.c
putty.h
terminal.c
terminal.h
unicode.c
unix/pterm.c
unix/unix.h
unix/uxucs.c
window.c
winstuff.h