R/utils.R

Defines functions is.nullptr as.extptr offsetPtr is.externalptr

Documented in as.extptr is.externalptr is.nullptr offsetPtr

# Package: rdyncall
# File: R/utils.R
# Description: Low-level external pointer utility functions

is.nullptr     <- function(x)         .Call("isnullptr", x, PACKAGE="rdyncall")
as.extptr      <- function(x)         .Call("asextptr", x, PACKAGE="rdyncall")
offsetPtr      <- function(x, offset) .Call("offsetPtr", x, offset, PACKAGE="rdyncall")
is.externalptr <- function(x)         (typeof(x) == "externalptr")

Try the rdyncall package in your browser

Any scripts or data that you put into this service are public.

rdyncall documentation built on May 2, 2019, 6:15 p.m.