feat(interface-types) Rename write-utf8 to string-to-memory.

This commit is contained in:
Ivan Enderlin
2020-03-10 10:25:58 +01:00
parent 2d6b987791
commit a93421f6c2
9 changed files with 213 additions and 215 deletions

View File

@ -203,8 +203,8 @@ where
instructions::call_export((*export_name).to_owned(), instruction_name)
}
Instruction::MemoryToString => instructions::memory_to_string(instruction_name),
Instruction::WriteUtf8 { allocator_name } => {
instructions::write_utf8((*allocator_name).to_owned(), instruction_name)
Instruction::StringToMemory { allocator_index } => {
instructions::string_to_memory(*allocator_index, instruction_name)
}
Instruction::I32ToS8 => instructions::i32_to_s8(),