From c2d0051bb915a572fded3758be55cccaa5f48847 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 17 May 2015 14:47:36 +0000 Subject: notimplement: rename * ext/-test-/notimplement, test/-ext-/test_notimplement.rb: rename from bug-3662. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/-test-/bug-3662/bug.c | 16 ---------------- ext/-test-/bug-3662/extconf.rb | 1 - ext/-test-/notimplement/bug.c | 16 ++++++++++++++++ ext/-test-/notimplement/extconf.rb | 1 + 4 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 ext/-test-/bug-3662/bug.c delete mode 100644 ext/-test-/bug-3662/extconf.rb create mode 100644 ext/-test-/notimplement/bug.c create mode 100644 ext/-test-/notimplement/extconf.rb (limited to 'ext/-test-') diff --git a/ext/-test-/bug-3662/bug.c b/ext/-test-/bug-3662/bug.c deleted file mode 100644 index 9375dace10..0000000000 --- a/ext/-test-/bug-3662/bug.c +++ /dev/null @@ -1,16 +0,0 @@ -#include - -static VALUE -bug_funcall(int argc, VALUE *argv, VALUE self) -{ - if (argc < 1) rb_raise(rb_eArgError, "not enough argument"); - return rb_funcall2(self, rb_to_id(*argv), argc-1, argv+1); -} - -void -Init_bug(void) -{ - VALUE mBug = rb_define_module("Bug"); - rb_define_module_function(mBug, "funcall", bug_funcall, -1); - rb_define_module_function(mBug, "notimplement", rb_f_notimplement, -1); -} diff --git a/ext/-test-/bug-3662/extconf.rb b/ext/-test-/bug-3662/extconf.rb deleted file mode 100644 index 7a1b73023c..0000000000 --- a/ext/-test-/bug-3662/extconf.rb +++ /dev/null @@ -1 +0,0 @@ -create_makefile("-test-/bug-3662/bug") diff --git a/ext/-test-/notimplement/bug.c b/ext/-test-/notimplement/bug.c new file mode 100644 index 0000000000..34731bc2e6 --- /dev/null +++ b/ext/-test-/notimplement/bug.c @@ -0,0 +1,16 @@ +#include + +static VALUE +bug_funcall(int argc, VALUE *argv, VALUE self) +{ + if (argc < 1) rb_raise(rb_eArgError, "not enough argument"); + return rb_funcall2(self, rb_to_id(*argv), argc-1, argv+1); +} + +void +Init_notimplement(void) +{ + VALUE mBug = rb_define_module("Bug"); + rb_define_module_function(mBug, "funcall", bug_funcall, -1); + rb_define_module_function(mBug, "notimplement", rb_f_notimplement, -1); +} diff --git a/ext/-test-/notimplement/extconf.rb b/ext/-test-/notimplement/extconf.rb new file mode 100644 index 0000000000..a2feb77a94 --- /dev/null +++ b/ext/-test-/notimplement/extconf.rb @@ -0,0 +1 @@ +create_makefile("-test-/notimplement") -- cgit v1.2.3