In kotlin native interop C,what is the difference ...
# kotlin-native
u
In kotlin native interop C,what is the difference between the SymbolName way and the CInterop way?
Copy code
//Arrays.kt
public final class Array<T> {
	@SymbolName("Kotlin_Array_get")
    @PointsTo(0x000, 0x000, 0x002) // ret -> this.intestines
    external public operator fun get(index: Int): T
    
  @SymbolName("Kotlin_Array_set")
    @PointsTo(0x300, 0x000, 0x000) // this.intestines -> value
    external public operator fun set(index: Int, value: T): Unit
    
  @SymbolName("Kotlin_Array_getArrayLength")
    external private fun getArrayLength(): Int
}