comparison src/tparam.c @ 1726:a8d8f419b459

[xemacs-hg @ 2003-09-30 15:26:34 by james] Add type information to xfree to avoid alias creation.
author james
date Tue, 30 Sep 2003 15:27:01 +0000
parents fdefd0186b75
children facf3239ba30
comparison
equal deleted inserted replaced
1725:7ff8f4d70aec 1726:a8d8f419b459
24 #include <config.h> 24 #include <config.h>
25 #include "lisp.h" 25 #include "lisp.h"
26 26
27 #undef realloc 27 #undef realloc
28 #undef malloc 28 #undef malloc
29 #undef free
30 #define realloc xrealloc 29 #define realloc xrealloc
31 #define malloc xmalloc 30 #define malloc xmalloc
32 #define free xfree
33 extern void *xmalloc (Bytecount size);
34 extern void *xrealloc (void *, Bytecount size);
35 31
36 /* Assuming STRING is the value of a termcap string entry 32 /* Assuming STRING is the value of a termcap string entry
37 containing `%' constructs to expand parameters, 33 containing `%' constructs to expand parameters,
38 merge in parameter values and store result in block OUTSTRING points to. 34 merge in parameter values and store result in block OUTSTRING points to.
39 LEN is the length of OUTSTRING. If more space is needed, 35 LEN is the length of OUTSTRING. If more space is needed,