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
cb29c9b4
Commit
cb29c9b4
authored
Sep 20, 2016
by
Kazuaki Tanaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix return value type of bytecode_decoder
parent
968ebac0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/mruby.h
include/mruby.h
+1
-1
src/vm.c
src/vm.c
+2
-2
No files found.
include/mruby.h
View file @
cb29c9b4
...
@@ -177,7 +177,7 @@ typedef struct mrb_state {
...
@@ -177,7 +177,7 @@ typedef struct mrb_state {
#endif
#endif
#ifdef MRB_BYTECODE_DECODE_OPTION
#ifdef MRB_BYTECODE_DECODE_OPTION
void
(
*
bytecode_decoder
)(
struct
mrb_state
*
mrb
,
mrb_code
*
code
);
mrb_code
(
*
bytecode_decoder
)(
struct
mrb_state
*
mrb
,
mrb_code
code
);
#endif
#endif
struct
RClass
*
eException_class
;
struct
RClass
*
eException_class
;
...
...
src/vm.c
View file @
cb29c9b4
...
@@ -720,9 +720,9 @@ argnum_error(mrb_state *mrb, mrb_int num)
...
@@ -720,9 +720,9 @@ argnum_error(mrb_state *mrb, mrb_int num)
#endif
#endif
#ifdef MRB_BYTECODE_DECODE_OPTION
#ifdef MRB_BYTECODE_DECODE_OPTION
#define BYTECODE_DECODER(x)
if( (mrb)->bytecode_decoder ) (mrb)->bytecode_decoder((mrb), (x)
)
#define BYTECODE_DECODER(x)
((mrb)->bytecode_decoder)?(mrb)->bytecode_decoder((mrb), (x)):(x
)
#else
#else
#define BYTECODE_DECODER(x) (x)
;
#define BYTECODE_DECODER(x) (x)
#endif
#endif
...
...
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