gildor
11/30/2018, 10:07 AM**variable (this type generated by interop: CValuesRef<COpaquePointerVar>).
So in C you pass reference to this reference (like &variable). How can I do this in K/N?svyatoslav.scherbina
11/30/2018, 10:57 AMmemScoped {
val variableVar = alloc<COpaquePointerVar>()
nativeFun(variableVar.ptr)
variableVar.value // equivalent to `variable` in C
}
should work.gildor
11/30/2018, 11:03 AM