File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -202,15 +202,15 @@ can appear after the `Rcpp.h` file is included, and therefore take
202
202
full advantage of the \pkg{Rcpp} type system.
203
203
204
204
Another non-intrusive option is to expose an external pointer. The macro
205
- ` RCPP_EXPORT_WRAP ` provides an easy way to expose a \proglang{C++} class
205
+ ` RCPP_EXPOSED_WRAP ` provides an easy way to expose a \proglang{C++} class
206
206
to \proglang{R} as an external pointer. It can be used instead of specializing
207
207
` Rcpp::wrap ` , and should not be used simultaneously.
208
208
209
209
``` {Rcpp, eval = FALSE}
210
210
#include RcppCommon.h
211
211
#include foobar.h
212
212
213
- RCPP_EXPORT_WRAP (Bar);
213
+ RCPP_EXPOSED_WRAP (Bar)
214
214
```
215
215
216
216
## Templates and partial specialization
@@ -292,7 +292,7 @@ namespace Rcpp {
292
292
```
293
293
294
294
Furthermore, another non-intrusive option is to opt for sharing an R
295
- external pointer. The macro ` RCPP_EXPORT_AS ` provides an easy way to
295
+ external pointer. The macro ` RCPP_EXPOSED_AS ` provides an easy way to
296
296
extend ` Rcpp::as ` to expose \proglang{R} external pointers to
297
297
\proglang{C++}. It can be used instead of specializing ` Rcpp::as ` , and
298
298
should not be used simultaneously.
@@ -301,7 +301,7 @@ should not be used simultaneously.
301
301
#include RcppCommon.h
302
302
#include foobar.h
303
303
304
- RCPP_EXPORT_AS (Bar);
304
+ RCPP_EXPOSED_AS (Bar)
305
305
```
306
306
307
307
With this being said, there is one additional macro that can be used to
You can’t perform that action at this time.
0 commit comments