From e03e697549f0981d38a3e2a5c6241e0e305ade40 Mon Sep 17 00:00:00 2001 From: Yukihiro Matz Matsumoto Date: Wed, 27 Mar 2013 11:28:05 +0900 Subject: little cosmetic change (delete word Rite); bump dump file version number --- include/mruby/dump.h | 18 +++++++++--------- src/dump.c | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/mruby/dump.h b/include/mruby/dump.h index 1af00371b..a9cc93fdc 100644 --- a/include/mruby/dump.h +++ b/include/mruby/dump.h @@ -1,5 +1,5 @@ /* -** mruby/dump.h - mruby binary dumper (Rite binary format) +** mruby/dump.h - mruby binary dumper (mrbc binary format) ** ** See Copyright Notice in mruby.h */ @@ -43,7 +43,7 @@ mrb_value mrb_load_irep_file(mrb_state*,FILE*); /* Rite Binary File header */ #define RITE_BINARY_IDENFIFIER "RITE" -#define RITE_BINARY_FORMAT_VER "0000" +#define RITE_BINARY_FORMAT_VER "0001" #define RITE_COMPILER_NAME "MATZ" #define RITE_COMPILER_VERSION "0000" @@ -54,17 +54,17 @@ mrb_value mrb_load_irep_file(mrb_state*,FILE*); #define MRB_DUMP_DEFAULT_STR_LEN 128 -// Rite binary header +// binary header struct rite_binary_header { - uint8_t binary_identify[4]; // Rite Binary Identify - uint8_t binary_version[4]; // Rite Binary Format Version - uint8_t binary_crc[2]; // Rite Binary CRC - uint8_t binary_size[4]; // Rite Binary Size - uint8_t compiler_name[4]; // Rite Compiler name + uint8_t binary_identify[4]; // Binary Identifier + uint8_t binary_version[4]; // Binary Format Version + uint8_t binary_crc[2]; // Binary CRC + uint8_t binary_size[4]; // Binary Size + uint8_t compiler_name[4]; // Compiler name uint8_t compiler_version[4]; }; -// Rite section header +// section header #define RITE_SECTION_HEADER \ uint8_t section_identify[4]; \ uint8_t section_size[4]; diff --git a/src/dump.c b/src/dump.c index d96b2778e..fdb20f68a 100644 --- a/src/dump.c +++ b/src/dump.c @@ -1,5 +1,5 @@ /* -** dump.c - mruby binary dumper (Rite binary format) +** dump.c - mruby binary dumper (mrbc binary format) ** ** See Copyright Notice in mruby.h */ -- cgit v1.2.3