diff options
author | escoffon <escoffon@noemail.net> | 1998-10-05 22:32:08 (GMT) |
---|---|---|
committer | escoffon <escoffon@noemail.net> | 1998-10-05 22:32:08 (GMT) |
commit | 2ec568e23683696f49e347b009e2775b29953741 (patch) | |
tree | f25db388c40788f11cbe13b90d87726976d7607e /generic/tclInt.h | |
parent | 045ea74e148a346e618268b574f25906d18042d3 (diff) | |
download | tcl-2ec568e23683696f49e347b009e2775b29953741.zip tcl-2ec568e23683696f49e347b009e2775b29953741.tar.gz tcl-2ec568e23683696f49e347b009e2775b29953741.tar.bz2 |
Added a new Tcl object called "procbody"; this object's internal
representation contains both a Proc struct and its associated ByteCode.
Updated tclProc.c::TclCreateProc to take procbody instances as the body
argument, for future support of compiler extensions.
Added the "procbodytest" package for testing all this stuff.
FossilOrigin-Name: 0aa459d72f6b4b36bc6ce6cbf2e6caa923b60acd
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 542e68c..4c4d632 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -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: tclInt.h,v 1.18 1998/09/29 18:22:39 rjohnson Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.19 1998/10/05 22:32:09 escoffon Exp $ */ #ifndef _TCLINT @@ -1388,6 +1388,7 @@ extern Tcl_ObjType tclByteCodeType; extern Tcl_ObjType tclDoubleType; extern Tcl_ObjType tclIntType; extern Tcl_ObjType tclListType; +extern Tcl_ObjType tclProcBodyType; extern Tcl_ObjType tclStringType; /* @@ -1557,6 +1558,7 @@ EXTERN int TclMatchFiles _ANSI_ARGS_((Tcl_Interp *interp, char *separators, Tcl_DString *dirPtr, char *pattern, char *tail)); EXTERN int TclNeedSpace _ANSI_ARGS_((char *start, char *end)); +EXTERN Tcl_Obj * TclNewProcBodyObj _ANSI_ARGS_((Proc *procPtr)); EXTERN int TclObjCommandComplete _ANSI_ARGS_((Tcl_Obj *cmdPtr)); EXTERN int TclObjInterpProc _ANSI_ARGS_((ClientData clientData, Tcl_Interp *interp, int objc, |