Closed asn-d6 closed 1 month ago
I did a bit of #include
cleanup. I think we should include header files from the source files when needed, and only include stuff in the header files if it's needed by the header file itself. It seems like this is the general (but not mandatory) convention.
I think this way it's cleaner to see what each source file needs, and also cleaner for the compiler to understand what each header file actually needs.
As a sidenote, see how I had to modify the python C wrapper. The wrapper file was using boolean types even tho it was not including stbool
. The compilation worked because <stdbool.h>
was silently (and needlessly) included by an include of ckzg.h
.
I think there is an issue with the Makefile now. For example, run make
, then do a modification to common.c
and run make
again. The Makefile won't notice that common.c
was modified, and will just move on with running the tests.
Splits codebase into: common/4844/7594 files