88
99#if arch( wasm32 )
1010@ _extern ( wasm , module : " Check " , name : " bjs_createArrayBuffer " )
11- func bjs_createArrayBuffer ( ) -> Int32
11+ fileprivate func bjs_createArrayBuffer ( ) -> Int32
1212#else
13- func bjs_createArrayBuffer( ) -> Int32 {
13+ fileprivate func bjs_createArrayBuffer( ) -> Int32 {
1414 fatalError ( " Only available on WebAssembly " )
1515}
1616#endif
@@ -25,9 +25,9 @@ func createArrayBuffer() throws(JSException) -> ArrayBufferLike {
2525
2626#if arch( wasm32 )
2727@ _extern ( wasm , module : " Check " , name : " bjs_createWeirdObject " )
28- func bjs_createWeirdObject ( ) -> Int32
28+ fileprivate func bjs_createWeirdObject ( ) -> Int32
2929#else
30- func bjs_createWeirdObject( ) -> Int32 {
30+ fileprivate func bjs_createWeirdObject( ) -> Int32 {
3131 fatalError ( " Only available on WebAssembly " )
3232}
3333#endif
@@ -42,18 +42,18 @@ func createWeirdObject() throws(JSException) -> WeirdNaming {
4242
4343#if arch( wasm32 )
4444@ _extern ( wasm , module : " Check " , name : " bjs_ArrayBufferLike_byteLength_get " )
45- func bjs_ArrayBufferLike_byteLength_get ( _ self : Int32 ) -> Float64
45+ fileprivate func bjs_ArrayBufferLike_byteLength_get ( _ self : Int32 ) -> Float64
4646#else
47- func bjs_ArrayBufferLike_byteLength_get( _ self : Int32 ) -> Float64 {
47+ fileprivate func bjs_ArrayBufferLike_byteLength_get ( _ self : Int32 ) -> Float64 {
4848 fatalError ( " Only available on WebAssembly " )
4949}
5050#endif
5151
5252#if arch( wasm32 )
5353@ _extern ( wasm , module : " Check " , name : " bjs_ArrayBufferLike_slice " )
54- func bjs_ArrayBufferLike_slice ( _ self : Int32 , _ begin : Float64 , _ end : Float64 ) -> Int32
54+ fileprivate func bjs_ArrayBufferLike_slice ( _ self : Int32 , _ begin : Float64 , _ end : Float64 ) -> Int32
5555#else
56- func bjs_ArrayBufferLike_slice( _ self : Int32 , _ begin : Float64 , _ end : Float64 ) -> Int32 {
56+ fileprivate func bjs_ArrayBufferLike_slice( _ self : Int32 , _ begin : Float64 , _ end : Float64 ) -> Int32 {
5757 fatalError ( " Only available on WebAssembly " )
5858}
5959#endif
@@ -87,63 +87,63 @@ struct ArrayBufferLike: _JSBridgedClass {
8787
8888#if arch( wasm32 )
8989@ _extern ( wasm , module : " Check " , name : " bjs_WeirdNaming_normalProperty_get " )
90- func bjs_WeirdNaming_normalProperty_get ( _ self : Int32 ) -> Int32
90+ fileprivate func bjs_WeirdNaming_normalProperty_get ( _ self : Int32 ) -> Int32
9191#else
92- func bjs_WeirdNaming_normalProperty_get( _ self : Int32 ) -> Int32 {
92+ fileprivate func bjs_WeirdNaming_normalProperty_get ( _ self : Int32 ) -> Int32 {
9393 fatalError ( " Only available on WebAssembly " )
9494}
9595#endif
9696
9797#if arch( wasm32 )
9898@ _extern ( wasm , module : " Check " , name : " bjs_WeirdNaming_normalProperty_set " )
99- func bjs_WeirdNaming_normalProperty_set ( _ self : Int32 , _ newValue : Int32 ) -> Void
99+ fileprivate func bjs_WeirdNaming_normalProperty_set ( _ self : Int32 , _ newValue : Int32 ) -> Void
100100#else
101- func bjs_WeirdNaming_normalProperty_set( _ self : Int32 , _ newValue : Int32 ) -> Void {
101+ fileprivate func bjs_WeirdNaming_normalProperty_set( _ self : Int32 , _ newValue : Int32 ) -> Void {
102102 fatalError ( " Only available on WebAssembly " )
103103}
104104#endif
105105
106106#if arch( wasm32 )
107107@ _extern ( wasm , module : " Check " , name : " bjs_WeirdNaming_for_get " )
108- func bjs_WeirdNaming_for_get ( _ self : Int32 ) -> Int32
108+ fileprivate func bjs_WeirdNaming_for_get ( _ self : Int32 ) -> Int32
109109#else
110- func bjs_WeirdNaming_for_get ( _ self : Int32 ) -> Int32 {
110+ fileprivate func bjs_WeirdNaming_for_get ( _ self : Int32 ) -> Int32 {
111111 fatalError ( " Only available on WebAssembly " )
112112}
113113#endif
114114
115115#if arch( wasm32 )
116116@ _extern ( wasm , module : " Check " , name : " bjs_WeirdNaming_for_set " )
117- func bjs_WeirdNaming_for_set ( _ self : Int32 , _ newValue : Int32 ) -> Void
117+ fileprivate func bjs_WeirdNaming_for_set ( _ self : Int32 , _ newValue : Int32 ) -> Void
118118#else
119- func bjs_WeirdNaming_for_set( _ self : Int32 , _ newValue : Int32 ) -> Void {
119+ fileprivate func bjs_WeirdNaming_for_set ( _ self : Int32 , _ newValue : Int32 ) -> Void {
120120 fatalError ( " Only available on WebAssembly " )
121121}
122122#endif
123123
124124#if arch( wasm32 )
125125@ _extern ( wasm , module : " Check " , name : " bjs_WeirdNaming_Any_get " )
126- func bjs_WeirdNaming_Any_get ( _ self : Int32 ) -> Int32
126+ fileprivate func bjs_WeirdNaming_Any_get ( _ self : Int32 ) -> Int32
127127#else
128- func bjs_WeirdNaming_Any_get( _ self : Int32 ) -> Int32 {
128+ fileprivate func bjs_WeirdNaming_Any_get ( _ self : Int32 ) -> Int32 {
129129 fatalError ( " Only available on WebAssembly " )
130130}
131131#endif
132132
133133#if arch( wasm32 )
134134@ _extern ( wasm , module : " Check " , name : " bjs_WeirdNaming_Any_set " )
135- func bjs_WeirdNaming_Any_set ( _ self : Int32 , _ newValue : Int32 ) -> Void
135+ fileprivate func bjs_WeirdNaming_Any_set ( _ self : Int32 , _ newValue : Int32 ) -> Void
136136#else
137- func bjs_WeirdNaming_Any_set( _ self : Int32 , _ newValue : Int32 ) -> Void {
137+ fileprivate func bjs_WeirdNaming_Any_set( _ self : Int32 , _ newValue : Int32 ) -> Void {
138138 fatalError ( " Only available on WebAssembly " )
139139}
140140#endif
141141
142142#if arch( wasm32 )
143143@ _extern ( wasm , module : " Check " , name : " bjs_WeirdNaming_as " )
144- func bjs_WeirdNaming_as ( _ self : Int32 ) -> Void
144+ fileprivate func bjs_WeirdNaming_as ( _ self : Int32 ) -> Void
145145#else
146- func bjs_WeirdNaming_as( _ self : Int32 ) -> Void {
146+ fileprivate func bjs_WeirdNaming_as ( _ self : Int32 ) -> Void {
147147 fatalError ( " Only available on WebAssembly " )
148148}
149149#endif
0 commit comments