From: Aleksei Guzev Date: 2001-07-14T13:04:02+09:00 Subject: [ruby-talk:17829] Re: GC mark # # You're going to have to maintain some mapping from those C # struct pointers to the corresponding Ruby objects; I don't # think there's any way around that. In FXRuby I use an STL map # to store these pairs but any kind of dictionary ADT would do # the trick. # I will maintain such mapping, but not in my code, but I'll use Ruby' namespaces :) I'll store needed VALUEs in Ruby's global-, class-, and instance variables. This should be very efficient. Aleksei Guzev