BRL-CAD
defines.h
Go to the documentation of this file.
1 /* D E F I N E S . H
2  * BRL-CAD
3  *
4  * Copyright (c) 2008-2024 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 /** @addtogroup libanalyze
21  *
22  *
23  */
24 /** @{ */
25 /** @file analyze/nirt.h */
26 
27 #ifndef ANALYZE_DEFINES_H
28 #define ANALYZE_DEFINES_H
29 
30 #include "common.h"
31 
32 __BEGIN_DECLS
33 
34 #ifndef ANALYZE_EXPORT
35 # if defined(ANALYZE_DLL_EXPORTS) && defined(ANALYZE_DLL_IMPORTS)
36 # error "Only ANALYZE_DLL_EXPORTS or ANALYZE_DLL_IMPORTS can be defined, not both."
37 # elif defined(ANALYZE_DLL_EXPORTS)
38 # define ANALYZE_EXPORT COMPILER_DLLEXPORT
39 # elif defined(ANALYZE_DLL_IMPORTS)
40 # define ANALYZE_EXPORT COMPILER_DLLIMPORT
41 # else
42 # define ANALYZE_EXPORT
43 # endif
44 #endif
45 
46 /* Libanalyze return codes */
47 #define ANALYZE_OK 0x0000
48 #define ANALYZE_ERROR 0x0001 /**< something went wrong, function not completed */
49 
50 __END_DECLS
51 
52 #endif /* ANALYZE_DEFINES_H */
53 
54 /** @} */
55 
56 /*
57  * Local Variables:
58  * tab-width: 8
59  * mode: C
60  * indent-tabs-mode: t
61  * c-file-style: "stroustrup"
62  * End:
63  * ex: shiftwidth=4 tabstop=8
64  */
Header file for the BRL-CAD common definitions.