This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
forked from facebook/hermes
-
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.
add NodeString, define NodeKind as 32-bit
Summary: Changes needed for the Juno Rust API: - Add new NodeLabel type NodeString. It is the same data type, but it is used for things like JS strings, which are not guaranteed to be valid Unicode. This is needed since Rust requires its strings to be valid utf-8, so we can't represent NodeString as a Rust string. Our Rust API generator knows the differences and does the right thing. - Define NodeKind to be a fixed size (32-bit) for cleaner FFI compatibility with Rust. Reviewed By: avp Differential Revision: D30124042 fbshipit-source-id: 435086208c69aa6e5dca27e966741c47759d2924
- Loading branch information
1 parent
3f3a0dd
commit 35559d1
Showing
6 changed files
with
30 additions
and
9 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
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