summaryrefslogtreecommitdiff
path: root/ext/-test-/dir/init.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-04 15:54:04 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-04 15:54:04 +0000
commitd03315d84a0ac639f80b5c0d499c1c662be66c55 (patch)
tree8ec01d9e0742cbf5c2fc871d327eba12dd8c36b0 /ext/-test-/dir/init.c
parentf20d51b0adb640c9351b3025e6dda7843c3342aa (diff)
* configure.in (dirfd): Check function.
* dir.c (dir_fileno): New method. [ruby-dev:48265] [Feature #9880] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/dir/init.c')
-rw-r--r--ext/-test-/dir/init.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/-test-/dir/init.c b/ext/-test-/dir/init.c
deleted file mode 100644
index 2ca1508..0000000
--- a/ext/-test-/dir/init.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "ruby.h"
-
-#define init(n) {void Init_##n(VALUE klass); Init_##n(klass);}
-
-void
-Init_dir(void)
-{
- VALUE mBug = rb_define_module("Bug");
- VALUE klass = rb_define_class_under(mBug, "Dir", rb_cObject);
- TEST_INIT_FUNCS(init);
-}