Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/celt-0.7.0.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libcelt/celt.h')
-rw-r--r--libcelt/celt.h8
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
}