mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #2550 from cubicdaiya/issues/unify_include_guards
Unify include guard styles and header comments.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** error.h - Exception class
|
||||
** mruby/error.h - Exception class
|
||||
**
|
||||
** See Copyright Notice in mruby.h
|
||||
*/
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** gc.h - garbage collector for mruby
|
||||
** mruby/gc.h - garbage collector for mruby
|
||||
**
|
||||
** See Copyright Notice in mruby.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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/*
|
||||
** mruby/version.h - mruby version definition
|
||||
**
|
||||
** See Copyright Notice in mruby.h
|
||||
*/
|
||||
|
||||
#ifndef MRUBY_VERSION_H
|
||||
#define MRUBY_VERSION_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user