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
f34623fb
Commit
f34623fb
authored
Jan 30, 2020
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix arena index type from `mrb_int` to just `int`.
parent
c8f4d723
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mrbgems/mruby-error/src/exception.c
mrbgems/mruby-error/src/exception.c
+3
-3
No files found.
mrbgems/mruby-error/src/exception.c
View file @
f34623fb
...
@@ -8,7 +8,7 @@ mrb_protect(mrb_state *mrb, mrb_func_t body, mrb_value data, mrb_bool *state)
...
@@ -8,7 +8,7 @@ mrb_protect(mrb_state *mrb, mrb_func_t body, mrb_value data, mrb_bool *state)
struct
mrb_jmpbuf
*
prev_jmp
=
mrb
->
jmp
;
struct
mrb_jmpbuf
*
prev_jmp
=
mrb
->
jmp
;
struct
mrb_jmpbuf
c_jmp
;
struct
mrb_jmpbuf
c_jmp
;
mrb_value
result
=
mrb_nil_value
();
mrb_value
result
=
mrb_nil_value
();
mrb_
int
ai
=
mrb_gc_arena_save
(
mrb
);
int
ai
=
mrb_gc_arena_save
(
mrb
);
if
(
state
)
{
*
state
=
FALSE
;
}
if
(
state
)
{
*
state
=
FALSE
;
}
...
@@ -34,7 +34,7 @@ mrb_ensure(mrb_state *mrb, mrb_func_t body, mrb_value b_data, mrb_func_t ensure,
...
@@ -34,7 +34,7 @@ mrb_ensure(mrb_state *mrb, mrb_func_t body, mrb_value b_data, mrb_func_t ensure,
struct
mrb_jmpbuf
*
prev_jmp
=
mrb
->
jmp
;
struct
mrb_jmpbuf
*
prev_jmp
=
mrb
->
jmp
;
struct
mrb_jmpbuf
c_jmp
;
struct
mrb_jmpbuf
c_jmp
;
mrb_value
result
;
mrb_value
result
;
mrb_
int
ai
=
mrb_gc_arena_save
(
mrb
);
int
ai
=
mrb_gc_arena_save
(
mrb
);
MRB_TRY
(
&
c_jmp
)
{
MRB_TRY
(
&
c_jmp
)
{
mrb
->
jmp
=
&
c_jmp
;
mrb
->
jmp
=
&
c_jmp
;
...
@@ -71,7 +71,7 @@ mrb_rescue_exceptions(mrb_state *mrb, mrb_func_t body, mrb_value b_data, mrb_fun
...
@@ -71,7 +71,7 @@ mrb_rescue_exceptions(mrb_state *mrb, mrb_func_t body, mrb_value b_data, mrb_fun
mrb_value
result
;
mrb_value
result
;
mrb_bool
error_matched
=
FALSE
;
mrb_bool
error_matched
=
FALSE
;
mrb_int
i
;
mrb_int
i
;
mrb_
int
ai
=
mrb_gc_arena_save
(
mrb
);
int
ai
=
mrb_gc_arena_save
(
mrb
);
MRB_TRY
(
&
c_jmp
)
{
MRB_TRY
(
&
c_jmp
)
{
mrb
->
jmp
=
&
c_jmp
;
mrb
->
jmp
=
&
c_jmp
;
...
...
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