We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9addc71 commit 760374fCopy full SHA for 760374f
Tests/JExtractSwiftTests/FunctionLoweringTests.swift
@@ -26,7 +26,7 @@ final class FunctionLoweringTests {
26
expectedCDecl: """
27
@_cdecl("c_f")
28
public func c_f(_ x: Int, _ y: Float, _ z_pointer: UnsafeRawPointer, _ z_count: Int) {
29
- f(x: x, y: y, z: UnsafeBufferPointer<Bool>(start: z_pointer.assumingMemoryBound(to: Bool.self),count: z_count))
+ f(x: x, y: y, z: UnsafeBufferPointer<Bool>(start: z_pointer.assumingMemoryBound(to: Bool.self), count: z_count))
30
}
31
""",
32
expectedCFunction: "void c_f(ptrdiff_t x, float y, const void *z_pointer, ptrdiff_t z_count)"
0 commit comments