mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* iseq.c (iseq_data_to_ary): make it static.
* thread.c (thgroup_enclose): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d803c45234
commit
f0bf74a07b
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Sep 5 03:09:48 2008 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* iseq.c (iseq_data_to_ary): make it static.
|
||||||
|
|
||||||
|
* thread.c (thgroup_enclose): ditto.
|
||||||
|
|
||||||
Fri Sep 5 02:56:37 2008 Koichi Sasada <ko1@atdot.net>
|
Fri Sep 5 02:56:37 2008 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
|
* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
|
||||||
|
|
3
iseq.c
3
iseq.c
|
@ -559,6 +559,7 @@ iseq_inspect(VALUE self)
|
||||||
RSTRING_PTR(iseq->name), RSTRING_PTR(iseq->filename));
|
RSTRING_PTR(iseq->name), RSTRING_PTR(iseq->filename));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static
|
||||||
VALUE iseq_data_to_ary(rb_iseq_t *iseq);
|
VALUE iseq_data_to_ary(rb_iseq_t *iseq);
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
@ -980,7 +981,7 @@ cdhash_each(VALUE key, VALUE value, VALUE ary)
|
||||||
return ST_CONTINUE;
|
return ST_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
VALUE
|
static VALUE
|
||||||
iseq_data_to_ary(rb_iseq_t *iseq)
|
iseq_data_to_ary(rb_iseq_t *iseq)
|
||||||
{
|
{
|
||||||
int i, pos, line = 0;
|
int i, pos, line = 0;
|
||||||
|
|
2
thread.c
2
thread.c
|
@ -2464,7 +2464,7 @@ thgroup_list(VALUE group)
|
||||||
* ThreadError: can't move from the enclosed thread group
|
* ThreadError: can't move from the enclosed thread group
|
||||||
*/
|
*/
|
||||||
|
|
||||||
VALUE
|
static VALUE
|
||||||
thgroup_enclose(VALUE group)
|
thgroup_enclose(VALUE group)
|
||||||
{
|
{
|
||||||
struct thgroup *data;
|
struct thgroup *data;
|
||||||
|
|
Loading…
Add table
Reference in a new issue