@@ -324,7 +324,7 @@ public struct ExecutorJob: Sendable, ~Copyable {
324324 /// Returns the result of executing the closure.
325325 @available ( SwiftStdlib 6 . 2 , * )
326326 public func withUnsafeExecutorPrivateData< R, E> ( body: ( UnsafeMutableRawBufferPointer ) throws ( E ) -> R ) throws ( E) -> R {
327- let base = unsafe _jobGetExecutorPrivateData( self . context)
327+ let base = _jobGetExecutorPrivateData ( self . context)
328328 let size = unsafe 2 * MemoryLayout< OpaquePointer> . stride
329329 return unsafe try body ( UnsafeMutableRawBufferPointer ( start: base,
330330 count: size) )
@@ -476,21 +476,21 @@ extension ExecutorJob {
476476
477477 /// Allocate a specified number of bytes of uninitialized memory.
478478 public func allocate( capacity: Int ) -> UnsafeMutableRawBufferPointer {
479- let base = unsafe _jobAllocate( context, capacity)
479+ let base = _jobAllocate ( context, capacity)
480480 return unsafe UnsafeMutableRawBufferPointer( start: base, count: capacity)
481481 }
482482
483483 /// Allocate uninitialized memory for a single instance of type `T`.
484484 public func allocate< T> ( as type: T . Type ) -> UnsafeMutablePointer < T > {
485- let base = unsafe _jobAllocate( context, MemoryLayout< T> . size)
485+ let base = _jobAllocate ( context, MemoryLayout< T> . size)
486486 return unsafe base. bindMemory ( to: type, capacity: 1 )
487487 }
488488
489489 /// Allocate uninitialized memory for the specified number of
490490 /// instances of type `T`.
491491 public func allocate< T> ( capacity: Int , as type: T . Type )
492492 -> UnsafeMutableBufferPointer < T > {
493- let base = unsafe _jobAllocate( context, MemoryLayout < T > . stride * capacity)
493+ let base = _jobAllocate ( context, MemoryLayout < T > . stride * capacity)
494494 let typedBase = unsafe base. bindMemory ( to: T . self, capacity: capacity)
495495 return unsafe UnsafeMutableBufferPointer< T > ( start: typedBase, count: capacity)
496496 }
0 commit comments