Copyright (C) 2000-2012 |
Manpages Tcl_CallWhenDeletedSection: Tcl Library Procedures (3)Updated: 7.0 Index Return to Main Contents NAMETcl_CallWhenDeleted, Tcl_DontCallWhenDeleted - Arrange for callback when interpreter is deletedSYNOPSIS#include <tcl.h> Tcl_CallWhenDeleted(interp, proc, clientData) Tcl_DontCallWhenDeleted(interp, proc, clientData) ARGUMENTS
DESCRIPTIONTcl_CallWhenDeleted arranges for proc to be called by Tcl_DeleteInterp if/when interp is deleted at some future time. Proc will be invoked just before the interpreter is deleted, but the interpreter will still be valid at the time of the call. Proc should have arguments and result that match the type Tcl_InterpDeleteProc:
Tcl_DontCallWhenDeleted cancels a previous call to Tcl_CallWhenDeleted with the same arguments, so that proc won't be called after all when interp is deleted. If there is no deletion callback that matches interp, proc, and clientData then the call to Tcl_DontCallWhenDeleted has no effect. KEYWORDScallback, delete, interpreter
IndexThis document was created by man2html, using the manual pages. Time: 11:26:37 GMT, April 23, 2024 |