rusterlium / erlang_nif-sys

Low level bindings to Erlang NIF API for Rust
Apache License 2.0
90 stars 19 forks source link

make ErlNifBinary.data mutable (GH08) #9

Closed tatsuya6502 closed 8 years ago

tatsuya6502 commented 8 years ago

To fix https://github.com/goertzenator/ruster_unsafe/issues/8, change ErlNifBinary.data from *const u8 to *mut u8, so that the contents of data can be modified from Rust world.