Ende.UnsafeFnPointer

class

class Ende.UnsafeFnPointer<Fn extends ForeignFunction>

An unsafe pointer to a function, for calling functions that are not present as symbols.

Constructors

constructor

new UnsafeFnPointer(pointer: PointerObject<NoInfer<Omit<Fn, "nonblocking">>>, definition: Fn)

Properties

pointer

pointer: PointerObject<Fn>

The pointer to the function.

definition

definition: Fn

The definition of the function.

call

call: FromForeignFunction<Fn>

Call the foreign function.