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
This commit is contained in:
Péter Gál 2020-02-04 13:17:24 +01:00 committed by GitHub
parent fa81944743
commit 0d7f26e2c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -612,7 +612,7 @@ Possible values:
- JERRY_PROMISE_STATE_FULFILLED - Promise is in "Fulfilled" state.
- JERRY_PROMISE_STATE_REJECTED - Promise is in "Rejected" state.
*New in version [NEXT VERSION]*.
*New in version 2.2*.
**See also**
@ -3282,7 +3282,7 @@ jerry_get_promise_result (const jerry_value_t promise);
- A TypeError is returned if the input argument was not a Promise object or
the Promise support was not built into the library.
*New in version [NEXT VERSION]*.
*New in version 2.2*.
**Example**
@ -3348,7 +3348,7 @@ jerry_get_promise_state (const jerry_value_t promise);
- `JERRY_PROMISE_STATE_NONE` is returned if the input argument was not a promise object or
the Promise support was not built into the library.
*New in version [NEXT VERSION]*.
*New in version 2.2*.
**Example**
@ -4871,6 +4871,8 @@ jerry_has_internal_property (const jerry_value_t obj_val,
- true, if the property exists
- false, otherwise
*New in version 2.2*.
**Example**
[doctest]: # ()
@ -5014,6 +5016,8 @@ jerry_delete_internal_property (const jerry_value_t obj_val,
- true, if property was deleted successfully
- false, otherwise
*New in version 2.2*.
**Example**
```c
@ -5174,6 +5178,8 @@ jerry_get_internal_property (const jerry_value_t obj_val,
- undefined value, if the, if the internal does not property exists
- thrown error, otherwise
*New in version 2.2*.
**Example**
[doctest]: # ()
@ -5351,6 +5357,8 @@ jerry_set_internal_property (const jerry_value_t obj_val,
- true, if success
- thrown error, otherwise
*New in version 2.2*.
**Example**
[doctest]: # ()
@ -7584,6 +7592,8 @@ jerry_get_resource_name (jerry_value_t value);
- resource name of the function object, if the given value is a function object
- "<anonymous>", otherwise
*New in version 2.2*.
**Example**
[doctest]: # (name="02.API-REFERENCE-jsresourcename.c")
@ -8034,6 +8044,8 @@ jerry_is_arraybuffer_detachable (const jerry_value_t value);
- boolean value if success
- Error otherwise
*New in version 2.2*.
**Example**
```c
@ -8075,6 +8087,8 @@ jerry_detach_arraybuffer (const jerry_value_t value);
- null value if success
- Error otherwise
*New in version 2.2*.
**Example**
```c