From 4928900814725b6682c7aae5cf02ed60b3b32e57 Mon Sep 17 00:00:00 2001 From: mame Date: Tue, 9 Jan 2018 08:45:35 +0000 Subject: Rename code_range to code_location Because the name "code_range" is ambiguous with encoding's. Abbreviations ("crange", and "cr") are also renamed to "loc". The traditional "code_location" (a pair of lineno and column) is renamed to "code_position". Abbreviations are also renamed (first_loc to beg_pos, and last_loc to end_pos). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61721 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 dd276a59f6..53de21dee1 100644 --- a/iseq.h +++ b/iseq.h @@ -190,7 +190,7 @@ VALUE rb_iseq_label(const rb_iseq_t *iseq); VALUE rb_iseq_base_label(const rb_iseq_t *iseq); VALUE rb_iseq_first_lineno(const rb_iseq_t *iseq); VALUE rb_iseq_method_name(const rb_iseq_t *iseq); -void rb_iseq_code_range(const rb_iseq_t *iseq, int *first_lineno, int *first_column, int *last_lineno, int *last_column); +void rb_iseq_code_location(const rb_iseq_t *iseq, int *first_lineno, int *first_column, int *last_lineno, int *last_column); /* proc.c */ const rb_iseq_t *rb_method_iseq(VALUE body); -- cgit v1.2.1