Replaced the @_cdecl attribute with the @c attribute across the library to update to Swift 6.4.

This commit is contained in:
2026-09-18 11:53:09 +02:00
parent 76237c76bc
commit 575165dec4
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ extension String {
/// The pointer is later released with plain `free`, so it cannot be offset
/// to adjust alignment; the firmware allocator's natural alignment has to
/// satisfy the request, which the precondition asserts.
@_cdecl("posix_memalign")
@c(posix_memalign)
public func posix_memalign(
_ memptr: UnsafeMutablePointer<UnsafeMutableRawPointer?>,
_ alignment: Int,