This is useful utility if one wants to examine error code as zstd, despite what its crappy documentation says, has stable enumeration of errors that you can use.
So it would be good to link it too
It is a bit hidden behind in headers https://github.com/facebook/zstd/blob/dev/lib/zstd_errors.h#L106zstd.h doesn't really expose it, but these symbols are public so maybe it would be ok to put bindgen on zstd_errors.h too?
This is useful utility if one wants to examine error code as zstd, despite what its crappy documentation says, has stable enumeration of errors that you can use. So it would be good to link it too It is a bit hidden behind in headers https://github.com/facebook/zstd/blob/dev/lib/zstd_errors.h#L106
zstd.h
doesn't really expose it, but these symbols are public so maybe it would be ok to putbindgen
onzstd_errors.h
too?