mach: platform/wasm: correct return signature

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-01-17 09:09:05 -07:00 committed by Stephen Gutekanst
parent 02ba76a95b
commit a15b9bb5f6

View file

@ -25,7 +25,7 @@ id: js.CanvasId,
last_cursor_position: Position,
last_key_mods: KeyMods,
pub fn init(core: *Core, allocator: std.mem.Allocator, options: Options) !*Core {
pub fn init(core: *Core, allocator: std.mem.Allocator, options: Options) !void {
_ = options;
var selector = [1]u8{0} ** 15;
const id = js.machCanvasInit(&selector[0]);