Hey, given an array _cp of CPointer<CStructVar> ho...
# kotlin-native
a
Hey, given an array _cp of CPointerCStructVar how can i set the value of say, second element i.e. _cp[1] currently am getting error "No set method providing array access" when i try
Copy code
_cp[1]=CStructVar.ptr
found out we can only set the properties of the struct e.g _cp[1].property1 = value1 _cp[1].property2 = value2