From: wardja@... (Jeff Ward) Date: 2002-05-15T12:44:34+09:00 Subject: more embedding fun (sorry if this is a repost, I don't think it is though) I'm still playing with embedding ruby and I've run into a problem. I have ruby variables I've created that I need to keep in exsistance, even though they don't have any names associated with them in ruby. Is there any way to tell the garbage collector to keep something resident, and then tell it later that it's okay to get rid of? I'd like to keep the garbage collector around. It's very useful. However, I need to tell it to explicitly ignore certain objects until it's told to get rid of them. btw, this is actually causing problems because one of the classes has a pointer to it's c object equivelent in it. The garbage collector reads that as damaged, and exits on a bug (which causes a bad shutdown).