Add missing version info to API docs (#4541)
A few new methods did not have the version info to describe in which version were they introduced. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.usz@partner.samsung.com
This commit is contained in:
@@ -3885,6 +3885,8 @@ jerry_value_as_integer (const jerry_value_t value);
|
|||||||
- 0, if value is not a number
|
- 0, if value is not a number
|
||||||
- integer representation of the number, otherwise
|
- integer representation of the number, otherwise
|
||||||
|
|
||||||
|
*New in version 2.4*.
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
|
|
||||||
```c
|
```c
|
||||||
@@ -3914,6 +3916,8 @@ jerry_value_as_int32 (const jerry_value_t value);
|
|||||||
- 0, if value is not a number
|
- 0, if value is not a number
|
||||||
- int32 representation of the number, otherwise
|
- int32 representation of the number, otherwise
|
||||||
|
|
||||||
|
*New in version 2.4*.
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
|
|
||||||
```c
|
```c
|
||||||
@@ -3943,6 +3947,8 @@ jerry_value_as_uint32 (const jerry_value_t value);
|
|||||||
- 0, if value is not a number
|
- 0, if value is not a number
|
||||||
- uint32 representation of the number, otherwise
|
- uint32 representation of the number, otherwise
|
||||||
|
|
||||||
|
*New in version 2.4*.
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
|
|
||||||
```c
|
```c
|
||||||
@@ -4119,6 +4125,8 @@ jerry_from_property_descriptor (const jerry_property_descriptor_t *src_prop_desc
|
|||||||
- jerry value - if success
|
- jerry value - if success
|
||||||
- value marked with error flag - otherwise
|
- value marked with error flag - otherwise
|
||||||
|
|
||||||
|
*New in version 2.4*.
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
|
|
||||||
[doctest]: # (test="compile")
|
[doctest]: # (test="compile")
|
||||||
@@ -7676,6 +7684,8 @@ jerry_object_get_property_names (jerry_value_t obj_val,
|
|||||||
- array containing the filtered property keys in successful operation
|
- array containing the filtered property keys in successful operation
|
||||||
- error marked with error flag, otherwise
|
- error marked with error flag, otherwise
|
||||||
|
|
||||||
|
*New in version 2.4*.
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
|
|
||||||
```c
|
```c
|
||||||
|
|||||||
Reference in New Issue
Block a user