← Docs
kotlin-stdlib / kotlinx.cinterop / CValuesRef / getPointer

getPointer

Native
1.3
abstract fun getPointer ( scope : AutofreeScope ) : CPointer < T >
(source)

If this reference is CPointer , returns this pointer, otherwise allocate storage value in the scope and return it.

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 .