Просмотр исходного кода

Update and rename js_buffer.h to jerry_buffer.h

Bernard Xiong 7 лет назад
Родитель
Сommit
e703b80ad3
2 измененных файлов с 21 добавлено и 13 удалено
  1. 21 0
      rtthread-port/jerry_buffer.h
  2. 0 13
      rtthread-port/js_buffer.h

+ 21 - 0
rtthread-port/jerry_buffer.h

@@ -0,0 +1,21 @@
+/*
+ * 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
+ */
+
+#ifndef JERRY_BUFFER_H__
+#define JERRY_BUFFER_H__
+
+typedef struct js_buffer
+{
+    uint8_t *buffer;
+    uint32_t bufsize;
+} js_buffer_t;
+
+int js_buffer_init(void);
+int js_buffer_cleanup(void);
+
+#endif

+ 0 - 13
rtthread-port/js_buffer.h

@@ -1,13 +0,0 @@
-#ifndef JS_BUFFER_H__
-#define JS_BUFFER_H__
-
-typedef struct js_buffer
-{
-    uint8_t *buffer;
-    uint32_t bufsize;
-} js_buffer_t;
-
-int js_buffer_init(void);
-int js_buffer_cleanup(void);
-
-#endif