Introducing getter and setter for named data property's value field, ecma_named_data_property_assign_value interface; using boolean flags for 'Writable', 'Enumerable' and 'Configurable' attributes values while passing them in routine arguments.

This commit is contained in:
Ruben Ayrapetyan
2014-12-03 14:49:38 +03:00
parent 668eef73c8
commit 3190089818
15 changed files with 288 additions and 206 deletions
+3 -3
View File
@@ -527,13 +527,13 @@ typedef struct
ecma_object_t* set_p;
/** [[Writable]] */
ecma_property_writable_value_t writable;
bool is_writable;
/** [[Enumerable]] */
ecma_property_enumerable_value_t enumerable;
bool is_enumerable;
/** [[Configurable]] */
ecma_property_configurable_value_t configurable;
bool is_configurable;
} ecma_property_descriptor_t;
#if CONFIG_ECMA_CHAR_ENCODING == CONFIG_ECMA_CHAR_ASCII