quakeforge/ruamoko/include/Array.h

27 lines
630 B
C
Raw Normal View History

2002-10-31 23:00:40 +00:00
#ifndef __ruamoko_Array_h
#define __ruamoko_Array_h
#include "Object.h"
@interface Array: Object
{
integer count, size;
integer incr;
id [] array;
2002-10-31 23:00:40 +00:00
}
- (id) init;
- (id) initWithIncrement: (integer) inc;
- (void) free;
- (id) getItemAt: (integer) index;
- (void) setItemAt: (integer) index item:(id) item;
- (void) addItem: (id) item;
- (void) removeItem: (id) item;
- (id) removeItemAt: (integer) index;
- (id) insertItemAt: (integer) index item:(id) item;
- (integer) count;
-(void)makeObjectsPerformSelector:(SEL)selector;
-(void)makeObjectsPerformSelector:(SEL)selector withObject:(id)arg;
2002-10-31 23:00:40 +00:00
@end
#endif//__ruamoko_Array_h