summaryrefslogtreecommitdiff
path: root/MLKArray.m
diff options
context:
space:
mode:
authorMatthias Benkard <mulk@minimulk.mst-plus>2008-08-16 22:51:22 +0200
committerMatthias Benkard <mulk@minimulk.mst-plus>2008-08-16 22:51:22 +0200
commit5cd4de577c08637cb5d78d1c3376b1ff80e74065 (patch)
treec9e0e279f0c95b5f7fc5c691821344cb2e5d3ce4 /MLKArray.m
parentd858e84c0778dc1851b3a0e324caaf0bef05f274 (diff)
parent3f11cb6b3ddd03d3211dd355cbac23884fa5a6e3 (diff)
Merge branch 'master' of http://matthias.benkard.de/code/mulklisp
Diffstat (limited to 'MLKArray.m')
-rw-r--r--MLKArray.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/MLKArray.m b/MLKArray.m
index 5890953..11c7889 100644
--- a/MLKArray.m
+++ b/MLKArray.m
@@ -30,6 +30,14 @@
@implementation MLKArray
++(id) array
+{
+ return LAUTORELEASE ([[self alloc]
+ initWithDimensions:
+ [NSArray arrayWithObject:
+ [MLKInteger integerWithInt:0]]]);
+}
+
-(id) initWithDimensions:(NSArray *)dimensions
{
NSEnumerator *e;