mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 16:20:49 +00:00
test(runtime-c-api) Fix compilation errors in test-exports.c
.
This commit is contained in:
parent
725aff6fee
commit
1dfae80c65
@ -31,7 +31,7 @@ int main()
|
||||
|
||||
wasmer_import_export_kind kind = wasmer_export_kind(export);
|
||||
assert(kind == WASM_FUNCTION);
|
||||
wasmer_export_func_t *func = wasmer_export_to_func(export);
|
||||
const wasmer_export_func_t *func = wasmer_export_to_func(export);
|
||||
|
||||
wasmer_byte_array name_bytes = wasmer_export_name(export);
|
||||
assert(name_bytes.bytes_len == 3);
|
||||
@ -83,4 +83,4 @@ int main()
|
||||
printf("Destroy exports\n");
|
||||
wasmer_exports_destroy(exports);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user