[Wasm][Stdlib] Reuse K/N collections and StringBuilder
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package kotlin.native.concurrent
|
||||
|
||||
// Only for compatibility with shared K/N stdlib code
|
||||
|
||||
internal val Any?.isFrozen
|
||||
inline get() = false
|
||||
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package kotlin.native.internal
|
||||
|
||||
// Only for compatibility with shared K/N stdlib code
|
||||
|
||||
internal interface KonanSet<out E> : Set<E> {
|
||||
fun getElement(element: @UnsafeVariance E): E?
|
||||
}
|
||||
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
internal annotation class CanBePrecreated
|
||||
Reference in New Issue
Block a user