From 28420f53b06c7be0090ebbd4f242b11f976d6f64 Mon Sep 17 00:00:00 2001 From: luccie-cmd Date: Sun, 30 Mar 2025 14:57:04 +0200 Subject: Added executing of and --- src/mods/wasm.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mods/wasm.zig') diff --git a/src/mods/wasm.zig b/src/mods/wasm.zig index 579309b..a49385e 100644 --- a/src/mods/wasm.zig +++ b/src/mods/wasm.zig @@ -12,10 +12,12 @@ pub const Type = enum(u8) { pub const GlobalRuntime = struct { functions: std.StringHashMap(*const fn (stack: *std.ArrayList(vm.Value)) void), + // globals: [_]vm.Value, pub fn init(allocator: Allocator) GlobalRuntime { return GlobalRuntime{ .functions = std.StringHashMap(*const fn (stack: *std.ArrayList(vm.Value)) void).init(allocator), + // .globals = .{} }; } -- cgit v1.2.3