Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -1,14 +1,14 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface RCListElement : NSObject
|
||||
@interface RCListElement<T> : NSObject
|
||||
{
|
||||
RCListElement *next;
|
||||
id datum;
|
||||
RCListElement<T> *next;
|
||||
T datum;
|
||||
}
|
||||
- (RCListElement *)next;
|
||||
- (id)datum;
|
||||
- (RCListElement *)setNext: (RCListElement *)nx;
|
||||
- (void)setDatum: (id)d;
|
||||
- (RCListElement<T> *)next;
|
||||
- (T)datum;
|
||||
- (RCListElement<T> *)setNext: (RCListElement<T> *)nx;
|
||||
- (void)setDatum: (T)d;
|
||||
@end
|
||||
|
||||
@implementation RCListElement
|
||||
|
|
@ -22,8 +22,7 @@
|
|||
}
|
||||
- (RCListElement *)setNext: (RCListElement *)nx
|
||||
{
|
||||
RCListElement *p;
|
||||
p = next;
|
||||
RCListElement *p = next;
|
||||
next = nx;
|
||||
return p;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue