mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-25 11:02:11 +03:00
Flag free()
as returning void
This commit is contained in:
parent
5098f97e7d
commit
89c8621426
@ -236,7 +236,7 @@ impl<'a> Js<'a> {
|
||||
wasm.{}(ptr);
|
||||
}}
|
||||
", s.free_function()));
|
||||
ts_dst.push_str("free();\n");
|
||||
ts_dst.push_str("free(): void;\n");
|
||||
|
||||
for function in s.functions.iter() {
|
||||
let (js, ts) = self.generate_function(
|
||||
|
Loading…
Reference in New Issue
Block a user