:wave: Is there someone with experience with Objec...
# kotlin-native
g
👋 Is there someone with experience with Objective-C - Kotlin interoperability in KMM? I am trying to invoke an Objective-C function that takes a parameter with the following type: CValuesRef<CPointerVar<ifaddrs>> This supposed to be a pointer but I have no idea how to create something like that in Kotlin.
m
I'd do something like this:
Copy code
val ifaddrs: CPointerVar<ifaddrs> = alloc()
      getifaddrs(ifaddrs.ptr)
(inside a
memScoped{}
block)