50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
/*
*----------------------------------------------------------------------
*
* Tcl_SaveInterpState --
*
* Fills a token with a snapshot of the current state of the interpreter.
* The snapshot can be restored at any point by TclRestoreInterpState.
*
* The token returned must be eventally passed to one of the routines
* TclRestoreInterpState or TclDiscardInterpState, or there will be a
* memory leak.
*
* Results:
* Returns a token representing the interp state.
*
* Side effects:
* None.
|
|
|
|
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
/*
*----------------------------------------------------------------------
*
* Tcl_SaveInterpState --
*
* Fills a token with a snapshot of the current state of the interpreter.
* The snapshot can be restored at any point by Tcl_RestoreInterpState.
*
* The token returned must be eventually passed to one of the routines
* Tcl_RestoreInterpState or Tcl_DiscardInterpState, or there will be a
* memory leak.
*
* Results:
* Returns a token representing the interp state.
*
* Side effects:
* None.
|