Revision d4c81fe5945c36432064c0275fc50af46da750fc authored by Saket Choudhary on 07 January 2022, 18:31:10 UTC, committed by Saket Choudhary on 07 January 2022, 18:31:10 UTC
valid_pointer.c
#include <Rinternals.h>
// helper to determine if external c++ pointer is valid
SEXP isnull(SEXP pointer) {
return Rf_ScalarLogical(!R_ExternalPtrAddr(pointer));
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...