diff options
| author | andreask@activestate.com <andreas_kupries> | 2001-10-15 20:26:57 (GMT) |
|---|---|---|
| committer | andreask@activestate.com <andreas_kupries> | 2001-10-15 20:26:57 (GMT) |
| commit | be0710d7e6a8859b5eb3d13af6dc89ef913db0af (patch) | |
| tree | a2743ac61001b229d56edcfeb695809658593efd /generic/tclCompile.c | |
| parent | 96d15f54917b8e3723f3d151f74fadbf7a8de2a4 (diff) | |
| download | tcl-be0710d7e6a8859b5eb3d13af6dc89ef913db0af.zip tcl-be0710d7e6a8859b5eb3d13af6dc89ef913db0af.tar.gz tcl-be0710d7e6a8859b5eb3d13af6dc89ef913db0af.tar.bz2 | |
* generic/tclInt.decls (TclExpandCodeArray,TclGetInstructionTable):
Added to internal stubs table. Tclcompiler (Tclpro project)
needs them if used as loadable package under Windows. Changed
signatures. We don't want to describe compiler internal
structures in "tclInt.h".
* generic/tclCompile.h: S.a. Removed function declarations.
* generic/tclCompile.c: S.a. Adapted to changed signatures.
Diffstat (limited to 'generic/tclCompile.c')
| -rw-r--r-- | generic/tclCompile.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 3435990..539cb9b 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompile.c,v 1.25 2001/09/19 18:18:16 hobbs Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.26 2001/10/15 20:26:57 andreas_kupries Exp $ */ #include "tclInt.h" @@ -1942,10 +1942,13 @@ TclInitCompiledLocals(interp, framePtr, nsPtr) */ void -TclExpandCodeArray(envPtr) - CompileEnv *envPtr; /* Points to the CompileEnv whose code array +TclExpandCodeArray(envArgPtr) + void *envArgPtr; /* Points to the CompileEnv whose code array * must be enlarged. */ { + CompileEnv *envPtr = (CompileEnv*) envArgPtr; /* Points to the CompileEnv whose code array + * must be enlarged. */ + /* * envPtr->codeNext is equal to envPtr->codeEnd. The currently defined * code bytes are stored between envPtr->codeStart and @@ -2544,7 +2547,7 @@ TclFixupForwardJump(envPtr, jumpFixupPtr, jumpDist, distThreshold) *---------------------------------------------------------------------- */ -InstructionDesc * +void * /* == InstructionDesc* == */ TclGetInstructionTable() { return &instructionTable[0]; |
