Lines Matching +full:externally +full:- +full:enable
1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
8 * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy
10 * This source code is licensed under both the BSD-style license (found in the
13 * You may select, at your option, one of the above-listed licenses.
18 * The purpose of this header is to enable debug functions.
19 * They regroup assert(), DEBUGLOG() and RAWLOG() for run-time,
20 * and DEBUG_STATIC_ASSERT() for compile-time.
22 * By default, DEBUGLEVEL==0, which means run-time debug is disabled.
30 * and is a global variable, not multi-thread protected (use with care)
38 * static assert only works with compile-time constants.
40 #define DEBUG_STATIC_ASSERT(c) (void)sizeof(char[(c) ? 1 : -1])
43 /* DEBUGLEVEL is expected to be defined externally,
52 * 0 : release mode, no debug, all run-time checks disabled
81 It's not thread-safe.