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

jvmMain.org.jetbrains.skia.impl.Library.jvm.kt Maven / Gradle / Ivy

package org.jetbrains.skia.impl

import org.jetbrains.skiko.Library
import java.util.concurrent.atomic.AtomicBoolean

actual class Library {
    actual companion object {
        var loaded = AtomicBoolean(false)
        @JvmStatic
        actual fun staticLoad() {
            if (!loaded.compareAndExchange(false, true)) {
              Library.load()
            }
        }

        @JvmStatic external fun _nAfterLoad()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy