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 of this value as receiver.

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