toArray

inline fun <T : CPointed> CArray<T>.toArray(): Array<CPointer<T>>

Turn a NULL terminated C Array into a Kotlin Array

set operations on the returned array does not modify the original C Array.


inline fun CPointer<IntVar>.toArray(): Array<Int>
inline fun CStringList.toArray(): Array<String>


inline fun <T : CPointed> CArray<T>.toArray(size: Int): Array<CPointer<T>>

Turn a C Array into a Kotlin Array with a known size

set operations on the returned Array does not modify the original C Array.