diff -r 000000000000 -r ce9c83f7ec14 IntegerArray.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IntegerArray.h Sun Jul 13 10:45:42 2008 -0700 @@ -0,0 +1,25 @@ +// +// IntegerArray.h +// Cloudy +// +// Created by Jens Alfke on 6/23/08. +// Copyright 2008 Jens Alfke. All rights reserved. +// + +#import + + +@interface IntegerArray : NSObject { + NSMutableData *_storage; + SInt32 *_integers; + NSUInteger _count; +} + +- (NSUInteger)count; +- (const SInt32*) allIntegers; + +- (SInt32) integerAtIndex: (NSUInteger)index; +- (void) setInteger: (SInt32)value atIndex: (NSUInteger)index; +- (void) addInteger: (SInt32)value; + +@end