Mercurial > hg > CbC > old > device
diff mc.h @ 346:969089695850
name reconfigure.... continue...
author | kono |
---|---|
date | Tue, 29 Jun 2004 23:11:47 +0900 |
parents | f25aa4f03198 |
children | cef4d8eb9a26 |
line wrap: on
line diff
--- a/mc.h Sun Jun 27 20:31:46 2004 +0900 +++ b/mc.h Tue Jun 29 23:11:47 2004 +0900 @@ -405,7 +405,9 @@ #define CODE_ERR 21 #define MSERR 22 #define BTERR 23 -#define INERR 24 +#define HSERR 24 +#define NMERR 25 +#define INERR 26 /* error number end */ @@ -423,7 +425,7 @@ typedef struct nametable { char *nm; - int sc,ty,dsp; } NMTBL; + int sc,ty,dsp; struct nametable next; } NMTBL; extern int heap[HEAPSIZE]; @@ -442,6 +444,9 @@ extern int append4(int p,int a1,int a2,int a3); extern int insert_ascend(int p,int e,int eq()); +extern int free_nptr(NMTBL n*); +extern int get_nptr(); + #define car(e) (heap[(int)(e)]) #define cadr(e) (heap[((int)(e))+1])