stdlib
1.7
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Native
stdlib
/
kotlinx.cinterop
/
cValuesOf
c
Values
Of
Native
fun
cValuesOf
(
vararg
elements
:
Byte
)
:
CValues
<
ByteVar
>
(
source
)
Returns sequence of immutable values
CValues
to pass them to C code.
Since Kotlin
1.3
fun
cValuesOf
(
vararg
elements
:
Short
)
:
CValues
<
ShortVar
>
(
source
)
fun
cValuesOf
(
vararg
elements
:
Int
)
:
CValues
<
IntVar
>
(
source
)
fun
cValuesOf
(
vararg
elements
:
Long
)
:
CValues
<
LongVar
>
(
source
)
fun
cValuesOf
(
vararg
elements
:
Float
)
:
CValues
<
FloatVar
>
(
source
)
fun
cValuesOf
(
vararg
elements
:
Double
)
:
CValues
<
DoubleVar
>
(
source
)
fun
<
T
:
CPointed
>
cValuesOf
(
vararg
elements
:
CPointer
<
T
>
?
)
:
CValues
<
CPointerVar
<
T
>
>
(
source
)
fun
cValuesOf
(
vararg
elements
:
UByte
)
:
CValues
<
UByteVar
>
(
source
)
fun
cValuesOf
(
vararg
elements
:
UShort
)
:
CValues
<
UShortVar
>
(
source
)
fun
cValuesOf
(
vararg
elements
:
UInt
)
:
CValues
<
UIntVar
>
(
source
)
fun
cValuesOf
(
vararg
elements
:
ULong
)
:
CValues
<
ULongVar
>
(
source
)
Since Kotlin
1.3