#ifndef YSARRAY_H
#define YSARRAY_H

#import "YSObject.h"

@interface YSArray : YSObject {
    //public so you can index it directly
@public
    id *array;
    unsigned int count;
    unsigned int cap;
}

-(void) addObject: (id) theObject;
-(void) removeObject: (unsigned int) index;
-(unsigned int) capacity;
-(void) setCapacity: (unsigned int) c;

@end

#endif