Integrated code from tclspice, brorson xspice and Vera memleak.

This commit is contained in:
pnenzi
2003-07-23 19:36:39 +00:00
parent 0a0b64d23f
commit 8362dec274
214 changed files with 5388 additions and 1269 deletions
+2
View File
@@ -17,6 +17,8 @@ extern void txfree(void *ptr);
#define txfree(m)
#endif
#include "../misc/stringutil.h" /* va: spice3 internally bzero */
#define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE)))
#define MALLOC(x) tmalloc((unsigned)(x))
#define FREE(x) {if (x) {txfree((char *)(x));(x) = 0;}}