Add examples/documentation for closures

This commit is contained in:
Alex Crichton
2018-04-06 08:49:21 -07:00
parent 176060cc8a
commit a3e5485b86
16 changed files with 493 additions and 68 deletions

View File

@ -242,6 +242,7 @@ extern {
fn __wbindgen_cb_arity6(a: u32, b: u32, c: u32) -> u32;
fn __wbindgen_cb_arity7(a: u32, b: u32, c: u32) -> u32;
fn __wbindgen_cb_drop(idx: u32);
fn __wbindgen_cb_forget(idx: u32);
}
impl Clone for JsValue {