summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 70f2921..4ecd57f 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclProc.c,v 1.144 2008/07/14 00:11:33 msofer Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.145 2008/07/14 08:22:14 dkf Exp $
*/
#include "tclInt.h"
@@ -1735,7 +1735,7 @@ TclObjInterpProcCore(
if (result == TCL_OK) {
result = TclExecuteByteCode(interp, record.data.codePtr);
result = TclEvalObjv_NR2(interp, result, rootPtr);
- result = InterpProcNR2(&record.callbackPtr->data0, interp, result);
+ result = InterpProcNR2(record.callbackPtr->data, interp, result);
TclSmallFree(record.callbackPtr);
}
return result;
@@ -2816,8 +2816,9 @@ TclNRApplyObjCmd(
/* Fix the recordPtr! */
TEOV_record *recordPtr = TOP_RECORD(iPtr);
+
recordPtr->callbackPtr->procPtr = ApplyNR2;
- recordPtr->callbackPtr->data2 = extraPtr;
+ recordPtr->callbackPtr->data[2] = extraPtr;
}
}
if (result != TCL_OK) {