diff options
Diffstat (limited to 'crates/types')
| -rw-r--r-- | crates/types/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/types/src/lib.rs b/crates/types/src/lib.rs index 96866d3..87581e1 100644 --- a/crates/types/src/lib.rs +++ b/crates/types/src/lib.rs @@ -42,7 +42,7 @@ pub struct TinyWasmModule { pub start_func: Option<FuncAddr>, /// The functions of the WebAssembly module. - pub funcs: Box<[WasmFunction]>, + pub funcs: Box<[(u32, WasmFunction)]>, /// The types of the WebAssembly module. pub func_types: Box<[FuncType]>, @@ -355,9 +355,9 @@ impl FuncType { #[derive(Debug, Clone)] pub struct WasmFunction { - pub ty_addr: TypeAddr, pub instructions: Box<[Instruction]>, pub locals: Box<[ValType]>, + pub ty: FuncType, } /// A WebAssembly Module Export |
