Skip to content

@gtkx/ffi / Arg

Type Alias: Arg

Arg = object

Defined in: packages/native/dist/types.d.ts:143

An argument for an FFI call.

Combines a value with its type information for marshaling.

Properties

optional?

optional optional?: boolean

Defined in: packages/native/dist/types.d.ts:149

Whether the argument can be null/undefined


type

type: Type

Defined in: packages/native/dist/types.d.ts:145

Type descriptor for marshaling


value

value: unknown

Defined in: packages/native/dist/types.d.ts:147

The argument value