Skip to content

Add documentation for RCPP_EXPOSED_AS and similar macros in the vignette #416

@MathurinD

Description

@MathurinD

Add a documentation for the macros RCPP_EXPOSED_AS, RCPP_EXPOSED_WRAP and RCPP_EXPOSED_CLASS in the "Extending Rcpp" vignette (https://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-extending.pdf)

Not being aware of what they do can lead to problems with exposed pointers (Error: expecting an external pointer) when using both the macro and specializing template <> T as (SEXP).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions