From f4376d0802f6de5c0aa7babaf9cbdaffe73bf778 Mon Sep 17 00:00:00 2001 From: eustas Date: Fri, 20 May 2016 10:22:03 +0200 Subject: [PATCH] Add BROTLI_LAST_ERROR_CODE definition --- dec/decode.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dec/decode.h b/dec/decode.h index 51a4978..829ce6d 100644 --- a/dec/decode.h +++ b/dec/decode.h @@ -73,6 +73,8 @@ typedef enum { BROTLI_ERROR_UNREACHABLE_6 = -36 } BrotliErrorCode; +#define BROTLI_LAST_ERROR_CODE BROTLI_ERROR_UNREACHABLE_6 + /* Creates the instance of BrotliState and initializes it. |alloc_func| and |free_func| MUST be both zero or both non-zero. In the case they are both zero, default memory allocators are used. |opaque| is passed to |alloc_func|