xptr

Create an external pointer object.

Source code

Description

Create an external pointer object.

Usage

new_xptr(address = "", tag = NULL, protected = NULL)

null_xptr(tag = NULL, protected = NULL)

Arguments

address A string of pointer address
tag An optional tag
protected an objected to be protected from gc within the lifetime of the external pointer

Value

An externalptr object