-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Create statically compiled Swift closure wrapper to avoid C-sty…
…le function pointers (#440) * feat: Create Swift closure wrapper * It kinda works * Move it into lambda and make it `mutable` * fix: Import `NitroModules` and alias `bridge` * fix: Also generate Promise resolver funcs * fix: Use closureWrapper here again * __ * fix: Fix these Promise things * fix: Void * fix: Fix wrapping C++ funcs to make them callable in Swift * fix: Remove getPromise() * perf: Make it inline * comments
- Loading branch information
Showing
20 changed files
with
1,073 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.