Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
class Deno.UnsafeFnPointer
Unstable

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

Constructors

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

Properties

Call the foreign function.

definition: Fn

The definition of the function.

pointer: PointerObject<Fn>

The pointer to the function.

Constructors

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

Properties

Call the foreign function.

definition: Fn

The definition of the function.

pointer: PointerObject<Fn>

The pointer to the function.