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

Add a couple of workarounds for Swift on Windows #1414

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Aug 7, 2023

  1. Add a couple of workarounds for Swift on Windows

    The C++ Interop efforts in Swift currently have some limitations.  In
    particular, it cannot support trivial types with non-trivial
    destructors.  As a workaround, provide a copy constructor which can be
    used by the Swift interop while using the regular semantics for all
    other cases.
    
    A second issue arises in the handling of futures.  Unfortunately, it is
    not currently possible to pass an indirect block parameter which
    prevents the construction of a callback.  Workaround this by providing
    an inline shim to use a direct parameter (i.e. indirect value through a
    pointer) which then allows a callback to be formed.
    
    Both of these items are being tracked upstream but seem to be
    potentially sufficient to enable the use of Swift for using the C++ SDK
    for desktop scenarios.
    compnerd committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    c912e46 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

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

Commits on Oct 23, 2023

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

Commits on Jan 16, 2024

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

Commits on Jan 31, 2024

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

Commits on Feb 1, 2024

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

Commits on Mar 13, 2024

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