diff options
author | hobbs <hobbs@noemail.net> | 2001-11-14 23:17:01 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2001-11-14 23:17:01 (GMT) |
commit | 790913f75a784d5e869e4dc7b8c7aa36494005eb (patch) | |
tree | e2099b7a9dc4bb4dc572f484ee86baf5db2c28ae /generic/tclIntDecls.h | |
parent | 64916862c32081813b93fc1e088a37a8323b972a (diff) | |
download | tcl-790913f75a784d5e869e4dc7b8c7aa36494005eb.zip tcl-790913f75a784d5e869e4dc7b8c7aa36494005eb.tar.gz tcl-790913f75a784d5e869e4dc7b8c7aa36494005eb.tar.bz2 |
Reference implementation of TIP's #22, #33 and #45. Adds the
ability of the [lindex] command to have multiple index arguments,
and adds the [lset] command. Both commands are byte-code compiled.
[Patch #471874] (work by Kenny, commited by Hobbs)
FossilOrigin-Name: 8e0db83abc5d97d0c5f9c8cbb3229ddc8e3a78da
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r-- | generic/tclIntDecls.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index 99b8909..5e36ba9 100644 --- a/generic/tclIntDecls.h +++ b/generic/tclIntDecls.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIntDecls.h,v 1.30 2001/10/15 20:26:57 andreas_kupries Exp $ + * RCS: @(#) $Id: tclIntDecls.h,v 1.31 2001/11/14 23:17:03 hobbs Exp $ */ #ifndef _TCLINTDECLS @@ -493,6 +493,10 @@ EXTERN void * TclGetInstructionTable _ANSI_ARGS_((void)); EXTERN void TclExpandCodeArray _ANSI_ARGS_((void * envPtr)); /* 165 */ EXTERN void TclpSetInitialEncodings _ANSI_ARGS_((void)); +/* 166 */ +EXTERN int TclListObjSetElement _ANSI_ARGS_((Tcl_Interp* interp, + Tcl_Obj* listPtr, int index, + Tcl_Obj* valuePtr)); typedef struct TclIntStubs { int magic; @@ -696,6 +700,7 @@ typedef struct TclIntStubs { void * (*tclGetInstructionTable) _ANSI_ARGS_((void)); /* 163 */ void (*tclExpandCodeArray) _ANSI_ARGS_((void * envPtr)); /* 164 */ void (*tclpSetInitialEncodings) _ANSI_ARGS_((void)); /* 165 */ + int (*tclListObjSetElement) _ANSI_ARGS_((Tcl_Interp* interp, Tcl_Obj* listPtr, int index, Tcl_Obj* valuePtr)); /* 166 */ } TclIntStubs; #ifdef __cplusplus @@ -1300,6 +1305,10 @@ extern TclIntStubs *tclIntStubsPtr; #define TclpSetInitialEncodings \ (tclIntStubsPtr->tclpSetInitialEncodings) /* 165 */ #endif +#ifndef TclListObjSetElement +#define TclListObjSetElement \ + (tclIntStubsPtr->tclListObjSetElement) /* 166 */ +#endif #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ |