diff options
author | Istvan Miklos <imiklos2@inf.u-szeged.hu> | 2018-06-12 12:54:17 +0200 |
---|---|---|
committer | László Langó <llango.u-szeged@partner.samsung.com> | 2018-06-12 12:54:17 +0200 |
commit | 62dee2dd71ee3bd232d7e79b0a1b205e7f083981 (patch) | |
tree | cece209641d310bc0fefef6377302c77fba0f9a8 /docs | |
parent | efa88507833f554bcf2dc1f901e3549529bb99da (diff) |
Fix jerry_get_value_from_error (#2394)
Fix the function to take into account the second argument even if it is called with not
an error value.
JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu
Diffstat (limited to 'docs')
-rw-r--r-- | docs/02.API-REFERENCE.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/02.API-REFERENCE.md b/docs/02.API-REFERENCE.md index d05c4d93..7591dc4e 100644 --- a/docs/02.API-REFERENCE.md +++ b/docs/02.API-REFERENCE.md @@ -1722,7 +1722,7 @@ whether the input error value must be released or not. If it is set to `true`, then a [`jerry_release_value`](#jerry_release_value) function will be called for the first argument, so the error value won't be available after the call of `jerry_get_value_from_error`. The second argument should be false if both error -and its represented value are needed. The first argument is returned unchanged if it is not an error. +and its represented value are needed. *Note*: Returned value must be freed with [jerry_release_value](#jerry_release_value) when it is no longer needed. |