blob: 70e46047cf1f6f7a7c58d3d2109ee673102a09ae (
plain)
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
|
/* -*- mode: objc; coding: utf-8 -*- */
/* Copyright 2008, Matthias Benkard. */
#import "Foundation/NSObject.h"
#import "MLKLispValue.h"
@class MLKCons;
@interface MLKLinkedList : NSObject
{
MLKCons *_firstCons;
}
-(MLKLinkedList*) init;
-(MLKLinkedList*) initWithCons:(MLKCons*)cons;
-(void) push: (id)object;
-(id) pop;
-(MLKCons*) firstCons;
-(BOOL) null;
#ifdef __OBJC2__
-(NSUInteger) countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len;
#endif
@end
|