1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/internal
卜部昌平 33dc0a070a RBASIC_SET_CLASS_RAW: follow strict aliasing rule
Instead of rather euphemistic struct cast, just reomve the const
qualifier and assign directly.  According to ISO/IEC 9899:2018 section
6.5 paragraph 7, `VALUE` and `const VALUE` are allowed to alias (but two
distinct structs are not, even when their structures are the same).
[Bug #17540]
2021-03-02 17:47:28 +09:00
..
array.h Define rb_to_array which converts with to_a 2021-02-12 12:15:57 +09:00
bignum.h Move rb_big_isqrt declaration 2021-01-31 09:23:51 +09:00
bits.h
class.h Add RCLASS_SUBCLASSES Macro 2021-02-01 08:42:54 -08:00
compar.h
compile.h
compilers.h
complex.h
cont.h Expose scheduler as public interface & bug fixes. (#3945) 2021-02-09 19:39:56 +13:00
dir.h
enc.h
encoding.h
enum.h
enumerator.h
error.h
eval.h
file.h
fixnum.h
gc.h
hash.h
imemo.h
inits.h
io.h
load.h
loadpath.h
math.h
missing.h
numeric.h
object.h RBASIC_SET_CLASS_RAW: follow strict aliasing rule 2021-03-02 17:47:28 +09:00
parse.h
proc.h
process.h
random.h
range.h
rational.h
re.h
sanitizers.h
serial.h
signal.h
static_assert.h
string.h
struct.h
symbol.h
thread.h
time.h
transcode.h
util.h
variable.h
vm.h
warnings.h