diff options
Diffstat (limited to 'ruby_1_9_3/ext/-test-/bug-3571')
-rw-r--r-- | ruby_1_9_3/ext/-test-/bug-3571/bug.c | 23 | ||||
-rw-r--r-- | ruby_1_9_3/ext/-test-/bug-3571/extconf.rb | 1 |
2 files changed, 0 insertions, 24 deletions
diff --git a/ruby_1_9_3/ext/-test-/bug-3571/bug.c b/ruby_1_9_3/ext/-test-/bug-3571/bug.c deleted file mode 100644 index 72d6bd1021..0000000000 --- a/ruby_1_9_3/ext/-test-/bug-3571/bug.c +++ /dev/null @@ -1,23 +0,0 @@ -#include <ruby.h> - -static VALUE -bug_i(VALUE i, VALUE arg) -{ - rb_notimplement(); - return ID2SYM(rb_frame_this_func()); -} - -static VALUE -bug_start(VALUE self, VALUE hash) -{ - VALUE ary = rb_ary_new3(1, Qnil); - rb_block_call(ary, rb_intern("map"), 0, 0, bug_i, self); - return ary; -} - -void -Init_bug(void) -{ - VALUE mBug = rb_define_module("Bug"); - rb_define_module_function(mBug, "start", bug_start, 0); -} diff --git a/ruby_1_9_3/ext/-test-/bug-3571/extconf.rb b/ruby_1_9_3/ext/-test-/bug-3571/extconf.rb deleted file mode 100644 index 6390fce219..0000000000 --- a/ruby_1_9_3/ext/-test-/bug-3571/extconf.rb +++ /dev/null @@ -1 +0,0 @@ -create_makefile("-test-/bug-3571/bug") |