Align scala-native-bindgen with Scala Native 0.4.x API
david-bouyssie opened this issue · comments
David Bouyssié commented
Please do the following substitutions (maybe not exhaustive) to match the 0.4.x API:
- import scala.scalanative._ ; import scala.scalanative.native._ -> import scala.scalanative.unsafe._ ;
import scala.scalanative.unsigned._ - CFunctionPtr ->CFuncPtr
- !p._x -> p.x
Additionally, "native.xxx" could be shorten to "xxx".
Eric K Richardson commented
@david-bouyssie I have gotten quite far but could use some extra eyes as well. #195
David Bouyssié commented
Amazing, thanks ❤️
I can't test now but I'm very excited about this improvement.