mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
b78a345bd6
It is not safe to set this in C functions that can be called from other C functions, as in the non argument-delegation case, you can end up calling a Ruby method with a flag indicating keywords are set without passing keywords. Introduce some new *_kw functions that take a kw_splat flag and use these functions to set RB_PASS_CALLED_KEYWORDS in places where we know we are delegating methods (e.g. Class#new, Method#call) |
||
---|---|---|
.. | ||
ruby | ||
ruby.h |