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
bc8308ba
Commit
bc8308ba
authored
May 15, 2015
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2788 from sgnr/dump-without-stdio
Reenable mrb_dump_irep under DISABLE_STDIO.
parents
dd3a292a
1e515176
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/dump.c
src/dump.c
+2
-2
No files found.
src/dump.c
View file @
bc8308ba
...
...
@@ -16,8 +16,6 @@
#define FLAG_BYTEORDER_NATIVE 2
#define FLAG_BYTEORDER_NONATIVE 0
#ifdef ENABLE_STDIO
#ifdef MRB_USE_FLOAT
#define MRB_FLOAT_FMT "%.9e"
#else
...
...
@@ -997,6 +995,8 @@ mrb_dump_irep(mrb_state *mrb, mrb_irep *irep, uint8_t flags, uint8_t **bin, size
return
dump_irep
(
mrb
,
irep
,
dump_flags
(
flags
,
FLAG_BYTEORDER_NONATIVE
),
bin
,
bin_size
);
}
#ifdef ENABLE_STDIO
int
mrb_dump_irep_binary
(
mrb_state
*
mrb
,
mrb_irep
*
irep
,
uint8_t
flags
,
FILE
*
fp
)
{
...
...
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