home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.bin / SourceCode / Palettes / TTools / TToolsPalette / Utilities.subproj / StorageAdditions.h < prev    next >
Encoding:
Text File  |  1993-11-09  |  471 b   |  18 lines

  1. /* StorageAdditions.h
  2.  * Written By:  Thomas Burkholder
  3.  *
  4.  * You may freely copy, distribute, and reuse the code in this example.
  5.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  6.  * fitness for any particular use.
  7.  */
  8.  
  9. #import <objc/Storage.h>
  10.  
  11. // Basically, adds a few methods that List already has, that I want.
  12. @interface Storage (StorageAdditions)
  13.  
  14. - (unsigned int)indexOf:(void *)anElement;
  15. - addElementIfAbsent:(void *)anElement;
  16.  
  17. @end
  18.