diff options
author | Robert Fancsik <robert.fancsik@h-lab.eu> | 2021-11-05 14:15:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 14:15:47 +0100 |
commit | badfdf4dba1fa0a15bd78163c1713ada5e65cd22 (patch) | |
tree | 01d2a4d1969c4b422c4ce9e6638db3e7403830fd /jerry-ext/arg/arg-js-iterator-helper.c | |
parent | bc091e174206b26e3ff71a9833e37527579b035f (diff) |
Replace vera++ with clang-format (#4518)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
Diffstat (limited to 'jerry-ext/arg/arg-js-iterator-helper.c')
-rw-r--r-- | jerry-ext/arg/arg-js-iterator-helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jerry-ext/arg/arg-js-iterator-helper.c b/jerry-ext/arg/arg-js-iterator-helper.c index ad8aa8db..c6ef2a4d 100644 --- a/jerry-ext/arg/arg-js-iterator-helper.c +++ b/jerry-ext/arg/arg-js-iterator-helper.c @@ -13,9 +13,10 @@ * limitations under the License. */ +#include "jerryscript.h" + #include "arg-internal.h" #include "jerryscript-ext/arg.h" -#include "jerryscript.h" /** * Pop the current JS argument from the iterator. @@ -62,8 +63,7 @@ jerryx_arg_js_iterator_restore (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< th jerry_value_t jerryx_arg_js_iterator_peek (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< the JS arg iterator */ { - return (js_arg_iter_p->js_arg_idx < js_arg_iter_p->js_arg_cnt ? *js_arg_iter_p->js_arg_p - : jerry_create_undefined ()); + return (js_arg_iter_p->js_arg_idx < js_arg_iter_p->js_arg_cnt ? *js_arg_iter_p->js_arg_p : jerry_create_undefined ()); } /* jerryx_arg_js_iterator_peek */ /** |