struct_loc.h 944 B

1234567891011121314151617181920
  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_STRUCT_H
  6. #define LANG_CEM_CEMCOM_ANSI_STRUCT_H
  7. /* lang/cem/cemcom.ansi/struct.c */
  8. int add_sel(register struct type *stp, struct type *tp, register struct idf *idf, struct sdef ***sdefpp, arith *szp, struct field *fd);
  9. int check_selector(register struct idf *idf, struct type *stp);
  10. int declare_struct(int fund, register struct idf *idf, struct type **tpp);
  11. int apply_struct(int fund, register struct idf *idf, struct type **tpp);
  12. struct sdef *idf2sdef(register struct idf *idf, struct type *tp);
  13. arith add_field(arith *szp, register struct field *fd, register struct type **fdtpp, struct idf *idf, register struct type *stp);
  14. int is_struct_or_union(register int fund);
  15. int gcd(register int m, register int n);
  16. int lcm(register int m, register int n);
  17. #endif /* LANG_CEM_CEMCOM_ANSI_STRUCT_H */