1 //metadoc WeakLink copyright Steve Dekorte 2002
2 //metadoc WeakLink license BSD revised
4 #ifndef IOWEAKLINK_DEFINED
5 #define IOWEAKLINK_DEFINED 1
8 #include "IoObject_struct.h"
16 #define ISWEAKLINK(self) IOOBJECT_ISTYPE(self, WeakLink)
18 typedef IoObject IoWeakLink
;
25 IoObject
*IoWeakLink_proto(void *state
);
26 IoObject
*IoWeakLink_new(void *state
);
28 void IoWeakLink_writeToStream_(IoWeakLink
*self
, BStream
*stream
);
29 void IoWeakLink_readFromStream_(IoWeakLink
*self
, BStream
*stream
);
31 IoObject
*IoWeakLink_rawClone(IoWeakLink
*self
);
32 void IoWeakLink_free(IoWeakLink
*self
);
33 void IoWeakLink_mark(IoWeakLink
*self
);
35 IoObject
*IoWeakLink_rawLink(IoWeakLink
*self
);
37 void IoObject_collectorNotification(IoWeakLink
*self
);
39 IoObject
*IoWeakLink_setLink(IoWeakLink
*self
, IoObject
*locals
, IoMessage
*m
);
40 void IoWeakLink_rawSetLink(IoWeakLink
*self
, IoObject
*v
);
41 IoObject
*IoWeakLink_link(IoWeakLink
*self
, IoObject
*locals
, IoMessage
*m
);
43 void IoWeakLink_notification(IoWeakLink
*self
, void *notification
);