At 12:14 PM 1/14/2002 +0000, Dave Mitchell wrote: >Dan Sugalski <[EMAIL PROTECTED]> wrote: > > Subject: Re: Flags to pmc.h. *Important for class creators!* > > Cc: [EMAIL PROTECTED], Jeff G <[EMAIL PROTECTED]> > > > > At 11:23 AM 1/12/2002 -0800, Steve Fink wrote: > > >On Fri, Jan 11, 2002 at 05:43:28PM -0500, Dan Sugalski wrote: > > > > Okay, I've added some flags to pmc.h. They are: > > > > > > > > PMC_active_destroy_FLAG = 2 << 8, > > > > PMC_is_container_FLAG = 2 << 9, > > > > PMC_is_buffer_ptr_FLAG = 2 << 10, > > > > PMC_is_PMC_ptr_FLAG = 2 << 11, > > > > PMC_private_GC_FLAG = 2 << 12 > > > > > >Did you really mean to use 2 << 8, which is 512 == 2 ** 9 == 1 << 9? > > > > I was just following the format of what Simon'd put in there already. > > Which, looking at it closer, leaves bit 0 unused. Might be a thinko. > >Mea Cupla. This is some stuff I tidied up on Simon's behalf a while ago. >Yes, they should all be 1 << N.
I'll go patch that, then. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk