Project Alice
|
#include <stddef.h>
Go to the source code of this file.
Macros | |
#define | ZSTDERRORLIB_VISIBLE |
#define | ZSTDERRORLIB_HIDDEN |
#define | ZSTDERRORLIB_API ZSTDERRORLIB_VISIBLE |
Functions | |
ZSTDERRORLIB_API ZSTD_ErrorCode | ZSTD_getErrorCode (size_t functionResult) |
ZSTDERRORLIB_API const char * | ZSTD_getErrorString (ZSTD_ErrorCode code) |
#define ZSTDERRORLIB_API ZSTDERRORLIB_VISIBLE |
Definition at line 47 of file zstd_errors.h.
#define ZSTDERRORLIB_HIDDEN |
Definition at line 38 of file zstd_errors.h.
#define ZSTDERRORLIB_VISIBLE |
Definition at line 30 of file zstd_errors.h.
enum ZSTD_ErrorCode |
Definition at line 64 of file zstd_errors.h.
ZSTDERRORLIB_API ZSTD_ErrorCode ZSTD_getErrorCode | ( | size_t | code | ) |
ZSTD_getErrorCode() : convert a size_t
function result into a ZSTD_ErrorCode
enum type, which can be used to compare with enum list published above
ZSTD_getError() : convert a size_t
function result into a proper ZSTD_errorCode enum
Definition at line 44 of file zstd_common.c.
ZSTDERRORLIB_API const char * ZSTD_getErrorString | ( | ZSTD_ErrorCode | code | ) |
Same as ZSTD_getErrorName, but using a ZSTD_ErrorCode
enum argument
ZSTD_getErrorString() : provides error code string from enum
Definition at line 48 of file zstd_common.c.