From 3b904e94083f1d732e26dbe4d80b2fa482426111 Mon Sep 17 00:00:00 2001 From: Tatsuhiko Kubo Date: Thu, 21 Aug 2014 13:27:37 +0900 Subject: Unify include guard styles and header comments. --- include/mruby/error.h | 2 +- include/mruby/gc.h | 2 +- include/mruby/khash.h | 6 +++--- include/mruby/opcode.h | 8 ++++---- include/mruby/version.h | 6 ++++++ 5 files changed, 15 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/mruby/error.h b/include/mruby/error.h index b8b6c2c97..a686a6aab 100644 --- a/include/mruby/error.h +++ b/include/mruby/error.h @@ -1,5 +1,5 @@ /* -** error.h - Exception class +** mruby/error.h - Exception class ** ** See Copyright Notice in mruby.h */ diff --git a/include/mruby/gc.h b/include/mruby/gc.h index 29253fa08..ebc57d2aa 100644 --- a/include/mruby/gc.h +++ b/include/mruby/gc.h @@ -1,5 +1,5 @@ /* -** gc.h - garbage collector for mruby +** mruby/gc.h - garbage collector for mruby ** ** See Copyright Notice in mruby.h */ diff --git a/include/mruby/khash.h b/include/mruby/khash.h index d2501dd52..8a62e3ee6 100644 --- a/include/mruby/khash.h +++ b/include/mruby/khash.h @@ -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 */ diff --git a/include/mruby/opcode.h b/include/mruby/opcode.h index c8a47c273..4774e78c6 100644 --- a/include/mruby/opcode.h +++ b/include/mruby/opcode.h @@ -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 */ diff --git a/include/mruby/version.h b/include/mruby/version.h index d451dfb31..2ec584baa 100644 --- a/include/mruby/version.h +++ b/include/mruby/version.h @@ -1,3 +1,9 @@ +/* +** mruby/version.h - mruby version definition +** +** See Copyright Notice in mruby.h +*/ + #ifndef MRUBY_VERSION_H #define MRUBY_VERSION_H -- cgit v1.2.3