getPointer

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.

Since Kotlin

1.3