W3cubDocs

/Kotlin

set

Platform and version requirements: Native (1.3)
operator fun <T : Byte> CPointer<ByteVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : Byte> CPointer<ByteVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : Short> CPointer<ShortVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : Short> CPointer<ShortVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : Int> CPointer<IntVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : Int> CPointer<IntVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : Long> CPointer<LongVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : Long> CPointer<LongVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : UByte> CPointer<UByteVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : UByte> CPointer<UByteVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : UShort> CPointer<UShortVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : UShort> CPointer<UShortVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : UInt> CPointer<UIntVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : UInt> CPointer<UIntVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : ULong> CPointer<ULongVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : ULong> CPointer<ULongVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : Float> CPointer<FloatVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : Float> CPointer<FloatVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : Double> CPointer<DoubleVarOf<T>>.set(
    index: Int, 
    value: T)
operator fun <T : Double> CPointer<DoubleVarOf<T>>.set(
    index: Long, 
    value: T)
operator fun <T : CPointer<*>> CPointer<CPointerVarOf<T>>.set(
    index: Int, 
    value: T?)
operator fun <T : CPointer<*>> CPointer<CPointerVarOf<T>>.set(
    index: Long, 
    value: T?)

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/set.html