Merge pull request #2550 from cubicdaiya/issues/unify_include_guards

Unify include guard styles and header comments.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-08-22 07:55:38 +09:00
5 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/*
** error.h - Exception class
** mruby/error.h - Exception class
**
** See Copyright Notice in mruby.h
*/
+1 -1
View File
@@ -1,5 +1,5 @@
/*
** gc.h - garbage collector for mruby
** mruby/gc.h - garbage collector for mruby
**
** See Copyright Notice in mruby.h
*/
+3 -3
View File
@@ -4,8 +4,8 @@
** See Copyright Notice in mruby.h
*/
#ifndef KHASH_H
#define KHASH_H
#ifndef MRUBY_KHASH_H
#define MRUBY_KHASH_H
#if defined(__cplusplus)
extern "C" {
@@ -267,4 +267,4 @@ typedef const char *kh_cstr_t;
} /* extern "C" { */
#endif
#endif /* KHASH_H */
#endif /* MRUBY_KHASH_H */
+4 -4
View File
@@ -1,11 +1,11 @@
/*
** opcode.h - RiteVM operation codes
** mruby/opcode.h - RiteVM operation codes
**
** See Copyright Notice in mruby.h
*/
#ifndef OPCODE_H
#define OPCODE_H
#ifndef MRUBY_OPCODE_H
#define MRUBY_OPCODE_H
#define MAXARG_Bx (0xffff)
#define MAXARG_sBx (MAXARG_Bx>>1) /* `sBx' is signed */
@@ -157,4 +157,4 @@ enum {
#define OP_R_BREAK 1
#define OP_R_RETURN 2
#endif /* OPCODE_H */
#endif /* MRUBY_OPCODE_H */
+6
View File
@@ -1,3 +1,9 @@
/*
** mruby/version.h - mruby version definition
**
** See Copyright Notice in mruby.h
*/
#ifndef MRUBY_VERSION_H
#define MRUBY_VERSION_H