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:
Akos Kiss
2016-03-09 23:23:01 +01:00
parent a19f63f4a5
commit 7a07e55411
22 changed files with 65 additions and 65 deletions
+3 -3
View File
@@ -20,8 +20,8 @@
* @{
*/
#ifndef JERRY_ECMA_ALLOC_H
#define JERRY_ECMA_ALLOC_H
#ifndef ECMA_ALLOC_H
#define ECMA_ALLOC_H
#include "ecma-globals.h"
@@ -122,7 +122,7 @@ extern ecma_external_pointer_t *ecma_alloc_external_pointer (void);
extern void ecma_dealloc_external_pointer (ecma_external_pointer_t *);
#endif /* JERRY_ECMA_ALLOC_H */
#endif /* !ECMA_ALLOC_H */
/**
* @}
+3 -3
View File
@@ -20,8 +20,8 @@
* @{
*/
#ifndef JERRY_ECMA_GLOBALS_H
#define JERRY_ECMA_GLOBALS_H
#ifndef ECMA_GLOBALS_H
#define ECMA_GLOBALS_H
#include "config.h"
#include "jrt.h"
@@ -756,7 +756,7 @@ typedef struct
* @}
*/
#endif /* JERRY_ECMA_GLOBALS_H */
#endif /* !ECMA_GLOBALS_H */
/**
* @}
+3 -3
View File
@@ -21,8 +21,8 @@
* @{
*/
#ifndef JERRY_ECMA_HELPERS_H
#define JERRY_ECMA_HELPERS_H
#ifndef ECMA_HELPERS_H
#define ECMA_HELPERS_H
#include "ecma-globals.h"
#include "lit-cpointer.h"
@@ -246,7 +246,7 @@ extern ecma_number_t ecma_int32_to_number (int32_t);
extern ecma_number_t ecma_uint32_to_number (uint32_t);
extern lit_utf8_size_t ecma_number_to_utf8_string (ecma_number_t, lit_utf8_byte_t *, lit_utf8_size_t);
#endif /* !JERRY_ECMA_HELPERS_H */
#endif /* !ECMA_HELPERS_H */
/**
* @}
+2 -2
View File
@@ -1,4 +1,4 @@
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
/* Copyright 2014-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.
@@ -33,4 +33,4 @@ extern void ecma_finalize (void);
* @}
*/
#endif /* ECMA_INIT_FINALIZE_H */
#endif /* !ECMA_INIT_FINALIZE_H */
+2 -2
View File
@@ -1,4 +1,4 @@
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
/* Copyright 2014-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.
@@ -34,4 +34,4 @@ extern void ecma_lcache_invalidate (ecma_object_t *, ecma_string_t *, ecma_prope
* @}
*/
#endif /* ECMA_LCACHE_H */
#endif /* !ECMA_LCACHE_H */
@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ECMA_OBJECT_PROTOTYPE_H
#define ECMA_OBJECT_PROTOTYPE_H
#ifndef ECMA_BUILTIN_HELPERS_H
#define ECMA_BUILTIN_HELPERS_H
#include "ecma-globals.h"
@@ -171,4 +171,4 @@ ecma_builtin_helper_json_create_non_formatted_json (ecma_string_t *, ecma_string
* @}
*/
#endif /* !ECMA_OBJECT_PROPERTY_H */
#endif /* !ECMA_BUILTIN_HELPERS_H */
+4 -4
View File
@@ -1,4 +1,4 @@
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
/* Copyright 2014-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.
@@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef JERRY_ECMA_COMPARISON_H
#define JERRY_ECMA_COMPARISON_H
#ifndef ECMA_COMPARISON_H
#define ECMA_COMPARISON_H
#include "ecma-globals.h"
#include "ecma-helpers.h"
@@ -35,4 +35,4 @@ extern ecma_value_t ecma_op_abstract_relational_compare (ecma_value_t, ecma_valu
* @}
*/
#endif /* !JERRY_ECMA_COMPARISON_H */
#endif /* !ECMA_COMPARISON_H */
+4 -4
View File
@@ -1,4 +1,4 @@
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
/* Copyright 2014-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.
@@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef JERRY_ECMA_CONVERSION_H
#define JERRY_ECMA_CONVERSION_H
#ifndef ECMA_CONVERSION_H
#define ECMA_CONVERSION_H
#include "ecma-globals.h"
#include "ecma-helpers.h"
@@ -53,4 +53,4 @@ extern ecma_value_t ecma_op_to_property_descriptor (ecma_value_t, ecma_property_
* @}
*/
#endif /* !JERRY_ECMA_CONVERSION_H */
#endif /* !ECMA_CONVERSION_H */
@@ -1,4 +1,4 @@
/* Copyright 2014 Samsung Electronics Co., Ltd.
/* Copyright 2014-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.
@@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef ECMA_NUMBER_H
#define ECMA_NUMBER_H
#ifndef ECMA_NUMBER_ARITHMETIC_H
#define ECMA_NUMBER_ARITHMETIC_H
#include "ecma-globals.h"
@@ -34,4 +34,4 @@ extern ecma_number_t ecma_op_number_remainder (ecma_number_t, ecma_number_t);
* @}
*/
#endif /* ECMA_NUMBER_H */
#endif /* !ECMA_NUMBER_ARITHMETIC_H */