1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-14 02:53:51 -05:00
Simon Tatham 452114c3d3 New memory management macro 'snew_plus'.
This formalises my occasional habit of using a single malloc to make a
block that contains a header structure and a data buffer that a field
of the structure will point to, allowing it to be freed in one go
later. Previously I had to do this by hand, losing the type-checking
advantages of snew; now I've written an snew-style macro to do the
job, plus an accessor macro to cleanly get the auxiliary buffer
pointer afterwards, and switched existing instances of the pattern
over to using that.
2018-06-06 07:22:06 +01:00
..
2018-01-30 19:22:45 +00:00
2017-11-26 20:03:12 +00:00
2015-05-15 12:47:44 +01:00