typealias Arena = Int
object ArenaManager
open class JsArray : JsValue
open class JsValue
typealias KtFunction<R> = (ArrayList<JsValue>) -> R
typealias Object = Int
typealias Pointer = Int
const val upperWord: Long
fun allocateArena(): Arena
fun doubleLower(value: Double): Int
fun doubleUpper(value: Double): Int
fun freeArena(arena: Arena)
fun getInt( arena: Arena, obj: Object, propertyPtr: Pointer, propertyLen: Int ): Int
fun Konan_js_getProperty( arena: Arena, obj: Object, propertyPtr: Pointer, propertyLen: Int ): Int
fun pushIntToArena(arena: Arena, value: Int)
fun ReturnSlot_getDouble(): Double
fun runLambda( pointer: Int, argumentsArena: Arena, argumentsArenaSize: Int ): Int
fun setFunction( arena: Arena, obj: Object, propertyName: Pointer, propertyLength: Int, function: Int)
fun setString( arena: Arena, obj: Object, propertyName: Pointer, propertyLength: Int, stringPtr: Pointer, stringLength: Int)
fun setter(obj: JsValue, property: String, string: String)
fun setter( obj: JsValue, property: String, lambda: KtFunction<Unit>)
fun stringLengthBytes(message: String): Int
fun stringPointer(message: String): Pointer
fun <R> wrapFunction(func: KtFunction<R>): Int
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.wasm.jsinterop/index.html