summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-06 06:29:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-06 06:29:56 +0000
commit72c4fc72835ea7ea247b11b140c0f3133086123b (patch)
treede562beb3394090a2f945c01995dd8e5ce683625 /enumerator.c
parent80c9b6646ee47c4f395bfa74550cab7d010dfb14 (diff)
random.c: default seed mark
* random.c (Init_Random_default): since seed is marked by random_mark, no needs to mark itself as a global variable. allocate Random instance before making the seed value, to get rid of the potential risk of GC during the allocation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enumerator.c')
0 files changed, 0 insertions, 0 deletions