@@ -10147,93 +10147,93 @@ func _$jsTranslatePoint(_ point: Point, _ dx: Int, _ dy: Int) throws(JSException
1014710147}
1014810148
1014910149#if arch( wasm32 )
10150- @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_runJsOptionalSupportTests " )
10151- fileprivate func bjs_runJsOptionalSupportTests ( ) -> Void
10150+ @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_OptionalSupportImports_jsRoundTripOptionalNumberNull_static " )
10151+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalNumberNull_static ( _ valueIsSome : Int32 , _ valueValue : Int32 ) -> Void
1015210152#else
10153- fileprivate func bjs_runJsOptionalSupportTests ( ) -> Void {
10153+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalNumberNull_static ( _ valueIsSome : Int32 , _ valueValue : Int32 ) -> Void {
1015410154 fatalError ( " Only available on WebAssembly " )
1015510155}
1015610156#endif
1015710157
10158- func _ $runJsOptionalSupportTests( ) throws( JSException ) -> Void {
10159- bjs_runJsOptionalSupportTests ( )
10160- if let error = _swift_js_take_exception ( ) {
10161- throw error
10162- }
10158+ #if arch( wasm32 )
10159+ @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_OptionalSupportImports_jsRoundTripOptionalNumberUndefined_static " )
10160+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalNumberUndefined_static ( _ valueIsSome : Int32 , _ valueValue : Int32 ) -> Void
10161+ #else
10162+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalNumberUndefined_static ( _ valueIsSome : Int32 , _ valueValue : Int32 ) -> Void {
10163+ fatalError ( " Only available on WebAssembly " )
1016310164}
10165+ #endif
1016410166
1016510167#if arch( wasm32 )
10166- @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_jsRoundTripOptionalNumberNull " )
10167- fileprivate func bjs_jsRoundTripOptionalNumberNull ( _ valueIsSome : Int32 , _ valueValue : Int32 ) -> Void
10168+ @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_OptionalSupportImports_jsRoundTripOptionalStringNull_static " )
10169+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalStringNull_static ( _ nameIsSome : Int32 , _ nameValue : Int32 ) -> Void
1016810170#else
10169- fileprivate func bjs_jsRoundTripOptionalNumberNull ( _ valueIsSome : Int32 , _ valueValue : Int32 ) -> Void {
10171+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalStringNull_static ( _ nameIsSome : Int32 , _ nameValue : Int32 ) -> Void {
1017010172 fatalError ( " Only available on WebAssembly " )
1017110173}
1017210174#endif
1017310175
10174- func _ $jsRoundTripOptionalNumberNull( _ value : Optional < Int > ) throws( JSException ) -> Optional < Int > {
10175- let ( valueIsSome , valueValue ) = value . bridgeJSLowerParameter ( )
10176- bjs_jsRoundTripOptionalNumberNull ( valueIsSome , valueValue )
10177- if let error = _swift_js_take_exception ( ) {
10178- throw error
10179- }
10180- return Optional < Int > . bridgeJSLiftReturnFromSideChannel ( )
10176+ #if arch( wasm32 )
10177+ @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_OptionalSupportImports_jsRoundTripOptionalStringUndefined_static " )
10178+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalStringUndefined_static ( _ nameIsSome : Int32 , _ nameValue : Int32 ) -> Void
10179+ #else
10180+ fileprivate func bjs_OptionalSupportImports_jsRoundTripOptionalStringUndefined_static ( _ nameIsSome : Int32 , _ nameValue : Int32 ) -> Void {
10181+ fatalError ( " Only available on WebAssembly " )
1018110182}
10183+ #endif
1018210184
1018310185#if arch( wasm32 )
10184- @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_jsRoundTripOptionalNumberUndefined " )
10185- fileprivate func bjs_jsRoundTripOptionalNumberUndefined ( _ valueIsSome : Int32 , _ valueValue : Int32 ) -> Void
10186+ @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_OptionalSupportImports_runJsOptionalSupportTests_static " )
10187+ fileprivate func bjs_OptionalSupportImports_runJsOptionalSupportTests_static ( ) -> Void
1018610188#else
10187- fileprivate func bjs_jsRoundTripOptionalNumberUndefined ( _ valueIsSome : Int32 , _ valueValue : Int32 ) -> Void {
10189+ fileprivate func bjs_OptionalSupportImports_runJsOptionalSupportTests_static ( ) -> Void {
1018810190 fatalError ( " Only available on WebAssembly " )
1018910191}
1019010192#endif
1019110193
10192- func _ $jsRoundTripOptionalNumberUndefined ( _ value : JSUndefinedOr < Int > ) throws( JSException ) -> JSUndefinedOr < Int > {
10194+ func _ $OptionalSupportImports_jsRoundTripOptionalNumberNull ( _ value : Optional < Int > ) throws( JSException ) -> Optional < Int > {
1019310195 let ( valueIsSome , valueValue ) = value . bridgeJSLowerParameter ( )
10194- bjs_jsRoundTripOptionalNumberUndefined ( valueIsSome , valueValue )
10196+ bjs_OptionalSupportImports_jsRoundTripOptionalNumberNull_static ( valueIsSome , valueValue )
1019510197 if let error = _swift_js_take_exception ( ) {
1019610198 throw error
1019710199 }
10198- return JSUndefinedOr < Int > . bridgeJSLiftReturnFromSideChannel ( )
10200+ return Optional < Int > . bridgeJSLiftReturnFromSideChannel ( )
1019910201}
1020010202
10201- #if arch( wasm32 )
10202- @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_jsRoundTripOptionalStringNull " )
10203- fileprivate func bjs_jsRoundTripOptionalStringNull ( _ nameIsSome : Int32 , _ nameValue : Int32 ) -> Void
10204- #else
10205- fileprivate func bjs_jsRoundTripOptionalStringNull( _ nameIsSome : Int32 , _ nameValue : Int32 ) -> Void {
10206- fatalError ( " Only available on WebAssembly " )
10203+ func _ $OptionalSupportImports_jsRoundTripOptionalNumberUndefined( _ value : JSUndefinedOr < Int > ) throws( JSException ) -> JSUndefinedOr < Int > {
10204+ let ( valueIsSome , valueValue ) = value . bridgeJSLowerParameter ( )
10205+ bjs_OptionalSupportImports_jsRoundTripOptionalNumberUndefined_static ( valueIsSome , valueValue )
10206+ if let error = _swift_js_take_exception ( ) {
10207+ throw error
10208+ }
10209+ return JSUndefinedOr < Int > . bridgeJSLiftReturnFromSideChannel ( )
1020710210}
10208- #endif
1020910211
10210- func _ $jsRoundTripOptionalStringNull ( _ name : Optional < String > ) throws( JSException ) -> Optional < String > {
10212+ func _ $OptionalSupportImports_jsRoundTripOptionalStringNull ( _ name : Optional < String > ) throws( JSException ) -> Optional < String > {
1021110213 let ( nameIsSome , nameValue ) = name . bridgeJSLowerParameter ( )
10212- bjs_jsRoundTripOptionalStringNull ( nameIsSome , nameValue )
10214+ bjs_OptionalSupportImports_jsRoundTripOptionalStringNull_static ( nameIsSome , nameValue )
1021310215 if let error = _swift_js_take_exception ( ) {
1021410216 throw error
1021510217 }
1021610218 return Optional < String > . bridgeJSLiftReturnFromSideChannel ( )
1021710219}
1021810220
10219- #if arch( wasm32 )
10220- @ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_jsRoundTripOptionalStringUndefined " )
10221- fileprivate func bjs_jsRoundTripOptionalStringUndefined ( _ nameIsSome : Int32 , _ nameValue : Int32 ) -> Void
10222- #else
10223- fileprivate func bjs_jsRoundTripOptionalStringUndefined( _ nameIsSome : Int32 , _ nameValue : Int32 ) -> Void {
10224- fatalError ( " Only available on WebAssembly " )
10225- }
10226- #endif
10227-
10228- func _ $jsRoundTripOptionalStringUndefined( _ name : JSUndefinedOr < String > ) throws( JSException ) -> JSUndefinedOr < String > {
10221+ func _ $OptionalSupportImports_jsRoundTripOptionalStringUndefined( _ name : JSUndefinedOr < String > ) throws( JSException ) -> JSUndefinedOr < String > {
1022910222 let ( nameIsSome , nameValue ) = name . bridgeJSLowerParameter ( )
10230- bjs_jsRoundTripOptionalStringUndefined ( nameIsSome , nameValue )
10223+ bjs_OptionalSupportImports_jsRoundTripOptionalStringUndefined_static ( nameIsSome , nameValue )
1023110224 if let error = _swift_js_take_exception ( ) {
1023210225 throw error
1023310226 }
1023410227 return JSUndefinedOr < String > . bridgeJSLiftReturnFromSideChannel ( )
1023510228}
1023610229
10230+ func _ $OptionalSupportImports_runJsOptionalSupportTests( ) throws( JSException ) -> Void {
10231+ bjs_OptionalSupportImports_runJsOptionalSupportTests_static ( )
10232+ if let error = _swift_js_take_exception ( ) {
10233+ throw error
10234+ }
10235+ }
10236+
1023710237#if arch( wasm32 )
1023810238@ _extern ( wasm , module : " BridgeJSRuntimeTests " , name : " bjs_SwiftClassSupportImports_jsRoundTripGreeter_static " )
1023910239fileprivate func bjs_SwiftClassSupportImports_jsRoundTripGreeter_static ( _ greeter : UnsafeMutableRawPointer ) -> UnsafeMutableRawPointer
0 commit comments