Skip to content

Commit 120a9f4

Browse files
committedMar 11, 2025
[skip ci] Fix the parameter name in the documentation
1 parent 26c3f30 commit 120a9f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎Sources/JavaScriptEventLoop/JSSending.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public struct JSSendingError: Error, CustomStringConvertible {
343343
///
344344
/// - Parameters:
345345
/// - object: The `JSObject` to be received.
346-
/// - transferring: A pointer to the `Transferring.Storage` instance.
346+
/// - contextPtr: A pointer to the `_JSSendingContext` instance.
347347
#if compiler(>=6.1) // @_expose and @_extern are only available in Swift 6.1+
348348
@_expose(wasm, "swjs_receive_response")
349349
@_cdecl("swjs_receive_response")
@@ -362,7 +362,7 @@ func _swjs_receive_response(_ object: JavaScriptObjectRef, _ contextPtr: UnsafeR
362362
///
363363
/// - Parameters:
364364
/// - error: The error to be received.
365-
/// - transferring: A pointer to the `Transferring.Storage` instance.
365+
/// - contextPtr: A pointer to the `_JSSendingContext` instance.
366366
#if compiler(>=6.1) // @_expose and @_extern are only available in Swift 6.1+
367367
@_expose(wasm, "swjs_receive_error")
368368
@_cdecl("swjs_receive_error")

0 commit comments

Comments
 (0)
Please sign in to comment.