# kotlin-native

Nathan Bedell

04/02/2024, 12:40 PM
Hi all. I'm curious, is there some way to pass Kotlin arrays into a C FFI, in a similar way to how we can call .cstr to convert a String into a C String? I've been looking, and I'm having trouble figuring out how I'd do this with a DoubleArray, for instance.
Nevermind, I see it. Looks like .toCValues is what I need.
✔️ 1