diff options
Diffstat (limited to 'libcelt/celt.h')
-rw-r--r-- | libcelt/celt.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libcelt/celt.h b/libcelt/celt.h index 1c0e158..9e59b43 100644 --- a/libcelt/celt.h +++ b/libcelt/celt.h @@ -270,10 +270,14 @@ EXPORT int celt_decode(CELTDecoder *st, const unsigned char *data, int len, celt EXPORT int celt_decoder_ctl(CELTDecoder * st, int request, ...); -/* @} */ - +/** Returns the English string that corresponds to an error code + * @param error Error code (negative for an error, 0 for success + * @return Constant string (must NOT be freed) + */ EXPORT const char *celt_strerror(int error); +/* @} */ + #ifdef __cplusplus } |