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
92825660
Commit
92825660
authored
Nov 01, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed argument type of mrb_ary_modify(); ref #1554
parent
af038128
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
include/mruby/array.h
include/mruby/array.h
+1
-1
src/array.c
src/array.c
+1
-4
No files found.
include/mruby/array.h
View file @
92825660
...
...
@@ -35,7 +35,7 @@ struct RArray {
#define RARRAY_PTR(a) (RARRAY(a)->ptr)
#define MRB_ARY_SHARED 256
void
mrb_ary_modify
(
mrb_state
*
,
mrb_value
);
void
mrb_ary_modify
(
mrb_state
*
,
struct
RArray
*
);
void
mrb_ary_decref
(
mrb_state
*
,
mrb_shared_array
*
);
mrb_value
mrb_ary_new_capa
(
mrb_state
*
,
mrb_int
);
mrb_value
mrb_ary_new
(
mrb_state
*
mrb
);
...
...
src/array.c
View file @
92825660
...
...
@@ -139,11 +139,8 @@ ary_modify(mrb_state *mrb, struct RArray *a)
}
void
mrb_ary_modify
(
mrb_state
*
mrb
,
mrb_value
ary
)
mrb_ary_modify
(
mrb_state
*
mrb
,
struct
RArray
*
a
)
{
struct
RArray
*
a
;
a
=
mrb_ary_ptr
(
ary
);
mrb_write_barrier
(
mrb
,
(
struct
RBasic
*
)
a
);
ary_modify
(
mrb
,
a
);
}
...
...
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