cpp11 icon indicating copy to clipboard operation
cpp11 copied to clipboard

A few additions to external_pointer

Open thk686 opened this issue 3 years ago • 0 comments
trafficstars

In a few cases, it would make code slightly cleaner if external_pointer defined operator sexp(). It would also be nice to expose R_SetExternalPtrProtected as I use it a lot in a current project. The only reasoning for this is to expose only cpp11 code and not a mix of cpp11 and R internal functions, so it's not very important. More stylistic I suppose. I can make those changes in a fork unless there are reasons not too.

thk686 avatar Oct 01 '22 16:10 thk686