diff options
-rw-r--r-- | MLKArray.h | 1 | ||||
-rw-r--r-- | MLKArray.m | 8 |
2 files changed, 9 insertions, 0 deletions
@@ -31,6 +31,7 @@ NSArray *_displacement; } ++(id) array; -(id) initWithDimensions:(NSArray *)dimensions; -(NSArray *) dimensions; @@ -30,6 +30,14 @@ @implementation MLKArray ++(id) array +{ + return LAUTORELEASE ([[self alloc] + initWithDimensions: + [NSArray arrayWithObject: + [MLKInteger integerWithInt:0]]]); +} + -(id) initWithDimensions:(NSArray *)dimensions { NSEnumerator *e; |