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:
Gergo Csizi
2021-05-26 04:54:26 +00:00
committed by GitHub
parent 431a28b902
commit 800031c62b
4 changed files with 18 additions and 14 deletions
+3 -1
View File
@@ -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