We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c858085 commit f510275Copy full SHA for f510275
windows_helper/src/main/kotlin/Extensions.kt
@@ -45,11 +45,7 @@ private fun SegmentAllocator.allocateCStrings(vararg values: String) = slice_ref
45
}
46
47
slice_ref_Vec_uint8.len(it, values.size.toLong())
48
- it.set(
49
- slice_ref_Vec_uint8.`ptr$layout`(),
50
- slice_ref_Vec_uint8.`ptr$offset`(),
51
- array.elements(Vec_uint8.`ptr$layout`()).findFirst().get()
52
- )
+ slice_ref_Vec_uint8.ptr(it, array)
53
54
55
object WindowsAPI : Arena by Arena.ofConfined() {
0 commit comments