On Fri, 19 Sep 1997, Gary Barnett wrote:
> All true, but enter macros :-)
>
> #define FREE(x) (free(x); x=0)
>
> Would that not solve the problem rather nicely? Be easy enough to search
> through all your free calls and change them to FREE with a good editor so
> that you can remember the difference later. You could redefine free.. but that
> could lead to confusion later..
Yeah that's pretty close to what I use, but I didn't have time to try to
explain that :)
Sam
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST