Source/BitHolder.m
changeset 10 6c78cc6bd7a6
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	Thu Jul 03 17:44:30 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;