2 * Copyright (c) Meta Platforms, Inc. and affiliates.
5 * This source code is licensed under both the BSD-style license (found in the
6 * LICENSE file in the root directory of this source tree) and the GPLv2 (found
7 * in the COPYING file in the root directory of this source tree).
8 * You may select, at your option, one of the above-listed licenses.
11 /*-*************************************
13 ***************************************/
14 #include "../common/error_private.h"
17 /*-****************************************
18 * ZBUFF Error Management (deprecated)
19 ******************************************/
22 * tells if a return value is an error code */
23 unsigned ZBUFF_isError(size_t errorCode) { return ERR_isError(errorCode); }
24 /*! ZBUFF_getErrorName() :
25 * provides error code string from function result (useful for debugging) */
26 const char* ZBUFF_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); }