home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / c / objam01.lha / objam / objbas / Array.h next >
Encoding:
Text File  |  1994-12-14  |  557 b   |  40 lines

  1. /*
  2. ** ObjectiveAmiga: Interface to class Array
  3. ** See GNU:lib/libobjam/ReadMe for details
  4. */
  5.  
  6.  
  7. #import <objc/Object.h>
  8.  
  9.  
  10. @interface Array: Object
  11. {
  12.   unsigned capacity;
  13.   void *elements;
  14. }
  15.  
  16. + (unsigned)ndxVarSize;
  17. + new:(unsigned)nElements;
  18. + with:(unsigned)nArgs,...;
  19.  
  20. - init;
  21. - init:(unsigned)nElements;
  22. - free;
  23. - add:dummy;
  24. - (unsigned)capacity;
  25. - capacity:(unsigned)nSlots;
  26. - (STR)describe;
  27. - boundsViolation:(unsigned)anOffset;
  28. - copy;
  29. - read:(TypedStream*)stream;
  30. - write:(TypedStream*)stream;
  31.  
  32. @end
  33.  
  34.  
  35. /* Unimplemented:
  36.  
  37. - (BOOL)isEqual:anObject;
  38.  
  39. */
  40.