decspecs.h 679 B

1234567891011121314151617181920212223
  1. /* $Header$ */
  2. /* DECLARATION SPECIFIER DEFINITION */
  3. struct decspecs {
  4. struct decspecs *next;
  5. struct type *ds_type; /* single type */
  6. int ds_sc_given; /* 1 if the st. class is explicitly given */
  7. int ds_sc; /* storage class, given or implied */
  8. int ds_size; /* LONG, SHORT or 0 */
  9. int ds_unsigned; /* 0 or 1 */
  10. };
  11. /* allocation definitions of struct decspecs */
  12. /* ALLOCDEF "decspecs" */
  13. extern char *st_alloc();
  14. extern struct decspecs *h_decspecs;
  15. #define new_decspecs() ((struct decspecs *) \
  16. st_alloc((char **)&h_decspecs, sizeof(struct decspecs)))
  17. #define free_decspecs(p) st_free(p, h_decspecs, sizeof(struct decspecs))
  18. extern struct decspecs null_decspecs;