-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from shuding/update-bindings
Update bindings
- Loading branch information
Showing
19 changed files
with
532 additions
and
1,609 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import type { Yoga } from "./dist/wrapAsm"; | ||
|
||
export * from "./dist/generated/YGEnums"; | ||
export * from "./dist/wrapAsm"; | ||
|
||
export default function (): Yoga; |
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 |
---|---|---|
@@ -1,10 +1,6 @@ | ||
import entry from './entry/index.js' | ||
import yoga from './tmp/yoga-asm.mjs' | ||
|
||
function bind(_, proto) { | ||
return proto | ||
} | ||
import wrapAsm from "./yoga/javascript/src_js/wrapAsm.js"; | ||
import yoga from "./tmp/yoga-asm.mjs"; | ||
|
||
export default function () { | ||
return entry(bind, yoga()) | ||
return wrapAsm(yoga()); | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.