Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#include changes and header files for multiple source files #39

Merged
merged 1 commit into from
Apr 18, 2020
Merged

#include changes and header files for multiple source files #39

merged 1 commit into from
Apr 18, 2020

Conversation

uno20001
Copy link
Contributor

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 the EXPORT macro. Furthermore, header files have been created for init.c, output.c, and the hashing related source files.

@esmil
Copy link
Collaborator

esmil commented Apr 17, 2020

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.

@uno20001
Copy link
Contributor Author

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.

@Rudde Rudde merged commit 83aa516 into pobrn:master Apr 18, 2020
@uno20001 uno20001 deleted the rework_ALLINONE branch April 18, 2020 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants