Hi,

In message "More embedding fun!"
    on 02/05/15, Jeff Ward <wardja / jmu.edu> writes:

|Long story short:  Can I have a variable not registered with the garbage 
|collector, then reregister it with the collector later (e.g. when I'm 
|done with the object)?  I know I can call rb_global_variable to get 
|register it, but is there something to get it out of the garbage 
|collector?  Or increase the reference count?  Thanks.

rb_gc_unregister_address().  See gc.c

							matz.