summaryrefslogtreecommitdiff
path: root/ext/-test-/random/extconf.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2016-05-07 11:51:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-09-07 20:08:01 +0900
commitaf5e87ab218c5f4e34c6cdb54ae119a7f0f9033f (patch)
treee050cf7f7af91f1b990287f6e17d26bc27b6171d /ext/-test-/random/extconf.rb
parentf4d5273989ae8d6569a62b126b2774706b86fbf5 (diff)
separate rb_random_t
* random.c: separate abstract rb_random_t and rb_random_mt_t for Mersenne Twister implementation. * include/ruby/random.h: the interface for extensions of Random class. * DLL imported symbol reference is not constant on Windows. * check if properly initialized.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3024
Diffstat (limited to 'ext/-test-/random/extconf.rb')
-rw-r--r--ext/-test-/random/extconf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/-test-/random/extconf.rb b/ext/-test-/random/extconf.rb
new file mode 100644
index 0000000000..d786b15db9
--- /dev/null
+++ b/ext/-test-/random/extconf.rb
@@ -0,0 +1,3 @@
+# frozen_string_literal: false
+require_relative "../auto_ext.rb"
+auto_ext(inc: true)