New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation for RCPP_EXPOSED_AS and similar macros in the vignette #416
Comments
Can you draft a paragraph or two? |
How about putting it at the end of the "Non intrusive extension" subsection :
for Rcpp::wrap and
for Rcpp::as And find somewhere to write:
|
@eddelbuettel is what @MathurinD sufficient enough? While in |
Probably good enough, and probably dropped the ball for July return. Next one ... |
Almost a year later... @MathurinD what is your name? Presently, the attribution of the paragraphs is "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).
The text was updated successfully, but these errors were encountered: