From: merch-redmine@... Date: 2020-08-25T21:17:23+00:00 Subject: [ruby-core:99689] [Ruby master Bug#16789] Compaction callback for C extensions not documented Issue #16789 has been updated by jeremyevans0 (Jeremy Evans). Status changed from Open to Closed I think this was fixed by commit:92b2d5816ae04375cef7e3909bf69954e1833160. ---------------------------------------- Bug #16789: Compaction callback for C extensions not documented https://bugs.ruby-lang.org/issues/16789#change-87179 * Author: mooreds (Dan Moore) * Status: Closed * Priority: Normal * ruby -v: 2.7.1 and master * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- The compaction callback for C extensions not documented in the extension rdoc. Here's the section of the C code where the callback is called, if it exists: https://github.com/ruby/ruby/blob/master/gc.c#L8343 Here's the relevant section of the documentation: https://github.com/ruby/ruby/blob/master/doc/extension.rdoc#label-C+struct+to+Ruby+object There's no mention of the compaction callback, optional or not. Is this because compaction is still a work in progress? (Sorry for the github links, this is my first bug report. If you'd prefer links from the non mirror repo, let me know and I'll dig them up.) -- https://bugs.ruby-lang.org/ Unsubscribe: