Explorar el Código

Update and rename js_buffer.c to jerry_buffer.c

Bernard Xiong hace 7 años
padre
commit
ecd2796779
Se han modificado 1 ficheros con 10 adiciones y 2 borrados
  1. 10 2
      rtthread-port/jerry_buffer.c

+ 10 - 2
rtthread-port/js_buffer.c → rtthread-port/jerry_buffer.c

@@ -1,14 +1,22 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License")
+ * Copyright (c) 2016-2018, Intel Corporation.
+ *
+ * ported from zephyr.js
+ * COPYRIGHT (C) 2018, RT-Thread Development Team
+ */
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
 
 #include <jerry_util.h>
 
-#include "js_buffer.h"
+#include "jerry_buffer.h"
 
 #define strequal(a, b) !strcmp(a, b)
 
-#define DECL_FUNC_ARGS(name, ...)                                        \
+#define DECL_FUNC_ARGS(name, ...)                                            \
     jerry_value_t name(const jerry_value_t function_obj,                     \
                        const jerry_value_t this, const jerry_value_t argv[], \
                        const jerry_length_t args_cnt, __VA_ARGS__)