Skip to content

Commit 0d7f26e

Browse files
authored
Add a few missing api version documentation (#3542)
A few api method/struct documentation did not have the entry describing in which version it was introduced. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
1 parent fa81944 commit 0d7f26e

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

docs/02.API-REFERENCE.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ Possible values:
612612
- JERRY_PROMISE_STATE_FULFILLED - Promise is in "Fulfilled" state.
613613
- JERRY_PROMISE_STATE_REJECTED - Promise is in "Rejected" state.
614614

615-
*New in version [NEXT VERSION]*.
615+
*New in version 2.2*.
616616

617617
**See also**
618618

@@ -3282,7 +3282,7 @@ jerry_get_promise_result (const jerry_value_t promise);
32823282
- A TypeError is returned if the input argument was not a Promise object or
32833283
the Promise support was not built into the library.
32843284

3285-
*New in version [NEXT VERSION]*.
3285+
*New in version 2.2*.
32863286

32873287
**Example**
32883288

@@ -3348,7 +3348,7 @@ jerry_get_promise_state (const jerry_value_t promise);
33483348
- `JERRY_PROMISE_STATE_NONE` is returned if the input argument was not a promise object or
33493349
the Promise support was not built into the library.
33503350

3351-
*New in version [NEXT VERSION]*.
3351+
*New in version 2.2*.
33523352

33533353
**Example**
33543354

@@ -4871,6 +4871,8 @@ jerry_has_internal_property (const jerry_value_t obj_val,
48714871
- true, if the property exists
48724872
- false, otherwise
48734873

4874+
*New in version 2.2*.
4875+
48744876
**Example**
48754877

48764878
[doctest]: # ()
@@ -5014,6 +5016,8 @@ jerry_delete_internal_property (const jerry_value_t obj_val,
50145016
- true, if property was deleted successfully
50155017
- false, otherwise
50165018

5019+
*New in version 2.2*.
5020+
50175021
**Example**
50185022

50195023
```c
@@ -5174,6 +5178,8 @@ jerry_get_internal_property (const jerry_value_t obj_val,
51745178
- undefined value, if the, if the internal does not property exists
51755179
- thrown error, otherwise
51765180

5181+
*New in version 2.2*.
5182+
51775183
**Example**
51785184

51795185
[doctest]: # ()
@@ -5351,6 +5357,8 @@ jerry_set_internal_property (const jerry_value_t obj_val,
53515357
- true, if success
53525358
- thrown error, otherwise
53535359

5360+
*New in version 2.2*.
5361+
53545362
**Example**
53555363

53565364
[doctest]: # ()
@@ -7584,6 +7592,8 @@ jerry_get_resource_name (jerry_value_t value);
75847592
- resource name of the function object, if the given value is a function object
75857593
- "<anonymous>", otherwise
75867594

7595+
*New in version 2.2*.
7596+
75877597
**Example**
75887598

75897599
[doctest]: # (name="02.API-REFERENCE-jsresourcename.c")
@@ -8034,6 +8044,8 @@ jerry_is_arraybuffer_detachable (const jerry_value_t value);
80348044
- boolean value if success
80358045
- Error otherwise
80368046

8047+
*New in version 2.2*.
8048+
80378049
**Example**
80388050

80398051
```c
@@ -8075,6 +8087,8 @@ jerry_detach_arraybuffer (const jerry_value_t value);
80758087
- null value if success
80768088
- Error otherwise
80778089

8090+
*New in version 2.2*.
8091+
80788092
**Example**
80798093

80808094
```c

0 commit comments

Comments
 (0)