Sha256: 410e0ad1200d8a208942af2cacbabf29b24d2ea0b88350ca6965fed4196fd1a6

Contents?: true

Size: 999 Bytes

Versions: 7

Compression:

Stored size: 999 Bytes

Contents

/*
 * Copyright (c) Yann Collet, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under both the BSD-style license (found in the
 * LICENSE file in the root directory of this source tree) and the GPLv2 (found
 * in the COPYING file in the root directory of this source tree).
 * You may select, at your option, one of the above-listed licenses.
 */

/*-*************************************
*  Dependencies
***************************************/
#include "../common/error_private.h"
#include "zbuff.h"

/*-****************************************
*  ZBUFF Error Management  (deprecated)
******************************************/

/*! ZBUFF_isError() :
*   tells if a return value is an error code */
unsigned ZBUFF_isError(size_t errorCode) { return ERR_isError(errorCode); }
/*! ZBUFF_getErrorName() :
*   provides error code string from function result (useful for debugging) */
const char* ZBUFF_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); }

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
wasmtime-5.0.0 ./ext/cargo-vendor/zstd-sys-2.0.5+zstd.1.5.2/zstd/lib/deprecated/zbuff_common.c
wasmtime-0.4.1 ./ext/cargo-vendor/zstd-sys-2.0.4+zstd.1.5.2/zstd/lib/deprecated/zbuff_common.c
wasmtime-0.4.0 ./ext/cargo-vendor/zstd-sys-2.0.4+zstd.1.5.2/zstd/lib/deprecated/zbuff_common.c
zstd-ruby-1.5.2.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.5.1.1 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.5.1.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.5.0.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c