voidType: Objects representing different native data types

voidTypeR Documentation

Objects representing different native data types

Description

This collection of objects provide internal constant objects that represent the different native types available through the libffi library.

stringType is a type that is not in libffi but a specific one for representing strings, i.e the char * type in C.

One can create descriptions of struct types using the structType function.

One can obtain a list containing references to all of the C-level objects via getTypes(). The elements are indexed by name, e.g. "void", "sint32", "double". We use explicit variable names to catch typos that would lead to NULL values, e.g. getTypes()[["flat"]].

Usage

voidType

Format

Each of these object is an external pointer to the C-level object that represents the particular type.

Source

libffi

References

libffi.


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