//------------------------------------------------------------------------------ // BTF/Include/btf_internsl.h: internal include file for BTF //------------------------------------------------------------------------------ // BTF, Copyright (c) 2004-2023, University of Florida. All Rights Reserved. // Author: Timothy A. Davis. // SPDX-License-Identifier: LGPL-2.1+ //------------------------------------------------------------------------------ #ifndef _BTF_INTERNAL_H #define _BTF_INTERNAL_H /* Not to be included in any user program. */ #ifdef DLONG #define Int int64_t #define Int_id "%" PRId64 #define BTF(name) btf_l_ ## name #else #define Int int32_t #define Int_id "%d" #define BTF(name) btf_ ## name #endif /* ========================================================================== */ /* make sure debugging and printing is turned off */ #ifndef NDEBUG #define NDEBUG #endif #ifndef NPRINT #define NPRINT #endif /* To enable debugging and assertions, uncomment this line: #undef NDEBUG */ /* To enable diagnostic printing, uncomment this line: #undef NPRINT */ /* ========================================================================== */ #include #include #define ASSERT(a) assert(a) #undef TRUE #undef FALSE #undef PRINTF #undef MIN #ifndef NPRINT #define PRINTF(s) { printf s ; } ; #else #define PRINTF(s) #endif #define TRUE 1 #define FALSE 0 #define EMPTY (-1) #define MIN(a,b) (((a) < (b)) ? (a) : (b)) #endif