Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the CryptoKit interop entrypoints to use the Swift calling convention #99970

Merged
merged 7 commits into from
Mar 22, 2024

Commits on Mar 19, 2024

  1. Change the CryptoKit interop entrypoints to use the Swift calling con…

    …vention
    
    This does not change the APIs yet, as we need Swift struct lowering support in Mono before we can switch to using more structured Swift types.
    
    This PR switches the entry-points on the C side to use non-method symbols as we'll lose the ability to represent the Swift signatures well in C as we move to a more Swift-friendly API surface (until we are able to remove the native PAL API surface)
    jkoritzinsky committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    4882406 View commit details
    Browse the repository at this point in the history
  2. Now that we have a non-function entry in DllImportEntry, make the add…

    …ress-of operation explicit in the DllImportEntry macro.
    jkoritzinsky committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    ddfc75f View commit details
    Browse the repository at this point in the history
  3. Explicitly specify the null qcall (that's just a sentinel until a QCa…

    …ll is added to Mono) instead of using DllImportEntry, which now takes an address
    jkoritzinsky committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    a1d15e0 View commit details
    Browse the repository at this point in the history
  4. Add using

    jkoritzinsky committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    788b9e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Disable warning

    jkoritzinsky committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    628d6c1 View commit details
    Browse the repository at this point in the history
  2. Update entrypoints.h

    Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
    jkoritzinsky and lambdageek committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    5550515 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Configuration menu
    Copy the full SHA
    9ea7d20 View commit details
    Browse the repository at this point in the history