Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
n-api: add napi_get_all_property_names#30006
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -115,4 +115,25 @@ typedef struct{ | ||
| napi_status error_code; | ||
| } napi_extended_error_info; | ||
| #ifdef NAPI_EXPERIMENTAL | ||
| typedef enum{ | ||
| napi_key_include_prototypes, | ||
| napi_key_own_only | ||
| } napi_key_collection_mode; | ||
| typedef enum{ | ||
| napi_key_all_properties = 0, | ||
| napi_key_writable = 1, | ||
himself65 marked this conversation as resolved. Outdated Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| napi_key_enumerable = 1 << 1, | ||
| napi_key_configurable = 1 << 2, | ||
himself65 marked this conversation as resolved. Outdated Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| napi_key_skip_strings = 1 << 3, | ||
| napi_key_skip_symbols = 1 << 4 | ||
| } napi_key_filter; | ||
| typedef enum{ | ||
| napi_key_keep_numbers, | ||
| napi_key_numbers_to_strings | ||
| } napi_key_conversion; | ||
| #endif | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would be great if this #endif had a comment to tie it to #ifdef NAPI_EXPERIMENTAL, but just a nit. | ||
| #endif // SRC_JS_NATIVE_API_TYPES_H_ | ||
Uh oh!
There was an error while loading. Please reload this page.