-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Fully automatic autolinking for Nitrogen (#117)
* move to folders * Refactor autolinking * Generate code * fix: Fix `map` undefined in `unregisterHybridObjectConstructor` * Create `<ModuleName>OnLoad.mm` * feat: Add register calls * hmm * Update createHybridObjectInitializer.ts * i am stupid * Add `autolinking` to `nitro.json` * Fix missing includes * feat: Create Swift part for iOS autolinking... 👀 * fix duplicate symbols... * feat: Properly create Swift types * Rename to `Autolinking` * docs: Update docs on new autogenerate setup * Android base * It works * Base * Initialize natives * fix: Set up autolinking Cpp file * Update NitroImageOnLoad.hpp * feat: Try * fix: Fix Promise using `global_ref` * Update index.ts * fix: Replace `CriticalNative` with `FastNative` * feat: Generate the code to register JNI.. almost there! * fix: Fix JNI paths (`L*;`) * Update nitrogen.md
- Loading branch information
Showing
113 changed files
with
993 additions
and
517 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type { Platform } from '../getPlatformSpecs.js' | ||
import type { SourceFile } from '../syntax/SourceFile.js' | ||
|
||
type AutolinkingFile = Omit<SourceFile, 'language'> | ||
|
||
export interface Autolinking { | ||
platform: Platform | ||
sourceFiles: AutolinkingFile[] | ||
} |
Oops, something went wrong.