Unify the naming scheme of all header defines
There have been several renamings of header files but the ifndef/define/endif preprocessor directives did not always follow the file name changes (or perhaps never followed a unified naming scheme). This patch gets all headers aligned with the style of the majority. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2015-2016 Samsung Electronics Co., Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -237,4 +237,4 @@ extern bool lit_char_is_word_char (ecma_char_t);
|
||||
ecma_length_t lit_char_to_lower_case (ecma_char_t, ecma_char_t *, ecma_length_t);
|
||||
ecma_length_t lit_char_to_upper_case (ecma_char_t, ecma_char_t *, ecma_length_t);
|
||||
|
||||
#endif /* LIT_CHAR_HELPERS_H */
|
||||
#endif /* !LIT_CHAR_HELPERS_H */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2015-2016 Samsung Electronics Co., Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -138,4 +138,4 @@ typedef uint8_t lit_string_hash_t;
|
||||
*/
|
||||
#define LIT_STRING_HASH_LAST_BYTES_COUNT (2)
|
||||
|
||||
#endif /* LIT_GLOBALS_H */
|
||||
#endif /* !LIT_GLOBALS_H */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2015-2016 Samsung Electronics Co., Ltd.
|
||||
* Copyright 2016 University of Szeged.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -61,4 +61,4 @@ extern lit_literal_t lit_literal_get_next (lit_literal_t);
|
||||
extern lit_magic_string_id_t lit_magic_literal_get_magic_str_id (lit_literal_t);
|
||||
extern lit_magic_string_ex_id_t lit_magic_literal_get_magic_str_ex_id (lit_literal_t);
|
||||
|
||||
#endif /* LIT_LITERAL_H */
|
||||
#endif /* !LIT_LITERAL_H */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2015-2016 Samsung Electronics Co., Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -64,4 +64,4 @@ extern bool lit_compare_utf8_string_and_magic_string_ex (const lit_utf8_byte_t *
|
||||
|
||||
extern lit_utf8_byte_t *lit_copy_magic_string_to_buffer (lit_magic_string_id_t, lit_utf8_byte_t *, lit_utf8_size_t);
|
||||
|
||||
#endif /* LIT_MAGIC_STRINGS_H */
|
||||
#endif /* !LIT_MAGIC_STRINGS_H */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2015-2016 Samsung Electronics Co., Ltd.
|
||||
* Copyright 2015-2016 University of Szeged
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef RCS_SNAPSHOT_H
|
||||
#define RCS_SNAPSHOT_H
|
||||
#ifndef LIT_SNAPSHOT_H
|
||||
#define LIT_SNAPSHOT_H
|
||||
|
||||
#include "lit-cpointer.h"
|
||||
#include "ecma-globals.h"
|
||||
@@ -44,4 +44,4 @@ lit_load_literals_from_snapshot (const uint8_t *,
|
||||
uint32_t *);
|
||||
#endif /* JERRY_ENABLE_SNAPSHOT_EXEC */
|
||||
|
||||
#endif /* !RCS_SNAPSHOT_H */
|
||||
#endif /* !LIT_SNAPSHOT_H */
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef LIT_UNICODE_HELPERS_H
|
||||
#define LIT_UNICODE_HELPERS_H
|
||||
#ifndef LIT_STRINGS_H
|
||||
#define LIT_STRINGS_H
|
||||
|
||||
#include "jrt.h"
|
||||
#include "lit-globals.h"
|
||||
@@ -191,4 +191,4 @@ void lit_utf8_decr (lit_utf8_byte_t **);
|
||||
/* print */
|
||||
void lit_put_ecma_char (ecma_char_t);
|
||||
|
||||
#endif /* LIT_UNICODE_HELPERS_H */
|
||||
#endif /* !LIT_STRINGS_H */
|
||||
|
||||
Reference in New Issue
Block a user