type_loc.h 912 B

1234567891011121314151617181920212223
  1. /*
  2. * The Amsterdam Compiler Kit
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. #ifndef LANG_CEM_CEMCOM_ANSI_TYPE_H
  6. #define LANG_CEM_CEMCOM_ANSI_TYPE_H
  7. /* lang/cem/cemcom.ansi/type.c */
  8. struct type *create_type(int fund);
  9. struct type *promoted_type(struct type *tp);
  10. struct type *construct_type(int fund, struct type *tp, int qual, arith count, struct proto *pl);
  11. struct type *function_of(struct type *tp, struct proto *pl, int qual);
  12. struct type *pointer_to(struct type *tp, int qual);
  13. struct type *array_of(struct type *tp, arith count, int qual);
  14. struct type *field_of(struct type *tp, int qual);
  15. arith size_of_type(struct type *tp, char nm[]);
  16. void idf2type(struct idf *idf, struct type **tpp);
  17. arith align(arith pos, int al);
  18. struct type *standard_type(int fund, int sgn, int algn, arith sz);
  19. void completed(struct type *tp);
  20. #endif /* LANG_CEM_CEMCOM_ANSI_TYPE_H */