path: root/iseq.h
diff options
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 08:45:35 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 08:45:35 +0000
commit4928900814725b6682c7aae5cf02ed60b3b32e57 (patch)
tree8782be452b1543d4f465915a333a2e1d2c32c4e3 /iseq.h
parent043e1fd559f0675b242cd50fe82256083e3257db (diff)
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:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.h b/iseq.h
index dd276a5..53de21d 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);