2017-07-31 13:26 GMT+02:00 Dirk Eddelbuettel <e...@debian.org>: > 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 Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel