From: matz@... (Yukihiro Matsumoto) Date: 2001-12-28T11:48:15+09:00 Subject: [ruby-talk:29508] Re: GC and values in extensions Hi, In message "[ruby-talk:29483] GC and values in extensions" on 01/12/28, Johann Hibschman writes: |When is it safe to leave a VALUE floating around in an extension |module? I want to have C++ classes with VALUEs as members, but |I don't know how to protect those from the garbage collector. Ruby's GC is "conservative" so that they are protected as long as they live. So you don't have to worry about local variable protection. matz.