diff --git a/src/sideros.zig b/src/sideros.zig index 2e5a5fc..5c22c70 100644 --- a/src/sideros.zig +++ b/src/sideros.zig @@ -46,7 +46,7 @@ fn init_mods() void { defer runtime.deinit(allocator); var parameters = [_]mods.VM.Value{.{ .i32 = 17 }}; - runtime.callExternal(allocator, .init, ¶meters) catch @panic("Failed to call to init"); + runtime.externalCall(allocator, .init, ¶meters) catch @panic("Failed to call to init"); const result = runtime.stack.pop().?; std.debug.print("Result of init: {any}\n", .{result}); }