mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Inverting properties' attributes' values in corresponding enums - now not_{writable,configurable,enumerable} correspond to 0 and {writable,configurable,enumerable} to 1.
This commit is contained in:
parent
f7abe7190d
commit
f1d33b9236
@ -160,8 +160,8 @@ typedef enum {
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
ECMA_PROPERTY_WRITABLE, /**< property's 'Writable' attribute is true */
|
||||
ECMA_PROPERTY_NOT_WRITABLE /**< property's 'Writable' attribute is false */
|
||||
ECMA_PROPERTY_NOT_WRITABLE, /**< property's 'Writable' attribute is false */
|
||||
ECMA_PROPERTY_WRITABLE /**< property's 'Writable' attribute is true */
|
||||
} ecma_PropertyWritableValue_t;
|
||||
|
||||
/**
|
||||
@ -169,8 +169,8 @@ typedef enum
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
ECMA_PROPERTY_ENUMERABLE, /**< property's 'Enumerable' attribute is true */
|
||||
ECMA_PROPERTY_NOT_ENUMERABLE /**< property's 'Enumerable' attribute is false */
|
||||
ECMA_PROPERTY_NOT_ENUMERABLE, /**< property's 'Enumerable' attribute is false */
|
||||
ECMA_PROPERTY_ENUMERABLE /**< property's 'Enumerable' attribute is true */
|
||||
} ecma_PropertyEnumerableValue_t;
|
||||
|
||||
/**
|
||||
@ -178,8 +178,8 @@ typedef enum
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
ECMA_PROPERTY_CONFIGURABLE, /**< property's 'Configurable' attribute is true */
|
||||
ECMA_PROPERTY_NOT_CONFIGURABLE /**< property's 'Configurable' attribute is false */
|
||||
ECMA_PROPERTY_NOT_CONFIGURABLE, /**< property's 'Configurable' attribute is false */
|
||||
ECMA_PROPERTY_CONFIGURABLE /**< property's 'Configurable' attribute is true */
|
||||
} ecma_PropertyConfigurableValue_t;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user