summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.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/tclNamesp.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/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index f541a1e..b7cd491 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -23,10 +23,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclNamesp.c,v 1.167 2008/07/18 13:46:46 msofer Exp $
+ * RCS: @(#) $Id: tclNamesp.c,v 1.168 2008/07/18 23:29:44 msofer Exp $
*/
#include "tclInt.h"
+#include "tclNRE.h"
/*
* Thread-local storage used to avoid having a global lock on data that is not
@@ -3332,7 +3333,7 @@ NamespaceEvalCmd(
* TIP #280: Make invoking context available to eval'd script.
*/
- Tcl_NRAddCallback(interp, NsEval_Callback, namespacePtr, "eval",
+ TclNRAddCallback(interp, NsEval_Callback, namespacePtr, "eval",
NULL, NULL);
return TclNREvalObjEx(interp, objPtr, 0, iPtr->cmdFramePtr, 3);
}
@@ -3778,7 +3779,7 @@ NamespaceInscopeCmd(
Tcl_DecrRefCount(listPtr); /* We're done with the list object. */
}
- Tcl_NRAddCallback(interp, NsEval_Callback, namespacePtr, "inscope",
+ TclNRAddCallback(interp, NsEval_Callback, namespacePtr, "inscope",
NULL, NULL);
return TclNREvalObjEx(interp, cmdObjPtr, 0, NULL, 0);
}
@@ -6263,7 +6264,7 @@ NsEnsembleImplementationCmdNR(
iPtr->ensembleRewrite.sourceObjs = objv;
iPtr->ensembleRewrite.numRemovedObjs = 2;
iPtr->ensembleRewrite.numInsertedObjs = prefixObjc;
- Tcl_NRAddCallback(interp, TclClearRootEnsemble, NULL, NULL, NULL,
+ TclNRAddCallback(interp, TclClearRootEnsemble, NULL, NULL, NULL,
NULL);
} else {
register int ni = iPtr->ensembleRewrite.numInsertedObjs;