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 */