Properties
FAST_MEMORY
FAST_MEMORY: number
HEAP64
HEAP64: BigInt64Array
HEAPF32
HEAPF32: Float32Array
HEAPF64
HEAPF64: Float64Array
HEAPU16
HEAPU16: Uint16Array
HEAPU32
HEAPU32: Uint32Array
HEAPU64
HEAPU64: BigUint64Array
TOTAL_MEMORY
TOTAL_MEMORY: number
TOTAL_STACK
TOTAL_STACK: number
arguments
arguments: string[]
ccall
ccall: (<I, R>(ident,
returnType,
argTypes,
args,
opts?) => ReturnToType<R>) Type declaration
- <I, R>(ident, returnType, argTypes, args, opts?): ReturnToType<R>
Type Parameters
- I extends (null | JSType)[] | []
- R extends null | JSType
Parameters
- ident: string
- returnType: R
- argTypes: I
- args: Extract<{
[P in string | number | symbol]: StringToType<I[P<P>]>
}, any[]> Optional
opts: CCallOpts
Returns ReturnToType<R>
environment
environment: EnvironmentType
filePackagePrefixURL
filePackagePrefixURL: string
logReadFiles
logReadFiles: boolean
noExitRuntime
noExitRuntime: boolean
noInitialRun
noInitialRun: boolean
onAbort
onAbort: ((what) => void)
onRuntimeInitialized
onRuntimeInitialized: (() => void)
postRun
postRun: (() => void)[]
preInit
preInit: (() => void)[]
preRun
preRun: (() => void)[]
preinitializedWebGLContext
preinitializedWebGLContext: WebGLRenderingContext
preloadedAudios
preloadedAudios: any
preloadedImages
preloadedImages: any
stackAlloc
stackAlloc: ((size) => number)
Type declaration
- (size): number
Returns number
stackRestore
stackRestore: ((ptr) => void)
stackSave
stackSave: (() => number)
wasmBinary
wasmBinary: ArrayBuffer