mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-03 02:41:06 +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);
|
wasm.{}(ptr);
|
||||||
}}
|
}}
|
||||||
", s.free_function()));
|
", s.free_function()));
|
||||||
ts_dst.push_str("free();\n");
|
ts_dst.push_str("free(): void;\n");
|
||||||
|
|
||||||
for function in s.functions.iter() {
|
for function in s.functions.iter() {
|
||||||
let (js, ts) = self.generate_function(
|
let (js, ts) = self.generate_function(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user