mark ListenStats in C ext for GC.compact
commit436ab3875707e8ff218cf66309d4e95348700e4f
authorEric Wong <bofh@yhbt.net>
Tue, 25 May 2021 22:21:19 +0000 (25 22:21 +0000)
committerEric Wong <bofh@yhbt.net>
Tue, 25 May 2021 22:21:19 +0000 (25 22:21 +0000)
tree5e0d5d1d99eca8de476d3e94803de92cd55bb3dd
parentb87a449ec8ae4809762831ccce6bb6bacb907b6a
mark ListenStats in C ext for GC.compact

With GC.compact in Ruby 3.x, Ruby-defined constants need to be
explicitly marked to prevent movement.

Link: https://yhbt.net/kgio-public/CAAvYYt5Z5f2rMuXO5DMpR1-6uRvu_gXKDvqcyoZ+oNcLiTH39g@mail.gmail.com/T/
ext/raindrops/linux_inet_diag.c