home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Headers / machkit / reference.h < prev    next >
Text File  |  1992-01-09  |  314b  |  20 lines

  1. /*
  2.  * Reference.h
  3.  * Copyright 1991, NeXT Computer, Inc.
  4.  */
  5.  
  6. #import <machkit/exceptions.h>
  7.  
  8. @protocol NXReference
  9.  
  10. // how many references are there outstanding
  11. - (unsigned) references;
  12.  
  13. // add a reference; return the object.
  14. - addReference;
  15.  
  16. // remove a reference; return self if references remain
  17. - free;
  18. @end
  19.  
  20.