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–2022 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