Remove gmp.h and longlong.h inclusion from mpoly.h
Cleanup nmod_poly.h
Cleanup nf_elem.h, including removing those old macros in the bottom
Reduce mpn_mod.h and nfloat.h
Introduce gr_types.h and ca_types.h (as slim as they get this time)
For the last point, I defined calcium_stream_struct as a macro expanding to gr_stream_struct. Currently ca_types.h includes fmpz_mpoly.h, qqbar.h and nf_elem.h, which is not only heavy but also goes against my philosophy of that type-headers should only include other type-headers. But that can be fixed another time, better to start with this.
gmp.h
andlonglong.h
inclusion frommpoly.h
nmod_poly.h
nf_elem.h
, including removing those old macros in the bottommpn_mod.h
andnfloat.h
gr_types.h
andca_types.h
(as slim as they get this time)For the last point, I defined
calcium_stream_struct
as a macro expanding togr_stream_struct
. Currentlyca_types.h
includesfmpz_mpoly.h
,qqbar.h
andnf_elem.h
, which is not only heavy but also goes against my philosophy of that type-headers should only include other type-headers. But that can be fixed another time, better to start with this.