From 0e21c17080b65ddce78822278729aaa7e91f1226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20G=C3=A1l?= Date: Mon, 25 Jan 2021 15:59:00 +0100 Subject: [PATCH] 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 --- docs/02.API-REFERENCE.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/02.API-REFERENCE.md b/docs/02.API-REFERENCE.md index 4a275c432..551592720 100644 --- a/docs/02.API-REFERENCE.md +++ b/docs/02.API-REFERENCE.md @@ -3885,6 +3885,8 @@ jerry_value_as_integer (const jerry_value_t value); - 0, if value is not a number - integer representation of the number, otherwise +*New in version 2.4*. + **Example** ```c @@ -3914,6 +3916,8 @@ jerry_value_as_int32 (const jerry_value_t value); - 0, if value is not a number - int32 representation of the number, otherwise +*New in version 2.4*. + **Example** ```c @@ -3943,6 +3947,8 @@ jerry_value_as_uint32 (const jerry_value_t value); - 0, if value is not a number - uint32 representation of the number, otherwise +*New in version 2.4*. + **Example** ```c @@ -4119,6 +4125,8 @@ jerry_from_property_descriptor (const jerry_property_descriptor_t *src_prop_desc - jerry value - if success - value marked with error flag - otherwise +*New in version 2.4*. + **Example** [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 - error marked with error flag, otherwise +*New in version 2.4*. + **Example** ```c