fix compatibility with GC.compact
commit4db359156adb5aed102ec853f56c030ba40b1eca
authorNgan Pham <nganpham@gmail.com>
Mon, 24 May 2021 20:34:36 +0000 (24 20:34 +0000)
committerEric Wong <bofh@yhbt.net>
Tue, 25 May 2021 22:43:32 +0000 (25 22:43 +0000)
tree21e673f943f75241d5e5f5c27f4d07f805e57122
parente50743e163d65727d26929418a6f31eee9495a6e
fix compatibility with GC.compact

Constants defined in Ruby need to be explicitly marked
when made static inside a C extension.

Link: https://yhbt.net/kgio-public/CAAvYYt5Z5f2rMuXO5DMpR1-6uRvu_gXKDvqcyoZ+oNcLiTH39g@mail.gmail.com/T/
Commit-message-by: Eric Wong <e@80x24.org>
ext/kgio/accept.c