[Rcpp-devel] Resolving NativeSymbolInfos from Rcpp (revisited)
Iñaki Úcar
i.ucar86 at gmail.com
Mon Jul 31 16:19:58 CEST 2017
2017-07-31 13:26 GMT+02:00 Dirk Eddelbuettel <edd at 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
More information about the Rcpp-devel
mailing list