2 docCopyright("Steve Dekorte", 2002)
3 docLicense("BSD revised")
6 #ifndef IOWEAKLINK_DEFINED
7 #define IOWEAKLINK_DEFINED 1
10 #include "IoObject_struct.h"
11 #include "IoMessage.h"
18 #define ISWEAKLINK(self) IOOBJECT_ISTYPE(self, WeakLink)
20 typedef IoObject IoWeakLink
;
27 IoObject
*IoWeakLink_proto(void *state
);
28 IoObject
*IoWeakLink_new(void *state
);
30 void IoWeakLink_writeToStream_(IoWeakLink
*self
, BStream
*stream
);
31 void IoWeakLink_readFromStream_(IoWeakLink
*self
, BStream
*stream
);
33 IoObject
*IoWeakLink_rawClone(IoWeakLink
*self
);
34 void IoWeakLink_free(IoWeakLink
*self
);
35 void IoWeakLink_mark(IoWeakLink
*self
);
37 IoObject
*IoWeakLink_rawLink(IoWeakLink
*self
);
39 void IoObject_collectorNotification(IoWeakLink
*self
);
41 IoObject
*IoWeakLink_setLink(IoWeakLink
*self
, IoObject
*locals
, IoMessage
*m
);
42 void IoWeakLink_rawSetLink(IoWeakLink
*self
, IoObject
*v
);
43 IoObject
*IoWeakLink_link(IoWeakLink
*self
, IoObject
*locals
, IoMessage
*m
);
45 void IoWeakLink_notification(IoWeakLink
*self
, void *notification
);