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:
Ruben Ayrapetyan 2014-07-17 22:02:57 +04:00
parent f7abe7190d
commit f1d33b9236

View File

@ -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;
/**