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

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

There is a newer version: 0.6.7
Show newest version
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 {
    // Named groups are not supported in k/n. That's why we can use only numeric groups
    fun group(ix: Int): String?
    fun matches(): Boolean
}

expect fun compilePattern(regex: String): Pattern

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy