An unsafe function pointer for passing JavaScript functions as C function pointers to foreign function calls.
An unsafe pointer to a function, for calling functions that are not present as symbols.
An unsafe pointer view to a memory location as specified by the pointer
value. The UnsafePointerView
API follows the standard built in interface
DataView
for accessing the underlying types at an memory
location (numbers, strings and raw bytes).
Opens an external dynamic library and registers symbols, making foreign functions available to be called.
A dynamic library resource. Use Deno.dlopen
to load a dynamic
library and return this interface.
The interface for a foreign function as defined by its parameter and result types.
A foreign library interface descriptor.
A non-null pointer, represented as an object
at runtime. The object's prototype is null
and cannot be changed. The object cannot be
assigned to either and is thus entirely read-only.
Type conversion for foreign symbol return types.
Type conversion for foreign symbol return types and unsafe callback parameters.
All BigInt number types for interfacing with foreign functions.
The native boolean type for interfacing to foreign functions.
The native buffer type for interfacing to foreign functions.
The native function type for interfacing with foreign functions.
All plain number types for interfacing with foreign functions.
The native pointer type for interfacing to foreign functions.
All supported types for interfacing with foreign functions.
The native void type for interfacing with foreign functions.
Pointers are represented either with a PointerObject
object or a null
if the pointer is null.
A utility type that infers a foreign library interface.
A utility type that infers a foreign symbol.
A utility type for conversion of parameter types of foreign functions.
Type conversion for unsafe callback return types.
Type conversion for foreign symbol parameters and unsafe callback return types.
An unsafe callback function.