Closed goertzenator closed 8 years ago
I was about to point out 18.2.1 fails because the NIF version is 2.9 :).
Can I send a patch that just checks Version is > 2.7 for now?
@tsloughter Just FYI, You can take my code from PR https://github.com/goertzenator/ruster_unsafe/pull/6 for OTP 18.2.x. It does not do when X>Y
but when X=:=W; X=:=Y; X=:=Z
. (I followed the conversion in the current code base.)
Oh, I didn't notice #6 had that. I simply quickly forked and did >= {2.7}
.
After PR #6, it is now evident that the version selection scheme in gen_api.erl is going to start looking ugly before too many more NIF revisions.
Quick ideas to think more about later when I have time...
when X>Y
logic to select APIs.