diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-07 05:12:08 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-07 05:12:08 +0000 |
commit | 12f368d6a48d7eb35a9c802d1ae4824b876f7c74 (patch) | |
tree | 21ad243d8a68f905cb34fa5e7c41531ab9485df5 /internal.h | |
parent | 72db853bb825775b65e20af2b610c557426ed768 (diff) | |
download | ruby-12f368d6a48d7eb35a9c802d1ae4824b876f7c74.tar.gz |
* iseq.c, internal.h: change to public (but internal) functions
* VALUE rb_iseq_path(VALUE iseqval);
* VALUE rb_iseq_absolute_path(VALUE iseqval);
* VALUE rb_iseq_label(VALUE iseqval);
* VALUE rb_iseq_base_label(VALUE iseqval);
* VALUE rb_iseq_first_lineno(VALUE iseqval);
And new (temporary) function:
* VALUE rb_iseq_klass(VALUE iseqval);
* iseq.c. vm_core.h (int rb_iseq_first_lineno): remove
function `int rb_iseq_first_lineno(const rb_iseq_t *iseq)'.
Use `VALUE rb_iseq_first_lineno(VALUE iseqval)' instead.
* proc.c. vm_insnhelper.c, vm_method.c: catch up this change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 7c5a42a521..f26a63dbf6 100644 --- a/internal.h +++ b/internal.h @@ -449,6 +449,12 @@ VALUE rb_io_flush_raw(VALUE, int); /* iseq.c */ VALUE rb_iseq_clone(VALUE iseqval, VALUE newcbase); +VALUE rb_iseq_path(VALUE iseqval); +VALUE rb_iseq_absolute_path(VALUE iseqval); +VALUE rb_iseq_label(VALUE iseqval); +VALUE rb_iseq_base_label(VALUE iseqval); +VALUE rb_iseq_first_lineno(VALUE iseqval); +VALUE rb_iseq_klass(VALUE iseqval); /* completely temporary fucntion */ /* load.c */ VALUE rb_get_load_path(void); |