summaryrefslogtreecommitdiffstats
path: root/generic/tclDictObj.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-07-18 23:29:41 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-07-18 23:29:41 (GMT)
commit05ee62d96f55adfce2725b9746b6c8b0557989ee (patch)
tree280786ed54f598938301797f6f922caec6fa26b5 /generic/tclDictObj.c
parent7c31170f9b9f73628665a5656daddd8002c771f7 (diff)
downloadtcl-05ee62d96f55adfce2725b9746b6c8b0557989ee.zip
tcl-05ee62d96f55adfce2725b9746b6c8b0557989ee.tar.gz
tcl-05ee62d96f55adfce2725b9746b6c8b0557989ee.tar.bz2
new TclNRAddCallback macro for internal use instead of the public
Tcl_NRAddCallback
Diffstat (limited to 'generic/tclDictObj.c')
-rw-r--r--generic/tclDictObj.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c
index 5b47c22..b75c92c 100644
--- a/generic/tclDictObj.c
+++ b/generic/tclDictObj.c
@@ -9,11 +9,12 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDictObj.c,v 1.63 2008/07/18 13:46:43 msofer Exp $
+ * RCS: @(#) $Id: tclDictObj.c,v 1.64 2008/07/18 23:29:42 msofer Exp $
*/
#include "tclInt.h"
#include "tommath.h"
+#include "tclNRE.h"
/*
* Forward declaration.
@@ -2932,7 +2933,7 @@ DictUpdateCmd(
objPtr = Tcl_NewListObj(objc-3, objv+2);
Tcl_IncrRefCount(objPtr);
Tcl_IncrRefCount(objv[1]);
- Tcl_NRAddCallback(interp, FinalizeDictUpdate, objv[1], objPtr, NULL,NULL);
+ TclNRAddCallback(interp, FinalizeDictUpdate, objv[1], objPtr, NULL,NULL);
return TclNREvalObjEx(interp, objv[objc-1], 0, iPtr->cmdFramePtr, objc-1);
}
@@ -3111,7 +3112,7 @@ DictWithCmd(
Tcl_IncrRefCount(pathPtr);
}
Tcl_IncrRefCount(objv[1]);
- Tcl_NRAddCallback(interp, FinalizeDictWith, objv[1], keysPtr, pathPtr,
+ TclNRAddCallback(interp, FinalizeDictWith, objv[1], keysPtr, pathPtr,
NULL);
return TclNREvalObjEx(interp, objv[objc-1], 0, iPtr->cmdFramePtr, objc-1);