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
202202full advantage of the \pkg{Rcpp} type system.
203203
204204Another 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
206206to \proglang{R} as an external pointer. It can be used instead of specializing
207207` Rcpp::wrap ` , and should not be used simultaneously.
208208
209209``` {Rcpp, eval = FALSE}
210210#include RcppCommon.h
211211#include foobar.h
212212
213- RCPP_EXPORT_WRAP (Bar);
213+ RCPP_EXPOSED_WRAP (Bar);
214214```
215215
216216## Templates and partial specialization
@@ -292,7 +292,7 @@ namespace Rcpp {
292292```
293293
294294Furthermore, 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
296296extend ` Rcpp::as ` to expose \proglang{R} external pointers to
297297\proglang{C++}. It can be used instead of specializing ` Rcpp::as ` , and
298298should not be used simultaneously.
@@ -301,7 +301,7 @@ should not be used simultaneously.
301301#include RcppCommon.h
302302#include foobar.h
303303
304- RCPP_EXPORT_AS (Bar);
304+ RCPP_EXPOSED_AS (Bar);
305305```
306306
307307With 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