Yan Pujante
08/08/2019, 5:59 PMimport kotlinx.cinterop.CPointer
import kotlinx.cinterop.NativePtr
import kotlinx.cinterop.interpretObjCPointer
import platform.AppKit.NSView
fun attached(parent: CPointer<*>) : Boolean {
val view = interpretObjCPointer<NSView>(parent.rawValue)
println("kotlin::attached(tag=${view.tag()}, window=${view.window()})")
return true
}
I am generating a static library and it takes about 43 seconds to compile (after multiple compile.. I know that the first time it needs to download a lot of stuff).
Is there anything I can do to speed it up (especially if the API does not change but only the implementation)?