Closed uno20001 closed 4 years ago
This is probably fine, I haven't looked into it much, but if it was up to me I'd just get rid of the ALLINONE feature completely. That should simplify the code and make it more maintainable/malleable for the future.
As mentioned issue #38 you can get a similar effect in a much nicer way by simply compiling with -flto
.
if it was up to me I'd just get rid of the ALLINONE feature completely
Certainly, I did this to simplify extending this functionality should it be desirable to be kept.
This commit changes how files are included when ALLINONE is defined to make extending this functionality to new source files easier. A new
export.h
has been created to enable easier use of theEXPORT
macro. Furthermore, header files have been created forinit.c
,output.c
, and the hashing related source files.