← Docs
kotlin-stdlib / kotlinx.cinterop / allocArrayOfPointersTo

allocArrayOfPointersTo

Native
1.3
fun < T : CPointed > NativePlacement . allocArrayOfPointersTo (
elements : List < T ? >
) : CArrayPointer < CPointerVar < T > >

(source)
fun < T : CPointed > NativePlacement . allocArrayOfPointersTo (
vararg elements : T ?
) : CArrayPointer < CPointerVar < T > >

(source)

Allocates C array of pointers to given elements.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .