Skip to content

Dev#388

Merged
cfis merged 8 commits intomasterfrom
dev
Feb 17, 2026
Merged

Dev#388
cfis merged 8 commits intomasterfrom
dev

Conversation

@cfis
Copy link
Collaborator

@cfis cfis commented Feb 17, 2026

No description provided.

cfis added 7 commits February 16, 2026 22:46
…ids accidentally manipulating `rb_cObject` when a wrapper is not explicitly initialized.

* C++ API wrappers now store their Ruby `VALUE` in a `Pin` instead of a raw `VALUE` field. Previously, wrappers were not GC-safe and Ruby could reclaim wrapped objects while C++ still referenced them. This is now fixed, and wrappers such as `Object` can be stored safely in containers like `std::vector`.
…stion operator to VALUE from Object. C++ only allows one implicit user-defined conversion in a chain, so Proxy → Object → Array requires two and fails.
@cfis cfis merged commit 306f078 into master Feb 17, 2026
13 checks passed
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