Expand description
Raw FFI bindings to the Wasm3 WebAssembly interpreter.
The bindings are generated at build time with bindgen from the vendored
Wasm3 C sources and expose the public m3_* C-API verbatim. Prefer the safe
wrapper crate over using these bindings directly.
Modules§
Structs§
- M3Backtrace
Frame - M3Backtrace
Info - M3Environment
- M3Error
Info - M3Function
- M3Global
- M3Import
Context - M3Import
Info - M3Module
- M3Runtime
- M3Tagged
Value - __
va_ list_ tag
Constants§
Statics§
- m3Err_
argument ⚠Count Mismatch - m3Err_
argument ⚠Type Mismatch - m3Err_
function ⚠Import Missing - m3Err_
function ⚠Lookup Failed - m3Err_
function ⚠Stack Overflow - m3Err_
function ⚠Stack Underrun - m3Err_
globa ⚠Index OutOf Bounds - m3Err_
global ⚠Lookup Failed - m3Err_
global ⚠Memory NotAllocated - m3Err_
global ⚠NotMutable - m3Err_
global ⚠Type Mismatch - m3Err_
incompatible ⚠Wasm Version - m3Err_
invalid ⚠Type Id - m3Err_
lebOverflow ⚠ - m3Err_
malformed ⚠Function Signature - m3Err_
malloc ⚠Failed - m3Err_
malloc ⚠Failed Code Page - m3Err_
misordered ⚠Wasm Section - m3Err_
missing ⚠Compiled Code - m3Err_
missingUT ⚠F8 - m3Err_
module ⚠Already Linked - m3Err_
module ⚠NotLinked - m3Err_
noCompiler ⚠ - m3Err_
none ⚠ - m3Err_
restricted ⚠Opcode - m3Err_
setting ⚠Immutable Global - m3Err_
tooMany ⚠Args Rets - m3Err_
tooMany ⚠Memory Sections - m3Err_
trap ⚠Abort - m3Err_
trap ⚠Division ByZero - m3Err_
trap ⚠Exit - m3Err_
trap ⚠Indirect Call Type Mismatch - m3Err_
trap ⚠Integer Conversion - m3Err_
trap ⚠Integer Overflow - m3Err_
trap ⚠OutOf Bounds Memory Access - m3Err_
trap ⚠Stack Overflow - m3Err_
trap ⚠Table Element IsNull - m3Err_
trap ⚠Table Index OutOf Range - m3Err_
trap ⚠Unreachable - m3Err_
type ⚠Count Mismatch - m3Err_
type ⚠Mismatch - m3Err_
unknown ⚠Opcode - m3Err_
wasm ⚠Malformed - m3Err_
wasm ⚠Memory Overflow - m3Err_
wasm ⚠Missing Init Expr - m3Err_
wasm ⚠Overrun - m3Err_
wasm ⚠Section Overrun - m3Err_
wasm ⚠Section Underrun - m3Err_
wasm ⚠Underrun
Functions§
- m3_Call⚠
- m3_
Call ⚠Argv - m3_
CallV ⚠ - m3_
CallVL ⚠ - m3_
Compile ⚠Module - m3_
Find ⚠Function - m3_
Find ⚠Global - m3_
Free ⚠Environment - m3_
Free ⚠Module - m3_
Free ⚠Runtime - m3_
GetArg ⚠Count - m3_
GetArg ⚠Type - m3_
GetBacktrace ⚠ - m3_
GetError ⚠Info - m3_
GetFunction ⚠Module - m3_
GetFunction ⚠Name - m3_
GetGlobal ⚠ - m3_
GetGlobal ⚠Type - m3_
GetMemory ⚠ - m3_
GetMemory ⚠Size - m3_
GetModule ⚠Name - m3_
GetModule ⚠Runtime - m3_
GetResults ⚠ - m3_
GetResultsV ⚠ - m3_
GetResultsVL ⚠ - m3_
GetRet ⚠Count - m3_
GetRet ⚠Type - m3_
GetTable ⚠Function - m3_
GetUser ⚠Data - m3_
Link ⚠RawFunction - m3_
Link ⚠RawFunction Ex - m3_
Load ⚠Module - m3_
NewEnvironment ⚠ - m3_
NewRuntime ⚠ - m3_
Parse ⚠Module - m3_
Print ⚠M3Info - m3_
Print ⚠Profiler Info - m3_
Print ⚠Runtime Info - m3_
Reset ⚠Error Info - m3_
RunStart ⚠ - m3_
SetCustom ⚠Section Handler - m3_
SetGlobal ⚠ - m3_
SetModule ⚠Name - m3_
Yield ⚠ - wasm3x_
GetGlobal ⚠Mutable
Type Aliases§
- IM3Backtrace
Frame - IM3Backtrace
Info - IM3Environment
- IM3Function
- IM3Global
- IM3Import
Context - IM3Import
Info - IM3Module
- IM3Runtime
- IM3Tagged
Value - M3Raw
Call - M3Result
- M3Section
Handler - __
builtin_ va_ list - va_list