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

commonMain.org.jetbrains.skia.Expects.kt Maven / Gradle / Ivy

package org.jetbrains.skia

expect fun  commonSynchronized(lock: Any, block: () -> R)

expect fun String.intCodePoints(): IntArray

expect fun defaultLanguageTag(): String

expect abstract class OutputStream

expect class Pattern {
    fun split(input: CharSequence): Array?
    fun matcher(input: CharSequence): Matcher
}

expect class Matcher {
    fun group(name: String): String?
    fun matches(): Boolean
}

expect fun compilePattern(regex: String): Pattern

interface BooleanSupplier {
    /**
     * Gets a result.
     *
     * @return a result
     */
    val asBoolean: Boolean
}

@OptIn(ExperimentalMultiplatform::class)
@OptionalExpectation
expect annotation class ExternalSymbolName(val name: String)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy