Jeff Lockhart
07/06/2023, 11:48 PMIgor Yakovlev
07/07/2023, 8:21 PMi32
, i64
, f32
, f64
, etc. To import such function directly (i.e. without passing the execution through the JS) from side module into the Kotlin one can use WasmImport
annotation. Something like:
@kotlin.wasm.WasmImport("importModule", "importFunction")
external fun foo(a: Int, b: Float): Double
Jeff Lockhart
07/07/2023, 9:30 PM