Change jerry_get_own_property_descriptor return type (#4675)
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi csgergo92@gmail.com
This commit is contained in:
@@ -8475,7 +8475,7 @@ Construct property descriptor from specified property.
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
bool
|
||||
jerry_value_t
|
||||
jerry_get_own_property_descriptor (const jerry_value_t obj_val,
|
||||
const jerry_value_t prop_name_val,
|
||||
jerry_property_descriptor_t *prop_desc_p);
|
||||
@@ -8486,6 +8486,8 @@ jerry_get_own_property_descriptor (const jerry_value_t obj_val,
|
||||
- `prop_desc_p` - pointer to property descriptor
|
||||
- return value
|
||||
|
||||
*Changed in version [[NEXT_RELEASE]]*: return value is changed to `jerry_value_t`
|
||||
|
||||
**Example**
|
||||
|
||||
```c
|
||||
|
||||
Reference in New Issue
Block a user