Skip to content

Commit 29064b9

Browse files
committed
BridgeJS: Add missing template functions
1 parent e41c6c4 commit 29064b9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Plugins/PackageToJS/Templates/instantiate.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,21 @@ async function createInstantiator(options, swift) {
3939
swift_js_throw: unexpectedBjsCall,
4040
swift_js_retain: unexpectedBjsCall,
4141
swift_js_release: unexpectedBjsCall,
42+
swift_js_push_tag: unexpectedBjsCall,
43+
swift_js_push_int: unexpectedBjsCall,
44+
swift_js_push_f32: unexpectedBjsCall,
45+
swift_js_push_f64: unexpectedBjsCall,
46+
swift_js_push_string: unexpectedBjsCall,
47+
swift_js_pop_param_int32: unexpectedBjsCall,
48+
swift_js_pop_param_f32: unexpectedBjsCall,
49+
swift_js_pop_param_f64: unexpectedBjsCall,
50+
swift_js_return_optional_bool: unexpectedBjsCall,
51+
swift_js_return_optional_int: unexpectedBjsCall,
52+
swift_js_return_optional_string: unexpectedBjsCall,
53+
swift_js_return_optional_double: unexpectedBjsCall,
54+
swift_js_return_optional_float: unexpectedBjsCall,
55+
swift_js_return_optional_heap_object: unexpectedBjsCall,
56+
swift_js_return_optional_object: unexpectedBjsCall,
4257
}
4358
},
4459
/** @param {WebAssembly.Instance} instance */

0 commit comments

Comments
 (0)