Skip to content

Move VALUE address registration to before assignment#703

Merged
larskanis merged 1 commit intoged:masterfrom
larskanis:reg_address
Mar 13, 2026
Merged

Move VALUE address registration to before assignment#703
larskanis merged 1 commit intoged:masterfrom
larskanis:reg_address

Conversation

@larskanis
Copy link
Collaborator

The documentation says that this is necessary:
https://github.com/ruby/ruby/blob/86049a98754507a480e657274b4d38b07c46e6ea/include/ruby/internal/gc.h#L397

Also use the more descriptive alias function rb_gc_register_address instead of rb_global_variable.

The documentation says that this is necessary:
https://github.com/ruby/ruby/blob/86049a98754507a480e657274b4d38b07c46e6ea/include/ruby/internal/gc.h#L397

Also use the more descriptive alias function rb_gc_register_address instead of rb_global_variable.
@larskanis larskanis merged commit 61f9b37 into ged:master Mar 13, 2026
32 of 36 checks passed
@larskanis larskanis deleted the reg_address branch March 13, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant