W3cubDocs

/Kotlin

useContents

Platform and version requirements: Native (1.3)
inline fun <reified T : CStructVar, R> CValue<T>.useContents(
    block: T.() -> R
): R

Calls the block with temporary copy if this value as receiver.

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