feat(c-api) Do not rename wat2wasm for the moment.

This commit is contained in:
Ivan Enderlin
2021-02-12 00:26:53 +01:00
parent fd6689c580
commit 17dbb32e5a
11 changed files with 27 additions and 41 deletions

View File

@@ -118,7 +118,7 @@ pub unsafe extern "C" fn wasm_instance_delete(_instance: Option<Box<wasm_instanc
/// " (memory (export \"memory\") 1))"
/// );
/// wasm_byte_vec_t wasm;
/// wasmer_wat2wasm(&wat, &wasm);
/// wat2wasm(&wat, &wasm);
///
/// // Create the module.
/// wasm_module_t* module = wasm_module_new(store, &wasm);
@@ -245,7 +245,7 @@ mod tests {
" call $sum))"
);
wasm_byte_vec_t wasm;
wasmer_wat2wasm(&wat, &wasm);
wat2wasm(&wat, &wasm);
// Create the module.
wasm_module_t* module = wasm_module_new(store, &wasm);