[Wasm] Migrate usages of @JsFun to js("code")

This commit is contained in:
Svyatoslav Kuzmich
2023-01-14 15:19:25 +01:00
committed by Space Team
parent 7a04999e4a
commit 7175b9f31c
18 changed files with 303 additions and 297 deletions
@@ -3,8 +3,8 @@ package test.wasm.unsafe
import kotlin.wasm.unsafe.*
import kotlin.test.*
@JsFun("(a, b) => a + b")
private external fun jsConcatStrings(a: String, b: String): String
private fun jsConcatStrings(a: String, b: String): String =
js("a + b")
@OptIn(UnsafeWasmMemoryApi::class)
class MemoryAllocationTest {