facebook / zstd

Zstandard - Fast real-time compression algorithm
http://www.zstd.net
Other
23.85k stars 2.11k forks source link

elevated ZSTD_getErrorCode() to stable status #4184

Closed Cyan4973 closed 3 weeks ago

Cyan4973 commented 4 weeks ago

answering #4183.

Also:

Cyan4973 commented 4 weeks ago

mmmh, including zstd_errors.h from zstd.h seems in conflict with our single file library build system...

edit : nope, hopefully, it's just the test of the single file library which is failing.

But it does illustrate the fact that, since zstd.h now includes zstd_errors.h after this patch, both files, zstd.h and zstd_errors.h, are now required, which could be surprising if the build has been created with the assumption that only zstd.h is enough.