Statistics
| Revision:

root / tmp / org.txm.statsengine.r.core.win32 / res / win32 / include / R_ext / Visibility.h @ 2486

History | View | Annotate | Download (1.2 kB)

1 2486 sjacqu01
/*
2 2486 sjacqu01
 *  R : A Computer Language for Statistical Data Analysis
3 2486 sjacqu01
 *  Copyright (C) 2008    the R Core Team
4 2486 sjacqu01
 *
5 2486 sjacqu01
 *  This program is free software; you can redistribute it and/or modify
6 2486 sjacqu01
 *  it under the terms of the GNU Lesser General Public License as published by
7 2486 sjacqu01
 *  the Free Software Foundation; either version 2.1 of the License, or
8 2486 sjacqu01
 *  (at your option) any later version.
9 2486 sjacqu01
 *
10 2486 sjacqu01
 *  This program is distributed in the hope that it will be useful,
11 2486 sjacqu01
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 2486 sjacqu01
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 2486 sjacqu01
 *  GNU Lesser General Public License for more details.
14 2486 sjacqu01
 *
15 2486 sjacqu01
 *  You should have received a copy of the GNU Lesser General Public License
16 2486 sjacqu01
 *  along with this program; if not, a copy is available at
17 2486 sjacqu01
 *  http://www.r-project.org/Licenses/
18 2486 sjacqu01
 */
19 2486 sjacqu01
20 2486 sjacqu01
/*
21 2486 sjacqu01
  Definitions controlling visibility on some platforms.
22 2486 sjacqu01

23 2486 sjacqu01
  Part of the API.
24 2486 sjacqu01
*/
25 2486 sjacqu01
26 2486 sjacqu01
#ifndef R_EXT_VISIBILITY_H_
27 2486 sjacqu01
#define R_EXT_VISIBILITY_H_
28 2486 sjacqu01
29 2486 sjacqu01
#include <Rconfig.h>
30 2486 sjacqu01
31 2486 sjacqu01
#ifdef HAVE_VISIBILITY_ATTRIBUTE
32 2486 sjacqu01
# define attribute_visible __attribute__ ((visibility ("default")))
33 2486 sjacqu01
# define attribute_hidden __attribute__ ((visibility ("hidden")))
34 2486 sjacqu01
#else
35 2486 sjacqu01
# define attribute_visible
36 2486 sjacqu01
# define attribute_hidden
37 2486 sjacqu01
#endif
38 2486 sjacqu01
39 2486 sjacqu01
#endif /* R_EXT_VISIBILITY_H_ */