diff options
author | Alan Wu <[email protected]> | 2024-11-29 18:33:44 -0500 |
---|---|---|
committer | Alan Wu <[email protected]> | 2024-11-29 18:33:44 -0500 |
commit | 2a0006c10102e544d18767f17eff3c8301c14959 () | |
tree | 0a1cabae7389eb75faae3124b252885c5a88d008 /include/ruby | |
parent | 2fc357c16d2b10f5a9058063c78c308d34101921 (diff) |
[DOC] Mention that rb_id2str() returns a frozen string
-rw-r--r-- | include/ruby/internal/symbol.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -186,7 +186,8 @@ ID rb_check_id(volatile VALUE *namep); ID rb_to_id(VALUE str); /** - * Identical to rb_id2name(), except it returns a Ruby's String instead of C's. * * @param[in] id An id to query. * @retval RUBY_Qfalse No such id ever existed in the history. |