Skip to content

Commit 5ca0ab6

Browse files
committed
More fixes
1 parent b9f9d4b commit 5ca0ab6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main.zig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ pub const Instance = opaque {
239239
/// using the same `Store` as given.
240240
pub fn init(store: *Store, module: *Module, import: []const *Func) !*Instance {
241241
var trap: ?*Trap = null;
242-
var instance: ?*Instance = null;
243-
244242
var imports = ExternVec.initWithCapacity(import.len);
245243
defer imports.deinit();
246244

@@ -672,7 +670,7 @@ pub const ValVec = extern struct {
672670

673671
// Func
674672
pub extern "c" fn wasm_functype_new(args: *ValtypeVec, results: *ValtypeVec) ?*c_void;
675-
pub extern "c" fn wasm_functype_delete(functype: *c_void) c_void;
673+
pub extern "c" fn wasm_functype_delete(functype: *c_void) void;
676674

677675
pub const WasiConfig = opaque {
678676
/// Options to inherit when inherriting configs

0 commit comments

Comments
 (0)