ZXC 0.15.0
High-performance asymmetric lossless compression library
Loading...
Searching...
No Matches
zxc_pivco_tables.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * ZXC - High-performance lossless compression
4 *
5 * Copyright (c) Bertrand Lebonnois and contributors.
6 */
7
32#ifndef ZXC_PIVCO_TABLES_H
33#define ZXC_PIVCO_TABLES_H
34
35#include <stdint.h>
36
37// ELF/Mach-O visibility only: Windows PE/COFF targets (MinGW/MSYS2 GCC,
38// clang-on-Windows) do not support it and warn -Wattributes, so gate on
39// !_WIN32 exactly like ZXC_NO_EXPORT in zxc_export.h.
40#if (defined(__GNUC__) || defined(__clang__)) && !defined(_WIN32)
41#define ZXC_HIDDEN __attribute__((visibility("hidden")))
42#else
43#define ZXC_HIDDEN
44#endif
45
46extern ZXC_HIDDEN const uint8_t zxc_pivco_idxa_u8[256][8];
47extern ZXC_HIDDEN const uint8_t zxc_pivco_idxb_pre[9][256][8];
48
49#endif /* ZXC_PIVCO_TABLES_H */