3 ms·
Relatedly, I was looking at Zlib's source today and realized they still use old, 70s-style function declarations: int ZEXPORT compress2 (dest, destLen, sou
by Rendello 5y ago
Relatedly, I was looking at Zlib's source today and realized they still use old, 70s-style function declarations:
int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
Bytef *dest;
uLongf *destLen;
const Bytef *source;
uLong sourceLen;
int level;
{
z_stream stream;
int err;
const uInt max = (uInt)-1;
…
https://github.com/madler/zlib/blob/master/compress.c https://github.com/madler/zlib/blob/master/compress.c