From: Paul Brannan Date: 2002-10-22T23:13:00+09:00 Subject: Re: rb_gc_register_address problem On Mon, Oct 21, 2002 at 09:39:10PM +0000, ahoward wrote: > i'm not _positive_, but if you did not store pointers to pointers to > objects, you would not be able to change, in the gc, what that > pointerer was pointing to! you would only be able to change the thing > pointed to itself! eg. the gc would never be able to set an object > pointer to nil, or anywhere else... I see! That makes perfect sense. I had not considered creating global variables that actually change. I generally leave them alone once they are created. I guess I should be using a constant instead. > gcc has built in memory leak debugging - but it only works with c. a > good reason not to use c++ imo. ;-) Where can I read more about this facility? > i actually have a modification, somewhere, which works with c++, want > it? What does the modification involve? Paul