1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-16 04:04:28 +02:00

converted checks into user validation generating error codes

had to create a new error code for this condition,
none of the existing ones were fitting enough.
This commit is contained in:
Yann Collet
2022-01-26 10:43:50 -08:00
parent af3d9c506e
commit b99ece96b9
3 changed files with 4 additions and 2 deletions

View File

@ -66,6 +66,7 @@ typedef enum {
ZSTD_error_tableLog_tooLarge = 44,
ZSTD_error_maxSymbolValue_tooLarge = 46,
ZSTD_error_maxSymbolValue_tooSmall = 48,
ZSTD_error_stabilityCondition_notRespected = 50,
ZSTD_error_stage_wrong = 60,
ZSTD_error_init_missing = 62,
ZSTD_error_memory_allocation = 64,