summaryrefslogtreecommitdiff
path: root/ext/-test-/bignum/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/bignum/import.c')
-rw-r--r--ext/-test-/bignum/import.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/ext/-test-/bignum/import.c b/ext/-test-/bignum/import.c
deleted file mode 100644
index c50d855c44..0000000000
--- a/ext/-test-/bignum/import.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "ruby.h"
-#include "internal.h"
-
-static VALUE
-rb_int_import_m(VALUE klass, VALUE sign, VALUE buf, VALUE wordcount, VALUE wordorder, VALUE wordsize, VALUE endian, VALUE nails)
-{
- StringValue(buf);
-
- return rb_int_import(NUM2INT(sign), RSTRING_PTR(buf),
- NUM2SIZET(wordcount), NUM2INT(wordorder), NUM2SIZET(wordsize),
- NUM2INT(endian), NUM2SIZET(nails));
-}
-
-void
-Init_import(VALUE klass)
-{
- rb_define_singleton_method(rb_cInteger, "test_import", rb_int_import_m, 7);
-}