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 2f0883a commit d3849feCopy full SHA for d3849fe
stdlib/public/core/EmbeddedRuntime.swift
@@ -275,10 +275,9 @@ public func swift_deletedMethodError() -> Never {
275
public func swift_willThrow() throws {
276
}
277
278
-@_silgen_name("arc4random_buf")
+@_extern(c, "arc4random_buf")
279
public func arc4random_buf(buf: UnsafeMutableRawPointer, nbytes: Int)
280
281
-@_silgen_name("swift_stdlib_random")
282
public func swift_stdlib_random(_ buf: UnsafeMutableRawPointer, _ nbytes: Int) {
283
arc4random_buf(buf: buf, nbytes: nbytes)
284
0 commit comments