summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-25 02:24:10 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-25 02:24:10 +0000
commit0ae8dd168e4529828018996f0af288320f4de0ad (patch)
tree0cca91db0432f9efb3f2c07848c1fbb60207fb04 /vm_core.h
parent2afed6eceff2951b949db7ded8167a75b431bad6 (diff)
rb_iseq_location_t: change first_lineno type to VALUE
Nearly all current uses of iseq->location.first_lineno are as a VALUE, not a size_t. The only exception was the experimental (and currently unused) rb_iseq_build_for_ruby2cext function. * vm_core.h (rb_iseq_location_t): change first_lineno type to VALUE * iseq.c (rb_iseq_build_for_ruby2cext): update based on argument git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index ff8bf0ef20..7bf971b9a5 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -184,7 +184,7 @@ typedef struct rb_iseq_location_struct {
const VALUE absolute_path;
const VALUE base_label;
const VALUE label;
- size_t first_lineno;
+ VALUE first_lineno; /* TODO: may be unsigned short */
} rb_iseq_location_t;
struct rb_iseq_struct;