BRL-CAD
debug.h
Go to the documentation of this file.
1/* D E B U G . H
2 * BRL-CAD
3 *
4 * Copyright (c) 2004-2023 United States Government as represented by
5 * the U.S. Army Research Laboratory.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public License
9 * version 2.1 as published by the Free Software Foundation.
10 *
11 * This library is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this file; see the file named COPYING for more
18 * information.
19 */
20
21#ifndef ANALYZE_DEBUG_H
22#define ANALYZE_DEBUG_H
23
24#include "common.h"
25#include "analyze/defines.h"
26
27__BEGIN_DECLS
28
29/** @addtogroup libanalyze
30 *
31 * @brief
32 * Debugging definitions.
33 *
34 */
35/** @{ */
36/** @file analyze/debug.h */
37
38/**
39 * controls the libanalyze debug reporting
40 */
41ANALYZE_EXPORT extern unsigned int analyze_debug;
42
43/**
44 * Section for ANALYZE_DEBUG values
45 *
46 * These definitions are each for one bit.
47 */
48#define ANALYZE_DEBUG_OFF 0 /* No debugging */
49
50#define ANALYZE_DEBUG_NIRT_BACKOUT 0x00000001 /* report on backout calculations */
51#define ANALYZE_DEBUG_NIRT_HITS 0x00000002 /* report on nirt hits*/
52#define ANALYZE_DEBUG_UNUSED_0 0x00000004 /* Unallocated */
53#define ANALYZE_DEBUG_UNUSED_1 0x00000008 /* Unallocated */
54
55/** @} */
56
57__END_DECLS
58
59#endif /* ANALYZE_DEBUG_H */
60
61/*
62 * Local Variables:
63 * mode: C
64 * tab-width: 8
65 * indent-tabs-mode: t
66 * c-file-style: "stroustrup"
67 * End:
68 * ex: shiftwidth=4 tabstop=8
69 */
Header file for the BRL-CAD common definitions.
unsigned int analyze_debug