2

I wonder when Zone or stack allocation are necessary when using C interoperability. For instance, if I call C function which takes function pointer, can I use any Scala function (with conversion to CFuncPtr)? Or must I use only Scala function with stack allocated objects ou zoned memory?

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
abitbol
  • 487
  • 4
  • 8

0 Answers0