Sha256: 05c6608ce90d05d994e3def91cd76580ff1817f33998da4b0203085f246a4972

Contents?: true

Size: 1003 Bytes

Versions: 12

Compression:

Stored size: 1003 Bytes

Contents

/*
 * Copyright (c) 2016-present, 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 "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

12 entries across 12 versions & 2 rubygems

Version Path
zstd-ruby-1.4.4.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.4.2.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.4.1.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
extzstd-0.3 contrib/zstd/lib/deprecated/zbuff_common.c
zstd-ruby-1.4.0.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.3.8.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.3.7.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.3.5.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.3.4.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
extzstd-0.2 contrib/zstd/lib/deprecated/zbuff_common.c
zstd-ruby-1.3.3.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c
zstd-ruby-1.3.2.0 ext/zstdruby/libzstd/deprecated/zbuff_common.c