apple / swift-system

Low-level system calls and types for Swift
Apache License 2.0
1.18k stars 102 forks source link

Add Mach.Port #116

Closed loffgren closed 1 year ago

loffgren commented 1 year ago

This is a new Swift move-only type interface to Mach ports.

loffgren commented 1 year ago

@swift-ci test

lorentey commented 1 year ago

@swift-ci test

loffgren commented 1 year ago

@swift-ci test

lorentey commented 1 year ago

Merging, to have the APIs in place. @loffgren is planning to follow up with additional work to resolve the outstanding comments -- they are all cosmetic/doc changes, or only relevant to the ABI stable incarnation, or recommending non-breaking additions.

(Luckily, System importing C modules without @_implementationOnly is not going to be an issue!)