1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby/internal/intern
卜部昌平 534277fa7b rb_str_new: hoist RB_CONSTANT_P out of function
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html says:

> GCC never returns 1 when you call the inline function with a string
> constant or ...

Because rb_str_new and familiy take string constants, it was a bad idea
for them to contain RB_CONSTANT_P.  We should instead do so in
corresponding macros. [ruby-core:98212]
2020-05-11 11:07:37 +09:00
..
select
array.h
bignum.h
class.h
compar.h
complex.h
cont.h
dir.h
enum.h
enumerator.h
error.h
eval.h
file.h
gc.h
hash.h
io.h
load.h
marshal.h
numeric.h
object.h
parse.h
proc.h
process.h
random.h
range.h
rational.h
re.h
ruby.h
select.h
signal.h
sprintf.h
string.h rb_str_new: hoist RB_CONSTANT_P out of function 2020-05-11 11:07:37 +09:00
struct.h
thread.h
time.h
variable.h
vm.h