Artifact 6d34f79f0fcd6a7c30cbcd78325aaacbf43aca7d:
- File puttymem.h — part of check-in [48c3c19745] at 2003-03-29 10:14:26 on branch trunk — Introduced wrapper macros snew(), snewn() and sresize() for the malloc functions, which automatically cast to the same type they're allocating the size of. Should prevent any future errors involving mallocing the size of the wrong structure type, and will also make life easier if we ever need to turn the PuTTY core code from real C into C++-friendly C. I haven't touched the Mac frontend in this checkin because I couldn't compile or test it. (user: simon size: 1109)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.