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
+4 -9
View File
@@ -19,17 +19,12 @@
#define JERRY_STANDALONE_EXIT_CODE_OK (0)
#define JERRY_STANDALONE_EXIT_CODE_FAIL (1)
#include "jerryscript.h"
#ifdef __cplusplus
extern "C" {
#endif
JERRY_C_API_BEGIN
void js_register_functions (void);
JERRY_C_API_END
#ifdef __cplusplus
}
#endif
#endif
#endif /* __JERRY_EXTAPI_H__ */
+4 -8
View File
@@ -18,19 +18,15 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#include "jerryscript.h"
JERRY_C_API_BEGIN
void js_entry (void);
int js_eval (const char *source_p, const size_t source_size);
int js_loop (uint32_t ticknow);
void js_exit (void);
JERRY_C_API_END
#ifdef __cplusplus
}
#endif
#endif
#endif /* __JERRY_RUN_H__ */
+1 -1
View File
@@ -21,4 +21,4 @@
#define JERRY_STACK_SIZE 2000
#endif
#endif /* __USER_CONFIG_H__ */
@@ -19,9 +19,9 @@
#ifdef DEBUG_WRAPPER
#define LOG_PRINT(...) printf(__VA_ARGS__)
#else
#else /* !defined(DEBUG_WRAPPER) */
#define LOG_PRINT(...) while(0) { }
#endif
#endif /* defined(DEBUG_WRAPPER) */
#define LOG_PRINT_ALWAYS(...) printf(__VA_ARGS__)
+2 -2
View File
@@ -301,9 +301,9 @@ register_js_function (const char *name_p, /**< name of the function */
*/
#ifdef CONFIG_BUILD_KERNEL
int main (int argc, FAR char *argv[])
#else
#else /* !defined(CONFIG_BUILD_KERNEL) */
int jerry_main (int argc, char *argv[])
#endif
#endif /* defined(CONFIG_BUILD_KERNEL) */
{
if (argc > JERRY_MAX_COMMAND_LINE_ARGS)
{