It currently requires using the rust nightly channel and either the
wasm-unknown-emscripten targets. See the README for any help setting up a development
RSJS is created by
JSObject for more details.
Removes an object from the object table. For use in the
Drop implementation of
Releasing an object that is still refered to by a
JSObject will cause problems.
js_string! and the implementation of
std::convert::From<JSObject> for String.
Convert a String stored on the Rust heap (as described in
string. The memory is freed after conversion, so the pointer should be considered invalid by the caller.
This module declares C functions provided by either emscripten or the C standard library. These are all unsafe, and most are described in the emscripten documentation. You should probably avoid using these directly.