1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-09 15:18:06 -05:00
Simon Tatham 954db6f7fe Conditionalise FontSpec structure definition.
FontSpec is completely different per platform; not only is the
structure type different, not only are the behind-the-scenes
implementations of copy and free functions different, but even the API
of the constructor function is different. Cross-platform code can't
construct a FontSpec at all. This makes it hard to write a
cross-platform test program that works with them.

So, as a nasty bodge, I'll allow test programs to #define
SUPERSEDE_FONTSPEC_FOR_TESTING before including putty.h. Then they can
provide their own definition of FontSpec, and they also take
responsibility for superseding all the other functions that work with
one.
2023-09-22 14:00:02 +01:00
..
2023-03-15 19:40:23 +00:00
2021-05-27 09:48:32 +01:00
2022-08-03 20:48:46 +01:00
2022-09-03 11:59:12 +01:00
2023-08-26 13:16:58 +01:00