diff options
Diffstat (limited to 'chromium/v8/third_party/wasm-api/example/hello.c')
-rw-r--r-- | chromium/v8/third_party/wasm-api/example/hello.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/v8/third_party/wasm-api/example/hello.c b/chromium/v8/third_party/wasm-api/example/hello.c index b1c8c5fee5f..e4ef9837ffc 100644 --- a/chromium/v8/third_party/wasm-api/example/hello.c +++ b/chromium/v8/third_party/wasm-api/example/hello.c @@ -62,7 +62,8 @@ int main(int argc, const char* argv[]) { // Instantiate. printf("Instantiating module...\n"); const wasm_extern_t* imports[] = { wasm_func_as_extern(hello_func) }; - own wasm_instance_t* instance = wasm_instance_new(store, module, imports); + own wasm_instance_t* instance = + wasm_instance_new(store, module, imports, NULL); if (!instance) { printf("> Error instantiating module!\n"); return 1; |