Skip to content

Commit 5f4572b

Browse files
committed
Refactor some R_ext includes
1 parent 2b0a44b commit 5f4572b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2025-12-04 Iñaki Ucar <[email protected]>
2+
3+
* inst/include/Rcpp/r/headers.h: Include <R_ext/Visibility.h>
4+
* inst/include/RcppCommon.h: Drop <R_ext/Callbacks.h>, not used anymore
5+
and dropped from the API; drop <R_ext/Visibility.h>, included above
6+
17
2025-12-03 Dirk Eddelbuettel <[email protected]>
28

39
* DESCRIPTION (Version, Date): Roll micro version and date

inst/include/Rcpp/r/headers.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
#include <R_ext/Complex.h>
7373
#include <R_ext/Parse.h>
7474
#include <R_ext/Rdynload.h>
75+
#include <R_ext/Visibility.h>
7576
#include <Rversion.h>
7677

7778
/* Ensure NORET defined (normally provided by R headers with R >= 3.2.0) */

inst/include/RcppCommon.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ namespace Rcpp {
7373
#include <typeinfo>
7474
#include <utility>
7575
#include <Rcpp/sprintf.h>
76-
#include <R_ext/Callbacks.h>
77-
#include <R_ext/Visibility.h>
7876
#include <Rcpp/utils/tinyformat.h>
7977

8078
#include <Rmath.h>

0 commit comments

Comments
 (0)