Closed jdm closed 4 years ago
It's too easy to misuse, otherwise. We can do the rust->c string conversion inside the constructor.
https://github.com/servo/rust-mozjs/blob/5a50c377a4e1f55abc1286b74100a4cc35adc789/src/rust.rs#L928
It's too easy to misuse, otherwise. We can do the rust->c string conversion inside the constructor.