SharedSourceCLI.TK.TclInterp.AddKeepAlive C# (CSharp) Method

AddKeepAlive() private method

private AddKeepAlive ( Object o ) : void
o Object
return void
        internal void AddKeepAlive(Object o) {
            _keepAlive.Add(o, null);
        }

Usage Example

Example #1
0
        internal TclCmdDeleteProcWrapper(TclInterp interp, TclCmdDeleteProc proc, Object deletee)
        {
            _interp = interp;
            _proc   = proc;
            unsafe { _callback = new Tcl_CmdDeleteProc(this.CallbackProc); }
            _deletee = deletee;

            _interp.AddKeepAlive(this);
            _interp.AddKeepAlive(_deletee);
        }
All Usage Examples Of SharedSourceCLI.TK.TclInterp::AddKeepAlive