quakeforge/ruamoko/include/List.h
Bill Currie 7b4edb2859 it's "dealloc", not "free" (missed name changes from a while back)
This is an imperfect revision of history.
2004-11-11 01:31:00 +00:00

26 lines
571 B
Objective-C

#ifndef __ruamoko_List_h
#define __ruamoko_List_h
#include "Object.h"
@interface List: Object
{
integer count;
struct list_bucket_s [] head;
struct list_bucket_s [][] tail;
}
- (id) init;
- (id) getItemAt: (integer) index;
- (id) head;
- (id) tail;
- (void) addItemAtHead: (id) item;
- (void) addItemAtTail: (id) item;
- (id) removeItem: (id) item;
- (id) removeItemAtHead;
- (id) removeItemAtTail;
- (integer) count;
-(void)makeObjectsPerformSelector:(SEL)selector;
-(void)makeObjectsPerformSelector:(SEL)selector withObject:(id)arg;
@end
#endif//__ruamoko_List_h