Parent Directory | Revision Log | Patch
revision 1.2 by akim, Fri Feb 2 14:56:44 2001 UTC | revision 1.3 by ra, Tue Aug 21 19:47:13 2001 UTC | |
---|---|---|
# | Line 83 char *xstrdup PARAMS ((const char *str)) | Line 83 char *xstrdup PARAMS ((const char *str)) |
83 | /* Return a malloc'ed copy of SRC. */ | /* Return a malloc'ed copy of SRC. */ |
84 | # define CLONE(Src) CCLONE (Src, 1) | # define CLONE(Src) CCLONE (Src, 1) |
85 | ||
86 | /* Wrappers for standard functions. */ | |
87 | #define CALLOC(t, n) ((t *) calloc (sizeof (t), (n))) | |
88 | #define MALLOC(t, n) ((t *) xmalloc (sizeof (t) * (n))) | |
89 | #define REALLOC(o, t, n) ((t *) xrealloc ((o), sizeof (t) * (n))) | |
90 | ||
91 | #endif /* !XALLOC_H_ */ | #endif /* !XALLOC_H_ */ |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |