This is RZRefCountedList.h in view mode; [Download] [Up]
/* * RZRefCountedList - a List that implements reference counting * * You may freely copy, distribute and reuse the code in this example. * This code is provided AS IS without warranty of any kind, expressed * or implied, as to its fitness for any particular use. * * Copyright 1995 Ralph Zazula (rzazula@next.com). All Rights Reserved. * */ #import <objc/List.h> #import <machkit/reference.h> @interface RZRefCountedList : List <NXReference> { unsigned int refs; } - addReference; - free; - (unsigned int)references; - freeObjects; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.