INTERFACE

tcl.lang.AssocData -- Used by extensions to associate their own data with a Tcl interpreter.

METHODS

abstract void disposeAssocData(Interp interp)

ARGUMENTS

Interp interp ()
The interpreter from which the association is deleted.

DESCRIPTION

The AssocData interface is used by extensions to associate their own data with a Tcl interpreter. When the interpreter is disposed via interp.dispose, the disposeAssocData methods of all the registered AssocData instances are called to perform the necessary clean up. Note that if an association is removed as a result of the interp.setAssocData or interp.deleteAssocData calls, the disposeAssocData method of the removed AssocData instance is NOT called.

EQUIVALENT C FUNCTIONS

Tcl_CmdDeleteProc

SEE ALSO

Interp, setAssocData

KEYWORDS

association, data, deletion procedure, interpreter
Copyright © 1998 Sun Microsystems, Inc.
Copyright © 1995-1997 Roger E. Critchlow Jr.