All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.dokar.quickjs.binding.JsObjectHandle.kt Maven / Gradle / Ivy

The newest version!
package com.dokar.quickjs.binding

import kotlin.jvm.JvmInline

/**
 * The handle to a defined JavaScript object, can be used to define nested bindings.
 */
@JvmInline
value class JsObjectHandle(
    val nativeHandle: Long,
) {
    companion object {
        val globalThis = JsObjectHandle(globalThisNativeHandle)
    }
}

internal expect val globalThisNativeHandle: Long




© 2015 - 2024 Weber Informatics LLC | Privacy Policy