mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00: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…
x
Reference in New Issue
Block a user