| 540 | } |
| 541 | |
| 542 | static const void* Dataptr_or_null(SEXP alt) { |
| 543 | if (IsMaterialized(alt)) { |
| 544 | return DATAPTR_RO(Representation(alt)); |
| 545 | } |
| 546 | |
| 547 | return nullptr; |
| 548 | } |
| 549 | |
| 550 | static void* Dataptr(SEXP alt, Rboolean writeable) { return INTEGER(Materialize(alt)); } |
| 551 |
nothing calls this directly
no outgoing calls
no test coverage detected