toCStringArray
Требования к платформе и версии: Native (1.3)
fun List<String>.toCStringArray( autofreeScope: AutofreeScope ): CPointer<CPointerVar<ByteVar>>
Преобразуйте этот список Kotlin-строк в массив C-строк C, выделив память для массива и C-строк с заданным AutofreeScope.
Требования к платформе и версии: Native (1.3)
fun Array<String>.toCStringArray( autofreeScope: AutofreeScope ): CPointer<CPointerVar<ByteVar>>
Преобразуйте этот массив Kotlin-строк в массив C-строк C, выделив память для массива и C-строк с заданным AutofreeScope.
© 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/to-c-string-array.html