summaryrefslogtreecommitdiff
path: root/ruby_2_2/ext/-test-/iseq_load/iseq_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_2_2/ext/-test-/iseq_load/iseq_load.c')
-rw-r--r--ruby_2_2/ext/-test-/iseq_load/iseq_load.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/ruby_2_2/ext/-test-/iseq_load/iseq_load.c b/ruby_2_2/ext/-test-/iseq_load/iseq_load.c
deleted file mode 100644
index b4b9a8aa3d..0000000000
--- a/ruby_2_2/ext/-test-/iseq_load/iseq_load.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <ruby.h>
-
-VALUE rb_iseq_load(VALUE data, VALUE parent, VALUE opt);
-
-static VALUE
-iseq_load(int argc, VALUE *argv, VALUE self)
-{
- VALUE data, opt = Qnil;
-
- rb_scan_args(argc, argv, "11", &data, &opt);
-
- return rb_iseq_load(data, 0, opt);
-}
-
-void
-Init_iseq_load(void)
-{
- VALUE rb_cISeq = rb_path2class("RubyVM::InstructionSequence");
-
- rb_define_singleton_method(rb_cISeq, "iseq_load", iseq_load, -1);
-}