From: Eric Wong Date: 2015-11-21T00:16:46+00:00 Subject: [ruby-core:71619] Re: [Ruby trunk - Feature #11664] [PATCH] introduce rb_autoload_value to replace rb_autoload nobu@ruby-lang.org wrote: > The new function looks fine to me, but why deprecating `rb_autoload`? In general, I prefer to make the C API smaller so it is easier to support and improve Ruby internals. The rb_autoload API is also tricky/dangerous with RSTRING_PTR use because of GC. Since declaring autoload is not performance-critical, users who need autoload from C-ext can use rb_funcall instead. > We used to append `_str` in many cases, IIRC. So rename rb_autoload_value => rb_autoload_str?