Mercurial > hg > CbC > old > device
comparison mc.h @ 716:21f770a3b298
*** empty log message ***
author | kono |
---|---|
date | Fri, 16 Nov 2007 21:46:20 +0900 |
parents | bf94c295d763 |
children | 1f6e34c4dbbf |
comparison
equal
deleted
inserted
replaced
715:83e18db76c96 | 716:21f770a3b298 |
---|---|
583 extern int insert_ascend(int p,int e,int eq()); | 583 extern int insert_ascend(int p,int e,int eq()); |
584 | 584 |
585 extern void free_nptr(NMTBL *n); | 585 extern void free_nptr(NMTBL *n); |
586 extern NMTBL *get_nptr(); | 586 extern NMTBL *get_nptr(); |
587 | 587 |
588 #define align(x,alig) ((x+(alig-1))&~(alig-1)) | |
589 | |
588 // mc-tree.c | 590 // mc-tree.c |
589 | 591 |
590 extern void print_expr(int e, FILE *vout); | 592 extern void print_expr(int e, FILE *vout); |
593 | |
591 | 594 |
592 #if 1 | 595 #if 1 |
593 extern int heapsize; | 596 extern int heapsize; |
594 #define CHECK_HEAP(b) ({int _k=(int)(b);if(_k>heapsize||_k<=0)error(-1);_k;}) | 597 #define CHECK_HEAP(b) ({int _k=(int)(b);if(_k>heapsize||_k<=0)error(-1);_k;}) |
595 #else | 598 #else |