diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2010-01-28 13:57:47 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2010-01-28 13:57:47 (GMT) |
| commit | 94ed51c1a43b7461b630bbd1383a9ed177f88c54 (patch) | |
| tree | 94be58f20c3b1d4232a0809afc1327b5b1e3b5f4 /generic/tclOOBasic.c | |
| parent | c72c3326c1e3f79ad0e0c8de0b51117c0f6a5ec7 (diff) | |
| download | tcl-94ed51c1a43b7461b630bbd1383a9ed177f88c54.zip tcl-94ed51c1a43b7461b630bbd1383a9ed177f88c54.tar.gz tcl-94ed51c1a43b7461b630bbd1383a9ed177f88c54.tar.bz2 | |
Make things compile... D'oh!
Diffstat (limited to 'generic/tclOOBasic.c')
| -rw-r--r-- | generic/tclOOBasic.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tclOOBasic.c b/generic/tclOOBasic.c index eedbf5a..193ca93 100644 --- a/generic/tclOOBasic.c +++ b/generic/tclOOBasic.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclOOBasic.c,v 1.21 2010/01/28 10:25:05 dkf Exp $ + * RCS: @(#) $Id: tclOOBasic.c,v 1.22 2010/01/28 13:57:48 dkf Exp $ */ #ifdef HAVE_CONFIG_H @@ -268,13 +268,15 @@ TclOO_Object_Destroy( return TCL_ERROR; } if (!(oPtr->flags & DESTRUCTOR_CALLED)) { - CallContext *contextPtr = TclOOGetCallContext(oPtr, NULL, DESTRUCTOR); + CallContext *contextPtr = + TclOOGetCallContext(oPtr, NULL, DESTRUCTOR, NULL); oPtr->flags |= DESTRUCTOR_CALLED; if (contextPtr != NULL) { contextPtr->callPtr->flags |= DESTRUCTOR; contextPtr->skip = 0; - result = TclOOInvokeContext(interp, contextPtr, 0, NULL); + result = Tcl_NRCallObjProc(interp, TclOOInvokeContext, + contextPtr, 0, NULL); TclOODeleteContext(contextPtr); } } |
