mirror of
https://github.com/google/brotli.git
synced 2024-11-12 15:10:15 +00:00
Remove "inline" specification
BrotliErrorString is an utility method. It is used in very specific cases -> should not be included in library. MSVC doesn't allow "inline" for C code...
This commit is contained in:
parent
755b909424
commit
384c595d19
@ -157,7 +157,7 @@ int BrotliStateIsStreamEnd(const BrotliState* s);
|
||||
BROTLI_RESULT_ERROR. */
|
||||
BrotliErrorCode BrotliGetErrorCode(const BrotliState* s);
|
||||
|
||||
static inline const char* BrotliErrorString(BrotliErrorCode c) {
|
||||
static const char* BrotliErrorString(BrotliErrorCode c) {
|
||||
switch (c) {
|
||||
#define _BROTLI_ERROR_CODE_CASE(NAME, CODE) case NAME: return #NAME;
|
||||
#define _BROTLI_NOTHING
|
||||
|
Loading…
Reference in New Issue
Block a user