@@ -67,32 +67,32 @@ namespace Rcpp {
6767
6868 #define GET_CALLABLE (__FUN__ ) (Fun) R_GetCCallable( " Rcpp" , __FUN__ )
6969
70- inline const char * type2name (SEXP x){
70+ inline attribute_hidden const char * type2name (SEXP x){
7171 typedef const char * (*Fun)(SEXP);
7272 static Fun fun = GET_CALLABLE (" type2name" );
7373 return fun (x);
7474 }
7575
7676 namespace internal {
77- inline unsigned long enterRNGScope (){
77+ inline attribute_hidden unsigned long enterRNGScope (){
7878 typedef unsigned long (*Fun)(void );
7979 static Fun fun = GET_CALLABLE (" enterRNGScope" );
8080 return fun ();
8181 }
8282
83- inline unsigned long exitRNGScope (){
83+ inline attribute_hidden unsigned long exitRNGScope (){
8484 typedef unsigned long (*Fun)(void );
8585 static Fun fun = GET_CALLABLE (" exitRNGScope" );
8686 return fun ();
8787 }
8888
89- inline char * get_string_buffer (){
89+ inline attribute_hidden char * get_string_buffer (){
9090 typedef char * (*Fun)(void );
9191 static Fun fun = GET_CALLABLE (" get_string_buffer" );
9292 return fun ();
9393 }
9494
95- inline SEXP get_Rcpp_namespace () {
95+ inline attribute_hidden SEXP get_Rcpp_namespace () {
9696 typedef SEXP (*Fun)(void );
9797 static Fun fun = GET_CALLABLE (" get_Rcpp_namespace" );
9898 return fun ();
@@ -101,13 +101,13 @@ namespace Rcpp {
101101 }
102102
103103
104- inline double mktime00 (struct tm &tm){
104+ inline attribute_hidden double mktime00 (struct tm &tm){
105105 typedef double (*Fun)(struct tm &);
106106 static Fun fun = GET_CALLABLE (" mktime00" );
107107 return fun (tm);
108108 }
109109
110- inline struct tm * gmtime_ (const time_t * const x){
110+ inline attribute_hidden struct tm * gmtime_ (const time_t * const x){
111111 typedef struct tm * (*Fun)(const time_t * const );
112112 static Fun fun = GET_CALLABLE (" gmtime_" );
113113 return fun (x);
0 commit comments