2017-07-31 13:26 GMT+02:00 Dirk Eddelbuettel <[email protected]>: > The _type_ is in Rcpp proper, so maybe RcppXPtrHelpers, or RcppXPtrWrappers, > or just RcppXPtrUtils?
Here we go, comments and PRs welcome: https://github.com/Enchufa2/RcppXPtrUtils Apart from adding tests, I was thinking about defining a wrapper for cppXPtr(), so that packages can use this wrapper to check and enforce a given signature, in order to avoid compiling, running & crashing due to a wrong signature. Iñaki _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
