Replace vera++ with clang-format (#4518)

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
This commit is contained in:
Robert Fancsik
2021-11-05 14:15:47 +01:00
committed by GitHub
parent bc091e1742
commit badfdf4dba
564 changed files with 10195 additions and 15090 deletions
+16 -27
View File
@@ -16,14 +16,12 @@
#ifndef JERRYX_HANDLE_SCOPE_INTERNAL_H
#define JERRYX_HANDLE_SCOPE_INTERNAL_H
#include "jerryscript.h"
#include "jerryscript-port.h"
#include "jerryscript.h"
#include "jerryscript-ext/handle-scope.h"
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
JERRY_C_API_BEGIN
/** MARK: - handle-scope-allocator.c */
typedef struct jerryx_handle_scope_pool_s jerryx_handle_scope_pool_t;
@@ -38,37 +36,28 @@ struct jerryx_handle_scope_pool_s
jerryx_handle_scope_dynamic_t *start; /**< start address of dynamically allocated handle scope list */
};
jerryx_handle_scope_t *
jerryx_handle_scope_get_parent (jerryx_handle_scope_t *scope);
jerryx_handle_scope_t *jerryx_handle_scope_get_parent (jerryx_handle_scope_t *scope);
jerryx_handle_scope_t *
jerryx_handle_scope_get_child (jerryx_handle_scope_t *scope);
jerryx_handle_scope_t *jerryx_handle_scope_get_child (jerryx_handle_scope_t *scope);
jerryx_handle_scope_t *
jerryx_handle_scope_alloc (void);
jerryx_handle_scope_t *jerryx_handle_scope_alloc (void);
void
jerryx_handle_scope_free (jerryx_handle_scope_t *scope);
void jerryx_handle_scope_free (jerryx_handle_scope_t *scope);
/** MARK: - END handle-scope-allocator.c */
/** MARK: - handle-scope.c */
void
jerryx_handle_scope_release_handles (jerryx_handle_scope scope);
void jerryx_handle_scope_release_handles (jerryx_handle_scope scope);
jerry_value_t
jerryx_hand_scope_escape_handle_from_prelist (jerryx_handle_scope scope, size_t idx);
jerry_value_t jerryx_hand_scope_escape_handle_from_prelist (jerryx_handle_scope scope, size_t idx);
jerry_value_t
jerryx_handle_scope_add_handle_to (jerryx_handle_t *handle, jerryx_handle_scope scope);
jerry_value_t jerryx_handle_scope_add_handle_to (jerryx_handle_t *handle, jerryx_handle_scope scope);
jerryx_handle_scope_status
jerryx_escape_handle_internal (jerryx_escapable_handle_scope scope,
jerry_value_t escapee,
jerry_value_t *result,
bool should_promote);
jerryx_handle_scope_status jerryx_escape_handle_internal (jerryx_escapable_handle_scope scope,
jerry_value_t escapee,
jerry_value_t *result,
bool should_promote);
/** MARK: - END handle-scope.c */
#ifdef __cplusplus
}
#endif /* __cplusplus */
JERRY_C_API_END
#endif /* !JERRYX_HANDLE_SCOPE_INTERNAL_H */