W3cubDocs

/Kotlin

Package kotlinx.wasm.jsinterop

Types

Platform and version requirements: Native (1.3)

Arena

typealias Arena = Int
Platform and version requirements: Native (1.3)

ArenaManager

object ArenaManager
Platform and version requirements: Native (1.3)

JsArray

open class JsArray : JsValue
Platform and version requirements: Native (1.3)

JsValue

open class JsValue
Platform and version requirements: Native (1.3)

KtFunction

typealias KtFunction<R> = (ArrayList<JsValue>) -> R
Platform and version requirements: Native (1.3)

Object

typealias Object = Int
Platform and version requirements: Native (1.3)

Pointer

typealias Pointer = Int

Properties

Platform and version requirements: Native (1.3)

upperWord

const val upperWord: Long

Functions

Platform and version requirements: Native (1.3)

allocateArena

fun allocateArena(): Arena
Platform and version requirements: Native (1.3)

doubleLower

fun doubleLower(value: Double): Int
Platform and version requirements: Native (1.3)

doubleUpper

fun doubleUpper(value: Double): Int
Platform and version requirements: Native (1.3)

freeArena

fun freeArena(arena: Arena)
Platform and version requirements: Native (1.3)

getInt

fun getInt(
    arena: Arena, 
    obj: Object, 
    propertyPtr: Pointer, 
    propertyLen: Int
): Int
Platform and version requirements: Native (1.3)

Konan_js_getProperty

fun Konan_js_getProperty(
    arena: Arena, 
    obj: Object, 
    propertyPtr: Pointer, 
    propertyLen: Int
): Int
Platform and version requirements: Native (1.3)

pushIntToArena

fun pushIntToArena(arena: Arena, value: Int)
Platform and version requirements: Native (1.3)

ReturnSlot_getDouble

fun ReturnSlot_getDouble(): Double
Platform and version requirements: Native (1.3)

runLambda

fun runLambda(
    pointer: Int, 
    argumentsArena: Arena, 
    argumentsArenaSize: Int
): Int
Platform and version requirements: Native (1.3)

setFunction

fun setFunction(
    arena: Arena, 
    obj: Object, 
    propertyName: Pointer, 
    propertyLength: Int, 
    function: Int)
Platform and version requirements: Native (1.3)

setString

fun setString(
    arena: Arena, 
    obj: Object, 
    propertyName: Pointer, 
    propertyLength: Int, 
    stringPtr: Pointer, 
    stringLength: Int)
Platform and version requirements: Native (1.3)

setter

fun setter(obj: JsValue, property: String, string: String)
fun setter(
    obj: JsValue, 
    property: String, 
    lambda: KtFunction<Unit>)
Platform and version requirements: Native (1.3)

stringLengthBytes

fun stringLengthBytes(message: String): Int
Platform and version requirements: Native (1.3)

stringPointer

fun stringPointer(message: String): Pointer
Platform and version requirements: Native (1.3)

wrapFunction

fun <R> wrapFunction(func: KtFunction<R>): Int

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.wasm.jsinterop/index.html