On Tue, 31 Dec 2002, Dan Sugalski wrote: > At 1:29 PM -0500 12/31/02, David Robins wrote: > >Maybe I missed it in the original thread, but what was the resolution on how > >to create and return a new PMC in PMC ops that take a "PMC* dest" param? > > If the op defines the destination as getting a brand-new PMC, then > just stuff the pointer to it in the destination and let the GC pick > up the original if necessary.
I don't think any ops do that presently (that would take a PMC** param). > If the op defines that it will assign a value in the destination, > then call the set_value vtable method and let the destination PMC > deal with the incoming value as it needs to. How do I set the dest to false (remembering that in Ruby, 0 is not false)? Dave Isa. 40:31