The unsafeAddr operator

For easier interoperability with other compiled languages such as C, retrieving the address of a let variable, a parameter or a for loop variable, the unsafeAddr operation can be used:

  1. let myArray = [1, 2, 3]
  2. foreignProcThatTakesAnAddr(unsafeAddr myArray)