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

Add LODEPNG_NO_COMPILE_CRC flag #16

Closed
OldFisher opened this issue Sep 8, 2015 · 4 comments
Closed

Add LODEPNG_NO_COMPILE_CRC flag #16

OldFisher opened this issue Sep 8, 2015 · 4 comments

Comments

@OldFisher
Copy link

I think this flag should be added. Just as it is with zlib, someone could use LodePNG and CRC32 routines in same project, so no point in duplicating the code and the tables.

@lvandeve
Copy link
Owner

lvandeve commented Sep 8, 2015

Do you mean it would then just declare the crc function in lodepng.c, and you'd define it in another source file?

@OldFisher
Copy link
Author

Yes, that's exactly what I meant.

@lvandeve
Copy link
Owner

Done, thank you for the good idea

@OldFisher
Copy link
Author

Great, thank you for quick response and generally for this neat and useful library.

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

No branches or pull requests

2 participants