Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FFILibrary

internal

FFI Library wrapper, maintains most runtime states.

Hierarchy

  • FFILibrary

Implements

Index

Constructors

constructor

  • new FFILibrary(wasmInstance: Instance, imports: Record<string, any>): FFILibrary

Properties

exports

exports: Record<string, Function>

memory

memory: Memory

wasm32

wasm32: boolean

Optional webGPUContext

webGPUContext: WebGPUContext

Methods

checkCall

  • checkCall(code: number): void

dispose

  • dispose(): void

getOrAllocCallStack

recycleCallStack

sizeofPtr

  • sizeofPtr(): number

Generated using TypeDoc