Added #define for Free, improved text

This commit is contained in:
ceriel 1989-07-11 17:02:07 +00:00
parent c8ca61ba6e
commit f62db3f3c6
2 changed files with 4 additions and 1 deletions

View file

@ -64,7 +64,7 @@ It actually does the same as \fIRealloc\fP, and exists only for
backwards compatibility. backwards compatibility.
.PP .PP
All these routines use \fImalloc\fR and \fIrealloc\fR. All these routines use \fImalloc\fR and \fIrealloc\fR.
\fIFree\fR can be used on pointers returned by these routines. The routine \fIfree\fR can be used on pointers returned by these routines.
.PP .PP
\fISt_alloc\fR and \fIst_free\fR provide a mechanism for maintaining free lists \fISt_alloc\fR and \fIst_free\fR provide a mechanism for maintaining free lists
of structures. of structures.

View file

@ -36,4 +36,7 @@ typedef struct _ALLOC_ {
#define st_free(ptr, phead, size) (botch((char *)(ptr), size), \ #define st_free(ptr, phead, size) (botch((char *)(ptr), size), \
_A_st_free(ptr, phead, size)) _A_st_free(ptr, phead, size))
#endif BOTCH_FREE #endif BOTCH_FREE
#define Free(p) free(p)
#endif __ALLOC_INCLUDED__ #endif __ALLOC_INCLUDED__