pointer: Class and function describing a pointer with information...

View source: R/aClasses.R

pointerR Documentation

Class and function describing a pointer with information about the type to which it points.

Description

The class PointerType is a sub-class of PointerFFIType and provides a description of a native type that is a pointer to a particular data type. The key difference is that this FFI type allows us to query the type(s) to which it points, as opposed to being a generic pointer to an arbitrary type.

Usage

pointer(type)  

Arguments

type

an object of class FFIType-class. This is the data type to which this pointer points.

Value

An object of class PointerType. This class has a elType slot that contains the type of the element for this pointer type.

Author(s)

Duncan Temple Lang

See Also

FFIType-class for other classes and types.


omegahat/Rffi documentation built on Nov. 29, 2023, 12:48 a.m.