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

x/deno/cli/dts/lib.deno.unstable.d.ts>Deno.UnsafeFnPointer

A modern runtime for JavaScript and TypeScript.
Go to Latest
class Deno.UnsafeFnPointer
import { Deno } from "https://deno.land/x/deno@v1.28.1/cli/dts/lib.deno.unstable.d.ts";
const { UnsafeFnPointer } = Deno;

UNSTABLE: New API, yet to be vetted.

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

Constructors

new
UnsafeFnPointer(pointer: PointerValue, definition: Fn)

Properties

call: FromForeignFunction<Fn>

Call the foreign function.

definition: Fn

The definition of the function.

pointer: PointerValue

The pointer to the function.