Source/BitHolder.m
changeset 11 436cbdf56810
parent 7 428a194e3e59
child 12 4e567e11f45f
     1.1 --- a/Source/BitHolder.m	Sun Mar 16 15:06:47 2008 -0700
     1.2 +++ b/Source/BitHolder.m	Sat Jul 05 17:46:43 2008 -0700
     1.3 @@ -57,6 +57,14 @@
     1.4      }
     1.5  }
     1.6  
     1.7 +- (void) destroyBit
     1.8 +{
     1.9 +    if( _bit ) {
    1.10 +        [_bit destroy];
    1.11 +        setObj(&_bit,nil);
    1.12 +    }
    1.13 +}
    1.14 +
    1.15  - (BOOL) isEmpty    {return self.bit==nil;}
    1.16  
    1.17  @synthesize highlighted=_highlighted;