diff -r 000000000000 -r 5a71993a1a70 IntegerArray.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IntegerArray.h Sat Mar 28 09:36:46 2009 -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