Joy Online Manual
| NAME |
| objc:deallocTrace - Trace object deallocation |
| SYNOPSIS |
objc:deallocTrace object script
| DESCRIPTION |
| Executes the Tcl code script when the given object gets deallocated.. |
| EXAMPLE |
tcl> set o [NSObject alloc]
NSObject@0x1b61c
tcl> proc myTrace obj {
puts "$obj dealloced!"
}
tcl> objc:deallocTrace $o myTrace
tcl> $o release
NSObject@0x1b61c dealloced!
| KEYWORDS |
| deallocation, trace |
| Index |