diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2008-07-18 23:29:41 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2008-07-18 23:29:41 (GMT) |
commit | 05ee62d96f55adfce2725b9746b6c8b0557989ee (patch) | |
tree | 280786ed54f598938301797f6f922caec6fa26b5 /generic/tclOO.c | |
parent | 7c31170f9b9f73628665a5656daddd8002c771f7 (diff) | |
download | tcl-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/tclOO.c')
-rw-r--r-- | generic/tclOO.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclOO.c b/generic/tclOO.c index 7280172..6f078e4 100644 --- a/generic/tclOO.c +++ b/generic/tclOO.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclOO.c,v 1.12 2008/07/18 17:23:56 dkf Exp $ + * RCS: @(#) $Id: tclOO.c,v 1.13 2008/07/18 23:29:44 msofer Exp $ */ #ifdef HAVE_CONFIG_H @@ -1358,7 +1358,7 @@ TclNRNewObjectInstance( * Fire off the constructors non-recursively. */ - Tcl_NRAddCallback(interp, FinalizeAlloc, contextPtr, oPtr, state, + TclNRAddCallback(interp, FinalizeAlloc, contextPtr, oPtr, state, objectPtr); return TclOOInvokeContext(contextPtr, interp, objc, objv); } @@ -2075,7 +2075,7 @@ TclOOObjectCmdCore( */ AddRef(oPtr); - Tcl_NRAddCallback(interp, FinalizeObjectCall, contextPtr,oPtr, NULL,NULL); + TclNRAddCallback(interp, FinalizeObjectCall, contextPtr,oPtr, NULL,NULL); return TclOOInvokeContext(contextPtr, interp, objc, objv); } @@ -2215,7 +2215,7 @@ TclNRObjectContextInvokeNext( * all) come through the same code. */ - Tcl_NRAddCallback(interp, FinalizeNext, contextPtr, + TclNRAddCallback(interp, FinalizeNext, contextPtr, INT2PTR(contextPtr->index), INT2PTR(contextPtr->skip), NULL); contextPtr->index++; contextPtr->skip = skip; |