forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathArrayRepEmpty.h
More file actions
28 lines (20 loc) · 794 Bytes
/
ArrayRepEmpty.h
File metadata and controls
28 lines (20 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* ArrayRepEmpty.h Copyright (c) 1998-2009 Philippe Mougin. */
/* This software is open source. See the license. */
/*
Provides the class for the internal representation of empty FSArray.
*/
#import <Foundation/Foundation.h>
#import "ArrayRep.h"
@class ArrayRepDouble;
@class ArrayRepBoolean;
@interface ArrayRepEmpty : NSObject <ArrayRep>
{
NSUInteger retainCount; // optimized reference counting
@public
NSUInteger capacity; // used when generating a not empty FSArray representation from this empty one. Equal to the capacity given at creation time using the standard NSArray initializer
}
- (ArrayRepDouble *) asArrayRepDouble;
- (ArrayRepBoolean *) asArrayRepBoolean;
- (id)init;
- (id)initWithCapacity:(NSUInteger)aNumItems;
@end