Uploaded image for project: 'Swift'
  1. Swift
  2. SR-6969

Support apinotes for revising C APIs

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Component/s: Package Manager
    • Labels:
      None

      Description

      Occasionally when wrapping third-party C APIs it would be convenient to convince Swift to hide or differently expose the types in the underlying library. The Swift standard library does this by using apinotes, and while it is possible to create your own these are system-specific and SwiftPM does not provide any tools for distributing them.

      It would be extremely convenient if SwiftPM came up with a way to support this use-case in a productised way.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            lukasa Cory Benfield
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: