Create an external pointer object.

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