home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
sampl254.zip
/
gcc2
/
samples
/
sample5
/
Node.h
< prev
next >
Wrap
Text File
|
1993-11-07
|
379b
|
17 lines
// Node.h - comp.lang.objective-c simple sample Objective-C program
#import <objc/Object.h>
@interface Node : Object
{
id next;
id data;
}
+ new: anItem; // create a Node and store anItem in it
- free; // free a Node and return the item in it
- next; // report the id of the next node after this one
- set_next: aNode; // make the next node be aNode
@end