Search
Preparing search index...
The search index is not available
tvmjs
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
FFILibrary
Class FFILibrary
internal
FFI Library wrapper, maintains most runtime states.
Hierarchy
FFILibrary
Implements
Disposable
Index
Constructors
constructor
Properties
exports
memory
wasm32
webGPUContext
Methods
check
Call
dispose
get
OrAlloc
Call
Stack
recycle
Call
Stack
sizeof
Ptr
Constructors
constructor
new FFILibrary
(
wasmInstance
:
Instance
, imports
:
Record
<
string
,
any
>
)
:
FFILibrary
Parameters
wasmInstance:
Instance
imports:
Record
<
string
,
any
>
Returns
FFILibrary
Properties
exports
exports
:
Record
<
string
,
Function
>
memory
memory
:
Memory
wasm32
wasm32
:
boolean
Optional
webGPUContext
webGPUContext
:
WebGPUContext
Methods
check
Call
check
Call
(
code
:
number
)
:
void
Parameters
code:
number
Returns
void
dispose
dispose
(
)
:
void
Returns
void
get
OrAlloc
Call
Stack
get
OrAlloc
Call
Stack
(
)
:
CachedCallStack
Returns
CachedCallStack
recycle
Call
Stack
recycle
Call
Stack
(
callstack
:
CachedCallStack
)
:
void
Parameters
callstack:
CachedCallStack
Returns
void
sizeof
Ptr
sizeof
Ptr
(
)
:
number
Returns
number
Globals
FFILibrary
constructor
exports
memory
wasm32
webGPUContext
check
Call
dispose
get
OrAlloc
Call
Stack
recycle
Call
Stack
sizeof
Ptr
Generated using
TypeDoc
FFI Library wrapper, maintains most runtime states.