From: Julian Snitow Date: 2003-03-28T15:16:18+09:00 Subject: Re: [Q] Caveats of rb_global_variable() ? ts wrote: >>>>>>"t" == ts writes: > > > Bad, bad > > > t> Well, it's really difficult to answer without seeing your C source but > t> rb_global_variable() use rb_gc_register_variable() and the opposite is > ^^^^^^^^^^^^^^^^^^^^^^^ > rb_gc_register_address() > t> rb_gc_unregister_variable() > ^^^^^^^^^^^^^^^^^^^^^^^^^ > rb_gc_unregister_address() > > > Guy Decoux Thanks. Can rb_gc_unregister_adddress() be safely called on an address that wasn't necessarily registered in the first place? If so, I can solve my problem neatly. (If not, I get to go source diving again.... ;-)