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

Initial implementation of a @_cdecl attribute to export top-level functions to C #3

Closed
wants to merge 1 commit into from

Commits on Mar 10, 2016

  1. Initial implementation of a @_cdecl attribute to export top-level fun…

    …ctions to C.
    
    There's an immediate need for this in the core libs, and we have most of the necessary pieces on hand to make it easy to implement. This is an unpolished initial implementation, with the following limitations, among others:
    
    - It doesn't support bridging error conventions,
    - It relies on ObjC interop,
    - It doesn't check for symbol name collisions,
    - It has an underscored name with required symbol name `@cdecl("symbol_name")`, awaiting official bikeshed painting.
    jckarter committed Mar 10, 2016
    Configuration menu
    Copy the full SHA
    52287f8 View commit details
    Browse the repository at this point in the history