pfalcon / uzlib

Radically unbloated DEFLATE/zlib/gzip compression/decompression library. Can decompress any gzip/zlib data, and offers simplified compressor which produces gzip-compatible output, while requiring much less resources (and providing less compression ratio of course).
Other
303 stars 82 forks source link

C linkage for defl_static.h + uzlib_conf.h in C++ #36

Closed Christian-Sander closed 3 years ago

Christian-Sander commented 3 years ago

Needed for compressing in zlib format from C++ source code. Otherwise uzlib.h will need an additional extern "C" { } frame around it.

I have only tried compilation in my own project so far, not with the examples, but I think this should be fairly safe. I will build the examples later on and report back as well.

pfalcon commented 3 years ago

Can you please do "git log" and follow the same style for commit messages (prefix, line wrapping, ...).

pfalcon commented 3 years ago

Thanks for the report, fixed in git master.