mach: platform/wasm: correct return signature
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
02ba76a95b
commit
a15b9bb5f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue