summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-04-08 22:32:02 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-04-08 22:32:02 +0900
commitdd04b8034bf08243fc14763c2b4fb5490da626d7 (patch)
treec9008d62cdafcc64883d635db7d6f3818f189190 /random.c
parentec1b3464da9ed2d891beb344efc5881532f2ac3a (diff)
RARRAY_EMBED_LEN/RSTRING_EMBED_LEN: add RUBY3_CAST
RUBY3_CAST is a macro to suppress g++/clang++ warnings about C-style casts. Though Ruby core don't have to bother C++ situations, extension libraries can benefit from this.
Diffstat (limited to 'random.c')
0 files changed, 0 insertions, 0 deletions