From c0c20ccb519071802e82341f0bb584c9d833b3de Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 21 Jul 2015 10:47:45 +0000 Subject: * compile.c: constify the first parameter (iseq). * iseq_add_mark_object() * iseq_add_mark_object_compile_time() * iseq.c, iseq.h (rb_iseq_add_mark_object): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iseq.h') diff --git a/iseq.h b/iseq.h index b4008c384b..487b703c80 100644 --- a/iseq.h +++ b/iseq.h @@ -23,7 +23,7 @@ VALUE rb_iseq_build_from_ary(rb_iseq_t *iseq, VALUE misc, VALUE exception, VALUE body); /* iseq.c */ -void rb_iseq_add_mark_object(rb_iseq_t *iseq, VALUE obj); +void rb_iseq_add_mark_object(const rb_iseq_t *iseq, VALUE obj); VALUE rb_iseq_load(VALUE data, VALUE parent, VALUE opt); VALUE rb_iseq_parameters(const rb_iseq_t *iseq, int is_proc); struct st_table *ruby_insn_make_insn_table(void); -- cgit v1.2.3