summaryrefslogtreecommitdiff
path: root/src/node_api_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_api_types.h')
-rw-r--r--src/node_api_types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/node_api_types.h b/src/node_api_types.h
index 7cb242368a..f3f3faaa64 100644
--- a/src/node_api_types.h
+++ b/src/node_api_types.h
@@ -25,13 +25,13 @@ typedef void (*napi_finalize)(napi_env env,
typedef enum {
napi_default = 0,
- napi_read_only = 1 << 0,
- napi_dont_enum = 1 << 1,
- napi_dont_delete = 1 << 2,
+ napi_writable = 1 << 0,
+ napi_enumerable = 1 << 1,
+ napi_configurable = 1 << 2,
// Used with napi_define_class to distinguish static properties
// from instance properties. Ignored by napi_define_properties.
- napi_static_property = 1 << 10,
+ napi_static = 1 << 10,
} napi_property_attributes;
typedef struct {