diff options
| author | Satoshi Tagomori <s-tagomori@sakura.ad.jp> | 2025-11-05 16:09:45 +0900 |
|---|---|---|
| committer | Satoshi Tagomori <tagomoris@gmail.com> | 2025-11-07 13:14:54 +0900 |
| commit | d2a587c79156275f66035d60bcc69882be61a3e1 (patch) | |
| tree | 03d02d662031aa77e1445704c5f01e45bd2baa14 /vm_method.c | |
| parent | aaa1234702f0186b1cd7d2cea136eee20fc82153 (diff) | |
renaming internal data structures and functions from namespace to box
Diffstat (limited to 'vm_method.c')
| -rw-r--r-- | vm_method.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c index f5ad38e07c..506a2919b7 100644 --- a/vm_method.c +++ b/vm_method.c @@ -384,7 +384,7 @@ struct invalidate_callable_method_entry_foreach_arg { }; static void -invalidate_callable_method_entry_in_every_m_table_i(rb_classext_t *ext, bool is_prime, VALUE namespace, void *data) +invalidate_callable_method_entry_in_every_m_table_i(rb_classext_t *ext, bool is_prime, VALUE box_value, void *data) { st_data_t me; struct invalidate_callable_method_entry_foreach_arg *arg = (struct invalidate_callable_method_entry_foreach_arg *)data; @@ -1089,7 +1089,7 @@ rb_method_definition_create(rb_method_type_t type, ID mid) def->type = type; def->original_id = mid; def->method_serial = (uintptr_t)RUBY_ATOMIC_FETCH_ADD(method_serial, 1); - def->ns = rb_current_namespace(); + def->box = rb_current_box(); return def; } |
