File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/JavaScriptKit/FundamentalObjects Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,18 +105,18 @@ public class JSClosure: JSFunction {
105105}
106106
107107@_cdecl ( " swjs_prepare_host_function_call " )
108- public func _prepare_host_function_call( _ argc: Int32 ) -> UnsafeMutableRawPointer {
108+ func _prepare_host_function_call( _ argc: Int32 ) -> UnsafeMutableRawPointer {
109109 let argumentSize = MemoryLayout< RawJSValue> . size * Int( argc)
110110 return malloc ( Int ( argumentSize) ) !
111111}
112112
113113@_cdecl ( " swjs_cleanup_host_function_call " )
114- public func _cleanup_host_function_call( _ pointer: UnsafeMutableRawPointer ) {
114+ func _cleanup_host_function_call( _ pointer: UnsafeMutableRawPointer ) {
115115 free ( pointer)
116116}
117117
118118@_cdecl ( " swjs_call_host_function " )
119- public func _call_host_function(
119+ func _call_host_function(
120120 _ hostFuncRef: JavaScriptHostFuncRef ,
121121 _ argv: UnsafePointer < RawJSValue > , _ argc: Int32 ,
122122 _ callbackFuncRef: JavaScriptObjectRef
You can’t perform that action at this time.
0 commit comments