| 47626 |
ripley |
1 |
/*
|
|
|
2 |
* R : A Computer Language for Statistical Data Analysis
|
| 59039 |
ripley |
3 |
* Copyright (C) 2008 the R Core Team
|
| 47626 |
ripley |
4 |
*
|
|
|
5 |
* This program is free software; you can redistribute it and/or modify
|
|
|
6 |
* it under the terms of the GNU Lesser General Public License as published by
|
|
|
7 |
* the Free Software Foundation; either version 2.1 of the License, or
|
|
|
8 |
* (at your option) any later version.
|
|
|
9 |
*
|
|
|
10 |
* This program is distributed in the hope that it will be useful,
|
|
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
13 |
* GNU Lesser General Public License for more details.
|
|
|
14 |
*
|
|
|
15 |
* You should have received a copy of the GNU Lesser General Public License
|
|
|
16 |
* along with this program; if not, a copy is available at
|
|
|
17 |
* http://www.r-project.org/Licenses/
|
|
|
18 |
*/
|
|
|
19 |
|
| 60253 |
ripley |
20 |
/*
|
|
|
21 |
Definitions controlling visibility on some platforms.
|
|
|
22 |
|
|
|
23 |
Part of the API.
|
|
|
24 |
*/
|
|
|
25 |
|
| 47626 |
ripley |
26 |
#ifndef R_EXT_VISIBILITY_H_
|
|
|
27 |
#define R_EXT_VISIBILITY_H_
|
|
|
28 |
|
|
|
29 |
#include <Rconfig.h>
|
|
|
30 |
|
|
|
31 |
#ifdef HAVE_VISIBILITY_ATTRIBUTE
|
|
|
32 |
# define attribute_visible __attribute__ ((visibility ("default")))
|
|
|
33 |
# define attribute_hidden __attribute__ ((visibility ("hidden")))
|
|
|
34 |
#else
|
|
|
35 |
# define attribute_visible
|
|
|
36 |
# define attribute_hidden
|
|
|
37 |
#endif
|
|
|
38 |
|
|
|
39 |
#endif /* R_EXT_VISIBILITY_H_ */
|