Fix typo (#3718)
This commit is contained in:
committed by
Nikolay Igotti
parent
17c5647ea4
commit
ce4c4f62f7
@@ -307,7 +307,7 @@ public fun <T : CVariable> CValues<T>.getBytes(): ByteArray = memScoped {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calls the [block] with temporary copy if this value as receiver.
|
* Calls the [block] with temporary copy of this value as receiver.
|
||||||
*/
|
*/
|
||||||
public inline fun <reified T : CStructVar, R> CValue<T>.useContents(block: T.() -> R): R = memScoped {
|
public inline fun <reified T : CStructVar, R> CValue<T>.useContents(block: T.() -> R): R = memScoped {
|
||||||
this@useContents.placeTo(memScope).pointed.block()
|
this@useContents.placeTo(memScope).pointed.block()
|
||||||
|
|||||||
Reference in New Issue
Block a user