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

@@ -26,12 +26,4 @@ struct def { /* for ordinary tags */
#define REG_DEFAULT 1 /* register candidate, not declared as such */
#define REG_BONUS 10 /* register candidate, declared as such */
/* allocation definitions of struct def */
/* ALLOCDEF "def" */
extern char *st_alloc();
extern struct def *h_def;
#define new_def() ((struct def *) \
st_alloc((char **)&h_def, sizeof(struct def)))
#define free_def(p) st_free(p, h_def, sizeof(struct def))