mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove trailing spaces from bc9c47d5
This commit is contained in:
+2
-1
@@ -21,6 +21,7 @@ MRuby::Build.new do |conf|
|
|||||||
|
|
||||||
# include the default GEMs
|
# include the default GEMs
|
||||||
conf.gembox 'default'
|
conf.gembox 'default'
|
||||||
|
conf.gem :core => 'mruby-eval'
|
||||||
|
|
||||||
# C compiler settings
|
# C compiler settings
|
||||||
# conf.cc do |cc|
|
# conf.cc do |cc|
|
||||||
@@ -105,7 +106,7 @@ MRuby::Build.new('host-debug') do |conf|
|
|||||||
conf.gem :core => "mruby-bin-debugger"
|
conf.gem :core => "mruby-bin-debugger"
|
||||||
|
|
||||||
# bintest
|
# bintest
|
||||||
# conf.enable_bintest
|
conf.enable_bintest
|
||||||
end
|
end
|
||||||
|
|
||||||
MRuby::Build.new('test') do |conf|
|
MRuby::Build.new('test') do |conf|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ extern "C" {
|
|||||||
#define DUMP_DEBUG_INFO 1
|
#define DUMP_DEBUG_INFO 1
|
||||||
#define DUMP_ENDIAN_BIG 2
|
#define DUMP_ENDIAN_BIG 2
|
||||||
#define DUMP_ENDIAN_LIL 4
|
#define DUMP_ENDIAN_LIL 4
|
||||||
#define DUMP_ENDIAN_NAT 6
|
#define DUMP_ENDIAN_NAT 6
|
||||||
#define DUMP_ENDIAN_MASK 6
|
#define DUMP_ENDIAN_MASK 6
|
||||||
|
|
||||||
int mrb_dump_irep(mrb_state *mrb, mrb_irep *irep, uint8_t flags, uint8_t **bin, size_t *bin_size);
|
int mrb_dump_irep(mrb_state *mrb, mrb_irep *irep, uint8_t flags, uint8_t **bin, size_t *bin_size);
|
||||||
#ifdef ENABLE_STDIO
|
#ifdef ENABLE_STDIO
|
||||||
|
|||||||
+1
-1
@@ -529,7 +529,7 @@ read_binary_header(const uint8_t *bin, size_t *bin_size, uint16_t *crc, uint8_t
|
|||||||
else if (memcmp(header->binary_ident, RITE_BINARY_IDENT_LIL, sizeof(header->binary_ident)) == 0) {
|
else if (memcmp(header->binary_ident, RITE_BINARY_IDENT_LIL, sizeof(header->binary_ident)) == 0) {
|
||||||
if (bigendian_p())
|
if (bigendian_p())
|
||||||
*flags |= FLAG_BYTEORDER_LIL;
|
*flags |= FLAG_BYTEORDER_LIL;
|
||||||
else
|
else
|
||||||
*flags |= FLAG_BYTEORDER_NATIVE;
|
*flags |= FLAG_BYTEORDER_NATIVE;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user