summaryrefslogtreecommitdiff
path: root/include/ruby/random.h
AgeCommit message (Collapse)Author
2020-11-27Use opaque struct pointer than voidNobuyoshi Nakada
2020-10-06RB_RANDOM_DATA_INIT_PARENT: convert into an inline function卜部昌平
Bit readable to me. Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-10-06rb_rand_if: convert into an inline function卜部昌平
This adds more room for assertions. Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-10-06include/ruby/random.h: eliminate extern "C"卜部昌平
cf: https://github.com/ruby/ruby/pull/2991/commits/99add258571bf103c6d942bf0e4d510763b73918 Notes: Merged: https://github.com/ruby/ruby/pull/3631
2020-09-07Added `rb_random_base_init`Nobuyoshi Nakada
To enclose the initialization of Random::Base part. Notes: Merged: https://github.com/ruby/ruby/pull/3024
2020-09-07Added WITH_REAL macrosNobuyoshi Nakada
Added `WITH_REAL` versions to `RB_RANDOM_INTERFACE` macros. Also these macros including "without real" versions no longer contain the terminator (semicolon and comma). Notes: Merged: https://github.com/ruby/ruby/pull/3024
2020-09-07Added `get_real` interfaceNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3024
2020-09-07Added rb_int_pair_to_realNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3024
2020-09-07separate rb_random_tNobuyoshi Nakada
* 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: Merged: https://github.com/ruby/ruby/pull/3024