diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-05 03:35:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-05 03:35:48 +0000 |
commit | 794eb7bc496931d8ffa3111d5723cbcbdacf7b89 (patch) | |
tree | 79ad0b7c68b118dd0dce9e03defd8ea3ca0b9bc1 /iseq.h | |
parent | cc1401e50499e0a4655e1bb3e115a8812b450753 (diff) | |
download | ruby-794eb7bc496931d8ffa3111d5723cbcbdacf7b89.tar.gz |
* compile.c (ruby_iseq_compile, ruby_iseq_translate_threaded_code),
(ruby_insns_name_array, ruby_iseq_build_from_ary): prefixed with
ruby_.
* iseq.c (ruby_iseq_load, ruby_insn_make_insn_table): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r-- | iseq.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -12,7 +12,16 @@ #ifndef RUBY_COMPILE_H #define RUBY_COMPILE_H -VALUE iseq_load(VALUE self, VALUE data, VALUE parent, VALUE opt); +/* compile.c */ +VALUE ruby_iseq_compile(VALUE self, NODE *node); +int ruby_iseq_translate_threaded_code(rb_iseq_t *iseq); +VALUE ruby_insns_name_array(void); +VALUE ruby_iseq_build_from_ary(rb_iseq_t *iseq, VALUE locals, VALUE args, + VALUE exception, VALUE body); + +/* iseq.c */ +VALUE ruby_iseq_load(VALUE data, VALUE parent, VALUE opt); +struct st_table *ruby_insn_make_insn_table(void); #define ISEQ_TYPE_TOP INT2FIX(1) #define ISEQ_TYPE_METHOD INT2FIX(2) |