Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
7b5f8b07
Commit
7b5f8b07
authored
Sep 03, 2015
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove trailing spaces from
bc9c47d5
parent
c6aa87c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
build_config.rb
build_config.rb
+2
-1
include/mruby/dump.h
include/mruby/dump.h
+2
-2
src/load.c
src/load.c
+1
-1
No files found.
build_config.rb
View file @
7b5f8b07
...
...
@@ -21,6 +21,7 @@ MRuby::Build.new do |conf|
# include the default GEMs
conf
.
gembox
'default'
conf
.
gem
:core
=>
'mruby-eval'
# C compiler settings
# conf.cc do |cc|
...
...
@@ -105,7 +106,7 @@ MRuby::Build.new('host-debug') do |conf|
conf
.
gem
:core
=>
"mruby-bin-debugger"
# bintest
#
conf.enable_bintest
conf
.
enable_bintest
end
MRuby
::
Build
.
new
(
'test'
)
do
|
conf
|
...
...
include/mruby/dump.h
View file @
7b5f8b07
...
...
@@ -17,8 +17,8 @@ extern "C" {
#define DUMP_DEBUG_INFO 1
#define DUMP_ENDIAN_BIG 2
#define DUMP_ENDIAN_LIL 4
#define DUMP_ENDIAN_NAT 6
#define DUMP_ENDIAN_MASK 6
#define DUMP_ENDIAN_NAT 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
);
#ifdef ENABLE_STDIO
...
...
src/load.c
View file @
7b5f8b07
...
...
@@ -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
)
{
if
(
bigendian_p
())
*
flags
|=
FLAG_BYTEORDER_LIL
;
else
else
*
flags
|=
FLAG_BYTEORDER_NATIVE
;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment