From: George Ogata Date: 2005-03-11T02:47:30+09:00 Subject: Re: rb_raise and memory Yukihiro Matsumoto writes: > Hi, > > In message "Re: rb_raise and memory" > on Thu, 10 Mar 2005 08:25:49 +0900, Nikolai Weibull writes: > > |No problem. Is there a simple workaround (other than explicitly > |calling free before rb_raise), such as registering the address with the > |GC? One would have to wrap it in a VALUE it seems, which isn't > |great... > > There's no way for Ruby GC to handle non-VALUE data. The only > solution I can think of is moving to Boehm GC, which might be an > overkill. > > matz. Won't ALLOCA_N work for this, or am I not following?