introduced the ALLOCDEF mechanism

This commit is contained in:
erikb
1986-03-10 15:16:33 +00:00
parent 5d1e9f0c86
commit 69e7c2d0ae
12 changed files with 0 additions and 136 deletions

View File

@@ -9,12 +9,4 @@ struct field { /* for field specifiers */
struct sdef *fd_sdef; /* upward pointer */
};
/* allocation definitions of struct field */
/* ALLOCDEF "field" */
extern char *st_alloc();
extern struct field *h_field;
#define new_field() ((struct field *) \
st_alloc((char **)&h_field, sizeof(struct field)))
#define free_field(p) st_free(p, h_field, sizeof(struct field))