| 200 | |
| 201 | private: |
| 202 | inline void checked_set(SEXP x) { |
| 203 | if (TYPEOF(x) != EXTPTRSXP) { |
| 204 | const char* fmt = "Expecting an external pointer: [type=%s]."; // #nocov |
| 205 | throw ::Rcpp::not_compatible(fmt, Rf_type2char(TYPEOF(x))); // #nocov |
| 206 | } |
| 207 | Storage::set__(x); |
| 208 | } |
| 209 | |
| 210 | }; |
| 211 |
nothing calls this directly
no outgoing calls
no test coverage detected