@@ -67,32 +67,32 @@ namespace Rcpp {
67
67
68
68
#define GET_CALLABLE (__FUN__ ) (Fun) R_GetCCallable( " Rcpp" , __FUN__ )
69
69
70
- inline const char * type2name (SEXP x){
70
+ inline attribute_hidden const char * type2name (SEXP x){
71
71
typedef const char * (*Fun)(SEXP);
72
72
static Fun fun = GET_CALLABLE (" type2name" );
73
73
return fun (x);
74
74
}
75
75
76
76
namespace internal {
77
- inline unsigned long enterRNGScope (){
77
+ inline attribute_hidden unsigned long enterRNGScope (){
78
78
typedef unsigned long (*Fun)(void );
79
79
static Fun fun = GET_CALLABLE (" enterRNGScope" );
80
80
return fun ();
81
81
}
82
82
83
- inline unsigned long exitRNGScope (){
83
+ inline attribute_hidden unsigned long exitRNGScope (){
84
84
typedef unsigned long (*Fun)(void );
85
85
static Fun fun = GET_CALLABLE (" exitRNGScope" );
86
86
return fun ();
87
87
}
88
88
89
- inline char * get_string_buffer (){
89
+ inline attribute_hidden char * get_string_buffer (){
90
90
typedef char * (*Fun)(void );
91
91
static Fun fun = GET_CALLABLE (" get_string_buffer" );
92
92
return fun ();
93
93
}
94
94
95
- inline SEXP get_Rcpp_namespace () {
95
+ inline attribute_hidden SEXP get_Rcpp_namespace () {
96
96
typedef SEXP (*Fun)(void );
97
97
static Fun fun = GET_CALLABLE (" get_Rcpp_namespace" );
98
98
return fun ();
@@ -101,13 +101,13 @@ namespace Rcpp {
101
101
}
102
102
103
103
104
- inline double mktime00 (struct tm &tm){
104
+ inline attribute_hidden double mktime00 (struct tm &tm){
105
105
typedef double (*Fun)(struct tm &);
106
106
static Fun fun = GET_CALLABLE (" mktime00" );
107
107
return fun (tm);
108
108
}
109
109
110
- inline struct tm * gmtime_ (const time_t * const x){
110
+ inline attribute_hidden struct tm * gmtime_ (const time_t * const x){
111
111
typedef struct tm * (*Fun)(const time_t * const );
112
112
static Fun fun = GET_CALLABLE (" gmtime_" );
113
113
return fun (x);
0 commit comments