Unsigned arrays: expose storage field as internal PublishedApi

To be able to write basic extensions that access storage array.
This commit is contained in:
Ilya Gorbunov
2018-08-15 19:38:04 +03:00
parent 6d33313d2e
commit 6360cc3cb5
5 changed files with 5 additions and 5 deletions
@@ -12,7 +12,7 @@ package kotlin
public inline class UIntArray
@Suppress("NON_PUBLIC_PRIMARY_CONSTRUCTOR_OF_INLINE_CLASS")
@PublishedApi
internal constructor(private val storage: IntArray) : Collection<UInt> {
internal constructor(@PublishedApi internal val storage: IntArray) : Collection<UInt> {
/** Creates a new array of the specified [size], with all elements initialized to zero. */
public constructor(size: Int) : this(IntArray(size))