tcl.h | tcl.h | |||
---|---|---|---|---|
skipping to change at line 15 | skipping to change at line 15 | |||
* of the Tcl interpreter. | * of the Tcl interpreter. | |||
* | * | |||
* Copyright (c) 1987-1994 The Regents of the University of California. | * Copyright (c) 1987-1994 The Regents of the University of California. | |||
* Copyright (c) 1993-1996 Lucent Technologies. | * Copyright (c) 1993-1996 Lucent Technologies. | |||
* Copyright (c) 1994-1998 Sun Microsystems, Inc. | * Copyright (c) 1994-1998 Sun Microsystems, Inc. | |||
* Copyright (c) 1998-2000 by Scriptics Corporation. | * Copyright (c) 1998-2000 by Scriptics Corporation. | |||
* | * | |||
* See the file "license.terms" for information on usage and redistribution | * See the file "license.terms" for information on usage and redistribution | |||
* of this file, and for a DISCLAIMER OF ALL WARRANTIES. | * of this file, and for a DISCLAIMER OF ALL WARRANTIES. | |||
* | * | |||
* RCS: @(#) $Id: tcl.h,v 1.70 2000/04/19 08:32:44 hobbs Exp $ | * RCS: @(#) $Id: tcl.h,v 1.70.2.1 2000/07/27 01:39:14 hobbs Exp $ | |||
*/ | */ | |||
#ifndef _TCL | #ifndef _TCL | |||
#define _TCL | #define _TCL | |||
/* | /* | |||
* For C++ compilers, use extern "C" | * For C++ compilers, use extern "C" | |||
*/ | */ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
skipping to change at line 62 | skipping to change at line 62 | |||
* unix/tcl.spec (2 LOC Major/Minor, 1 LOC patch) | * unix/tcl.spec (2 LOC Major/Minor, 1 LOC patch) | |||
* tests/basic.test (not patchlevel) (version checks) | * tests/basic.test (not patchlevel) (version checks) | |||
* tools/tcl.hpj.in (not patchlevel, for windows installer) | * tools/tcl.hpj.in (not patchlevel, for windows installer) | |||
* tools/tcl.wse.in (for windows installer) | * tools/tcl.wse.in (for windows installer) | |||
* tools/tclSplash.bmp (not patchlevel) | * tools/tclSplash.bmp (not patchlevel) | |||
*/ | */ | |||
#define TCL_MAJOR_VERSION 8 | #define TCL_MAJOR_VERSION 8 | |||
#define TCL_MINOR_VERSION 3 | #define TCL_MINOR_VERSION 3 | |||
#define TCL_RELEASE_LEVEL TCL_FINAL_RELEASE | #define TCL_RELEASE_LEVEL TCL_FINAL_RELEASE | |||
#define TCL_RELEASE_SERIAL 1 | #define TCL_RELEASE_SERIAL 2 | |||
#define TCL_VERSION "8.3" | #define TCL_VERSION "8.3" | |||
#define TCL_PATCH_LEVEL "8.3.1" | #define TCL_PATCH_LEVEL "8.3.2" | |||
/* | /* | |||
* The following definitions set up the proper options for Windows | * The following definitions set up the proper options for Windows | |||
* compilers. We use this method because there is no autoconf equivalent. | * compilers. We use this method because there is no autoconf equivalent. | |||
*/ | */ | |||
#ifndef __WIN32__ | #ifndef __WIN32__ | |||
# if defined(_WIN32) || defined(WIN32) | # if defined(_WIN32) || defined(WIN32) | |||
# define __WIN32__ | # define __WIN32__ | |||
# endif | # endif | |||
skipping to change at line 389 | skipping to change at line 389 | |||
typedef struct Tcl_Encoding_ *Tcl_Encoding; | typedef struct Tcl_Encoding_ *Tcl_Encoding; | |||
typedef struct Tcl_Event Tcl_Event; | typedef struct Tcl_Event Tcl_Event; | |||
typedef struct Tcl_Mutex_ *Tcl_Mutex; | typedef struct Tcl_Mutex_ *Tcl_Mutex; | |||
typedef struct Tcl_Pid_ *Tcl_Pid; | typedef struct Tcl_Pid_ *Tcl_Pid; | |||
typedef struct Tcl_RegExp_ *Tcl_RegExp; | typedef struct Tcl_RegExp_ *Tcl_RegExp; | |||
typedef struct Tcl_ThreadDataKey_ *Tcl_ThreadDataKey; | typedef struct Tcl_ThreadDataKey_ *Tcl_ThreadDataKey; | |||
typedef struct Tcl_ThreadId_ *Tcl_ThreadId; | typedef struct Tcl_ThreadId_ *Tcl_ThreadId; | |||
typedef struct Tcl_TimerToken_ *Tcl_TimerToken; | typedef struct Tcl_TimerToken_ *Tcl_TimerToken; | |||
typedef struct Tcl_Trace_ *Tcl_Trace; | typedef struct Tcl_Trace_ *Tcl_Trace; | |||
typedef struct Tcl_Var_ *Tcl_Var; | typedef struct Tcl_Var_ *Tcl_Var; | |||
typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; | ||||
/* | /* | |||
* Definition of the interface to procedures implementing threads. | * Definition of the interface to procedures implementing threads. | |||
* A procedure following this definition is given to each call of | * A procedure following this definition is given to each call of | |||
* 'Tcl_CreateThread' and will be called as the main fuction of | * 'Tcl_CreateThread' and will be called as the main fuction of | |||
* the new thread created by that call. | * the new thread created by that call. | |||
*/ | */ | |||
#ifdef MAC_TCL | #ifdef MAC_TCL | |||
typedef pascal void *(Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientD ata)); | typedef pascal void *(Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientD ata)); | |||
skipping to change at line 1138 | skipping to change at line 1139 | |||
#define TCL_STDOUT (1<<2) | #define TCL_STDOUT (1<<2) | |||
#define TCL_STDERR (1<<3) | #define TCL_STDERR (1<<3) | |||
#define TCL_ENFORCE_MODE (1<<4) | #define TCL_ENFORCE_MODE (1<<4) | |||
/* | /* | |||
* Bits passed to Tcl_DriverClose2Proc to indicate which side of a channel | * Bits passed to Tcl_DriverClose2Proc to indicate which side of a channel | |||
* should be closed. | * should be closed. | |||
*/ | */ | |||
#define TCL_CLOSE_READ (1<<1) | #define TCL_CLOSE_READ (1<<1) | |||
#define TCL_CLOSE_WRITE (1<<2) | #define TCL_CLOSE_WRITE (1<<2) | |||
/* | /* | |||
* Value to use as the closeProc for a channel that supports the | * Value to use as the closeProc for a channel that supports the | |||
* close2Proc interface. | * close2Proc interface. | |||
*/ | */ | |||
#define TCL_CLOSE2PROC ((Tcl_DriverCloseProc *)1) | #define TCL_CLOSE2PROC ((Tcl_DriverCloseProc *)1) | |||
/* | /* | |||
* Channel version tag. This was introduced in 8.3.2/8.4. | ||||
*/ | ||||
#define TCL_CHANNEL_VERSION_1 ((Tcl_ChannelTypeVersion) 0x1) | ||||
#define TCL_CHANNEL_VERSION_2 ((Tcl_ChannelTypeVersion) 0x2) | ||||
/* | ||||
* Typedefs for the various operations in a channel type: | * Typedefs for the various operations in a channel type: | |||
*/ | */ | |||
typedef int (Tcl_DriverBlockModeProc) _ANSI_ARGS_(( | typedef int (Tcl_DriverBlockModeProc) _ANSI_ARGS_(( | |||
ClientData instanceData, int mode)); | ClientData instanceData, int mode)); | |||
typedef int (Tcl_DriverCloseProc) _ANSI_ARGS_((ClientData instanceData, | typedef int (Tcl_DriverCloseProc) _ANSI_ARGS_((ClientData instanceData, | |||
Tcl_Interp *interp)); | Tcl_Interp *interp)); | |||
typedef int (Tcl_DriverClose2Proc) _ANSI_ARGS_((ClientData instanceData, | typedef int (Tcl_DriverClose2Proc) _ANSI_ARGS_((ClientData instanceData, | |||
Tcl_Interp *interp, int flags)); | Tcl_Interp *interp, int flags)); | |||
typedef int (Tcl_DriverInputProc) _ANSI_ARGS_((ClientData instanceData, | typedef int (Tcl_DriverInputProc) _ANSI_ARGS_((ClientData instanceData, | |||
skipping to change at line 1174 | skipping to change at line 1182 | |||
ClientData instanceData, Tcl_Interp *interp, | ClientData instanceData, Tcl_Interp *interp, | |||
char *optionName, char *value)); | char *optionName, char *value)); | |||
typedef int (Tcl_DriverGetOptionProc) _ANSI_ARGS_(( | typedef int (Tcl_DriverGetOptionProc) _ANSI_ARGS_(( | |||
ClientData instanceData, Tcl_Interp *interp, | ClientData instanceData, Tcl_Interp *interp, | |||
char *optionName, Tcl_DString *dsPtr)); | char *optionName, Tcl_DString *dsPtr)); | |||
typedef void (Tcl_DriverWatchProc) _ANSI_ARGS_(( | typedef void (Tcl_DriverWatchProc) _ANSI_ARGS_(( | |||
ClientData instanceData, int mask)); | ClientData instanceData, int mask)); | |||
typedef int (Tcl_DriverGetHandleProc) _ANSI_ARGS_(( | typedef int (Tcl_DriverGetHandleProc) _ANSI_ARGS_(( | |||
ClientData instanceData, int direction, | ClientData instanceData, int direction, | |||
ClientData *handlePtr)); | ClientData *handlePtr)); | |||
typedef int (Tcl_DriverFlushProc) _ANSI_ARGS_(( | ||||
ClientData instanceData)); | ||||
typedef int (Tcl_DriverHandlerProc) _ANSI_ARGS_(( | ||||
ClientData instanceData, int interestMask)); | ||||
/* | /* | |||
* The following declarations either map ckalloc and ckfree to | * The following declarations either map ckalloc and ckfree to | |||
* malloc and free, or they map them to procedures with all sorts | * malloc and free, or they map them to procedures with all sorts | |||
* of debugging hooks defined in tclCkalloc.c. | * of debugging hooks defined in tclCkalloc.c. | |||
*/ | */ | |||
#ifdef TCL_MEM_DEBUG | #ifdef TCL_MEM_DEBUG | |||
# define ckalloc(x) Tcl_DbCkalloc(x, __FILE__, __LINE__) | # define ckalloc(x) Tcl_DbCkalloc(x, __FILE__, __LINE__) | |||
skipping to change at line 1222 | skipping to change at line 1234 | |||
TCL_TRANSLATE_LF, /* Eol == \n. */ | TCL_TRANSLATE_LF, /* Eol == \n. */ | |||
TCL_TRANSLATE_CRLF /* Eol == \r\n. */ | TCL_TRANSLATE_CRLF /* Eol == \r\n. */ | |||
} Tcl_EolTranslation; | } Tcl_EolTranslation; | |||
/* | /* | |||
* struct Tcl_ChannelType: | * struct Tcl_ChannelType: | |||
* | * | |||
* One such structure exists for each type (kind) of channel. | * One such structure exists for each type (kind) of channel. | |||
* It collects together in one place all the functions that are | * It collects together in one place all the functions that are | |||
* part of the specific channel type. | * part of the specific channel type. | |||
* | ||||
* It is recommend that the Tcl_Channel* functions are used to access | ||||
* elements of this structure, instead of direct accessing. | ||||
*/ | */ | |||
typedef struct Tcl_ChannelType { | typedef struct Tcl_ChannelType { | |||
char *typeName; /* The name of the channel type in T cl | char *typeName; /* The name of the channel type in T cl | |||
* commands. This storage is owned | * commands. This storage is owned b | |||
by | y | |||
* channel type. */ | * channel type. */ | |||
Tcl_DriverBlockModeProc *blockModeProc; | Tcl_ChannelTypeVersion version; /* Version of the channel type. */ | |||
/* Set blocking mode for the | ||||
* raw channel. May be NULL. */ | ||||
Tcl_DriverCloseProc *closeProc; /* Procedure to call to close the | Tcl_DriverCloseProc *closeProc; /* Procedure to call to close the | |||
* channel, or TCL_CLOSE2PROC if th | * channel, or TCL_CLOSE2PROC if the | |||
e | * close2Proc should be used | |||
* close2Proc should be used | * instead. */ | |||
* instead. */ | ||||
Tcl_DriverInputProc *inputProc; /* Procedure to call for input | Tcl_DriverInputProc *inputProc; /* Procedure to call for input | |||
* on channel. */ | * on channel. */ | |||
Tcl_DriverOutputProc *outputProc; /* Procedure to call for output | Tcl_DriverOutputProc *outputProc; /* Procedure to call for output | |||
* on channel. */ | * on channel. */ | |||
Tcl_DriverSeekProc *seekProc; /* Procedure to call to seek | Tcl_DriverSeekProc *seekProc; /* Procedure to call to seek | |||
* on the channel. May be NULL. */ | * on the channel. May be NULL. */ | |||
Tcl_DriverSetOptionProc *setOptionProc; | Tcl_DriverSetOptionProc *setOptionProc; | |||
/* Set an option on a channel. */ | /* Set an option on a channel. */ | |||
Tcl_DriverGetOptionProc *getOptionProc; | Tcl_DriverGetOptionProc *getOptionProc; | |||
/* Get an option from a channel. */ | /* Get an option from a channel. */ | |||
Tcl_DriverWatchProc *watchProc; /* Set up the notifier to watch | Tcl_DriverWatchProc *watchProc; /* Set up the notifier to watch | |||
* for events on this channel. */ | * for events on this channel. */ | |||
Tcl_DriverGetHandleProc *getHandleProc; | Tcl_DriverGetHandleProc *getHandleProc; | |||
/* Get an OS handle from the channel | /* Get an OS handle from the channel | |||
* or NULL if not supported. */ | * or NULL if not supported. */ | |||
Tcl_DriverClose2Proc *close2Proc; /* Procedure to call to close the | Tcl_DriverClose2Proc *close2Proc; /* Procedure to call to close the | |||
* channel if the device supports | * channel if the device supports | |||
* closing the read & write sides | * closing the read & write sides | |||
* independently. */ | * independently. */ | |||
Tcl_DriverBlockModeProc *blockModeProc; | ||||
/* Set blocking mode for the | ||||
* raw channel. May be NULL. */ | ||||
/* | ||||
* Only valid in TCL_CHANNEL_VERSION_2 channels | ||||
*/ | ||||
Tcl_DriverFlushProc *flushProc; /* Procedure to call to flush a | ||||
* channel. May be NULL. */ | ||||
Tcl_DriverHandlerProc *handlerProc; /* Procedure to call to hand | ||||
le a | ||||
* channel event. This will be pass | ||||
ed | ||||
* up the stacked channel chain. */ | ||||
} Tcl_ChannelType; | } Tcl_ChannelType; | |||
/* | /* | |||
* The following flags determine whether the blockModeProc above should | * The following flags determine whether the blockModeProc above should | |||
* set the channel into blocking or nonblocking mode. They are passed | * set the channel into blocking or nonblocking mode. They are passed | |||
* as arguments to the blockModeProc procedure in the above structure. | * as arguments to the blockModeProc procedure in the above structure. | |||
*/ | */ | |||
#define TCL_MODE_BLOCKING 0 /* Put channel into blocking mode. * | #define TCL_MODE_BLOCKING 0 /* Put channel into blocking mode. * | |||
/ | / | |||
#define TCL_MODE_NONBLOCKING 1 /* Put channel into nonblocking | #define TCL_MODE_NONBLOCKING 1 /* Put channel into nonblocking | |||
* mode. */ | * mode. */ | |||
/* | /* | |||
* Enum for different types of file paths. | * Enum for different types of file paths. | |||
*/ | */ | |||
typedef enum Tcl_PathType { | typedef enum Tcl_PathType { | |||
TCL_PATH_ABSOLUTE, | TCL_PATH_ABSOLUTE, | |||
TCL_PATH_RELATIVE, | TCL_PATH_RELATIVE, | |||
TCL_PATH_VOLUME_RELATIVE | TCL_PATH_VOLUME_RELATIVE | |||
End of changes. 19 change blocks. | ||||
25 lines changed or deleted | 50 lines changed or added | |||
tclDecls.h | tclDecls.h | |||
---|---|---|---|---|
/* | /* | |||
* tclDecls.h -- | * tclDecls.h -- | |||
* | * | |||
* Declarations of functions in the platform independent public Tcl API . | * Declarations of functions in the platform independent public Tcl API . | |||
* | * | |||
* Copyright (c) 1998-1999 by Scriptics Corporation. | * Copyright (c) 1998-1999 by Scriptics Corporation. | |||
* | * | |||
* See the file "license.terms" for information on usage and redistribution | * See the file "license.terms" for information on usage and redistribution | |||
* of this file, and for a DISCLAIMER OF ALL WARRANTIES. | * of this file, and for a DISCLAIMER OF ALL WARRANTIES. | |||
* | * | |||
* RCS: @(#) $Id: tclDecls.h,v 1.34 2000/04/09 16:04:17 kupries Exp $ | * RCS: @(#) $Id: tclDecls.h,v 1.34.2.1 2000/07/27 01:39:15 hobbs Exp $ | |||
*/ | */ | |||
#ifndef _TCLDECLS | #ifndef _TCLDECLS | |||
#define _TCLDECLS | #define _TCLDECLS | |||
/* | /* | |||
* WARNING: This file is automatically generated by the tools/genStubs.tcl | * WARNING: This file is automatically generated by the tools/genStubs.tcl | |||
* script. Any modifications to the function declarations below should be made | * script. Any modifications to the function declarations below should be made | |||
* in the generic/tcl.decls script. | * in the generic/tcl.decls script. | |||
*/ | */ | |||
skipping to change at line 912 | skipping to change at line 912 | |||
EXTERN void Tcl_GetVersion _ANSI_ARGS_((int * major, int * minor , | EXTERN void Tcl_GetVersion _ANSI_ARGS_((int * major, int * minor , | |||
int * patchLevel, int * type)); | int * patchLevel, int * type)); | |||
/* 280 */ | /* 280 */ | |||
EXTERN void Tcl_InitMemory _ANSI_ARGS_((Tcl_Interp * interp)); | EXTERN void Tcl_InitMemory _ANSI_ARGS_((Tcl_Interp * interp)); | |||
/* 281 */ | /* 281 */ | |||
EXTERN Tcl_Channel Tcl_StackChannel _ANSI_ARGS_((Tcl_Interp * interp, | EXTERN Tcl_Channel Tcl_StackChannel _ANSI_ARGS_((Tcl_Interp * interp, | |||
Tcl_ChannelType * typePtr, | Tcl_ChannelType * typePtr, | |||
ClientData instanceData, int mask, | ClientData instanceData, int mask, | |||
Tcl_Channel prevChan)); | Tcl_Channel prevChan)); | |||
/* 282 */ | /* 282 */ | |||
EXTERN void Tcl_UnstackChannel _ANSI_ARGS_((Tcl_Interp * interp, | EXTERN int Tcl_UnstackChannel _ANSI_ARGS_((Tcl_Interp * interp, | |||
Tcl_Channel chan)); | Tcl_Channel chan)); | |||
/* 283 */ | /* 283 */ | |||
EXTERN Tcl_Channel Tcl_GetStackedChannel _ANSI_ARGS_((Tcl_Channel chan) ); | EXTERN Tcl_Channel Tcl_GetStackedChannel _ANSI_ARGS_((Tcl_Channel chan) ); | |||
/* Slot 284 is reserved */ | /* Slot 284 is reserved */ | |||
/* Slot 285 is reserved */ | /* Slot 285 is reserved */ | |||
/* 286 */ | /* 286 */ | |||
EXTERN void Tcl_AppendObjToObj _ANSI_ARGS_((Tcl_Obj * objPtr, | EXTERN void Tcl_AppendObjToObj _ANSI_ARGS_((Tcl_Obj * objPtr, | |||
Tcl_Obj * appendObjPtr)); | Tcl_Obj * appendObjPtr)); | |||
/* 287 */ | /* 287 */ | |||
EXTERN Tcl_Encoding Tcl_CreateEncoding _ANSI_ARGS_(( | EXTERN Tcl_Encoding Tcl_CreateEncoding _ANSI_ARGS_(( | |||
skipping to change at line 1231 | skipping to change at line 1231 | |||
/* 391 */ | /* 391 */ | |||
EXTERN void Tcl_ConditionFinalize _ANSI_ARGS_(( | EXTERN void Tcl_ConditionFinalize _ANSI_ARGS_(( | |||
Tcl_Condition * condPtr)); | Tcl_Condition * condPtr)); | |||
/* 392 */ | /* 392 */ | |||
EXTERN void Tcl_MutexFinalize _ANSI_ARGS_((Tcl_Mutex * mutex)); | EXTERN void Tcl_MutexFinalize _ANSI_ARGS_((Tcl_Mutex * mutex)); | |||
/* 393 */ | /* 393 */ | |||
EXTERN int Tcl_CreateThread _ANSI_ARGS_((Tcl_ThreadId * idPtr, | EXTERN int Tcl_CreateThread _ANSI_ARGS_((Tcl_ThreadId * idPtr, | |||
Tcl_ThreadCreateProc proc, | Tcl_ThreadCreateProc proc, | |||
ClientData clientData, int stackSize, | ClientData clientData, int stackSize, | |||
int flags)); | int flags)); | |||
/* 394 */ | ||||
EXTERN int Tcl_ReadRaw _ANSI_ARGS_((Tcl_Channel chan, | ||||
char * dst, int bytesToRead)); | ||||
/* 395 */ | ||||
EXTERN int Tcl_WriteRaw _ANSI_ARGS_((Tcl_Channel chan, | ||||
char * src, int srcLen)); | ||||
/* 396 */ | ||||
EXTERN Tcl_Channel Tcl_GetTopChannel _ANSI_ARGS_((Tcl_Channel chan)); | ||||
/* 397 */ | ||||
EXTERN int Tcl_ChannelBuffered _ANSI_ARGS_((Tcl_Channel chan)); | ||||
/* 398 */ | ||||
EXTERN char * Tcl_ChannelName _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 399 */ | ||||
EXTERN Tcl_ChannelTypeVersion Tcl_ChannelVersion _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 400 */ | ||||
EXTERN Tcl_DriverBlockModeProc * Tcl_ChannelBlockModeProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 401 */ | ||||
EXTERN Tcl_DriverCloseProc * Tcl_ChannelCloseProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 402 */ | ||||
EXTERN Tcl_DriverClose2Proc * Tcl_ChannelClose2Proc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 403 */ | ||||
EXTERN Tcl_DriverInputProc * Tcl_ChannelInputProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 404 */ | ||||
EXTERN Tcl_DriverOutputProc * Tcl_ChannelOutputProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 405 */ | ||||
EXTERN Tcl_DriverSeekProc * Tcl_ChannelSeekProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 406 */ | ||||
EXTERN Tcl_DriverSetOptionProc * Tcl_ChannelSetOptionProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 407 */ | ||||
EXTERN Tcl_DriverGetOptionProc * Tcl_ChannelGetOptionProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 408 */ | ||||
EXTERN Tcl_DriverWatchProc * Tcl_ChannelWatchProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 409 */ | ||||
EXTERN Tcl_DriverGetHandleProc * Tcl_ChannelGetHandleProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 410 */ | ||||
EXTERN Tcl_DriverFlushProc * Tcl_ChannelFlushProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
/* 411 */ | ||||
EXTERN Tcl_DriverHandlerProc * Tcl_ChannelHandlerProc _ANSI_ARGS_(( | ||||
Tcl_ChannelType * chanTypePtr)); | ||||
typedef struct TclStubHooks { | typedef struct TclStubHooks { | |||
struct TclPlatStubs *tclPlatStubs; | struct TclPlatStubs *tclPlatStubs; | |||
struct TclIntStubs *tclIntStubs; | struct TclIntStubs *tclIntStubs; | |||
struct TclIntPlatStubs *tclIntPlatStubs; | struct TclIntPlatStubs *tclIntPlatStubs; | |||
} TclStubHooks; | } TclStubHooks; | |||
typedef struct TclStubs { | typedef struct TclStubs { | |||
int magic; | int magic; | |||
struct TclStubHooks *hooks; | struct TclStubHooks *hooks; | |||
skipping to change at line 1580 | skipping to change at line 1632 | |||
#endif /* UNIX */ | #endif /* UNIX */ | |||
#ifdef __WIN32__ | #ifdef __WIN32__ | |||
void (*tcl_PanicVA) _ANSI_ARGS_((char * format, va_list argList)); /* 2 78 */ | void (*tcl_PanicVA) _ANSI_ARGS_((char * format, va_list argList)); /* 2 78 */ | |||
#endif /* __WIN32__ */ | #endif /* __WIN32__ */ | |||
#ifdef MAC_TCL | #ifdef MAC_TCL | |||
void *reserved278; | void *reserved278; | |||
#endif /* MAC_TCL */ | #endif /* MAC_TCL */ | |||
void (*tcl_GetVersion) _ANSI_ARGS_((int * major, int * minor, int * pat chLevel, int * type)); /* 279 */ | void (*tcl_GetVersion) _ANSI_ARGS_((int * major, int * minor, int * pat chLevel, int * type)); /* 279 */ | |||
void (*tcl_InitMemory) _ANSI_ARGS_((Tcl_Interp * interp)); /* 280 */ | void (*tcl_InitMemory) _ANSI_ARGS_((Tcl_Interp * interp)); /* 280 */ | |||
Tcl_Channel (*tcl_StackChannel) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_C hannelType * typePtr, ClientData instanceData, int mask, Tcl_Channel prevCh an)); /* 281 */ | Tcl_Channel (*tcl_StackChannel) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_C hannelType * typePtr, ClientData instanceData, int mask, Tcl_Channel prevCh an)); /* 281 */ | |||
void (*tcl_UnstackChannel) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channe l chan)); /* 282 */ | int (*tcl_UnstackChannel) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channel chan)); /* 282 */ | |||
Tcl_Channel (*tcl_GetStackedChannel) _ANSI_ARGS_((Tcl_Channel chan)); / * 283 */ | Tcl_Channel (*tcl_GetStackedChannel) _ANSI_ARGS_((Tcl_Channel chan)); / * 283 */ | |||
void *reserved284; | void *reserved284; | |||
void *reserved285; | void *reserved285; | |||
void (*tcl_AppendObjToObj) _ANSI_ARGS_((Tcl_Obj * objPtr, Tcl_Obj * app endObjPtr)); /* 286 */ | void (*tcl_AppendObjToObj) _ANSI_ARGS_((Tcl_Obj * objPtr, Tcl_Obj * app endObjPtr)); /* 286 */ | |||
Tcl_Encoding (*tcl_CreateEncoding) _ANSI_ARGS_((Tcl_EncodingType * type Ptr)); /* 287 */ | Tcl_Encoding (*tcl_CreateEncoding) _ANSI_ARGS_((Tcl_EncodingType * type Ptr)); /* 287 */ | |||
void (*tcl_CreateThreadExitHandler) _ANSI_ARGS_((Tcl_ExitProc * proc, C lientData clientData)); /* 288 */ | void (*tcl_CreateThreadExitHandler) _ANSI_ARGS_((Tcl_ExitProc * proc, C lientData clientData)); /* 288 */ | |||
void (*tcl_DeleteThreadExitHandler) _ANSI_ARGS_((Tcl_ExitProc * proc, C lientData clientData)); /* 289 */ | void (*tcl_DeleteThreadExitHandler) _ANSI_ARGS_((Tcl_ExitProc * proc, C lientData clientData)); /* 289 */ | |||
void (*tcl_DiscardResult) _ANSI_ARGS_((Tcl_SavedResult * statePtr)); /* 290 */ | void (*tcl_DiscardResult) _ANSI_ARGS_((Tcl_SavedResult * statePtr)); /* 290 */ | |||
int (*tcl_EvalEx) _ANSI_ARGS_((Tcl_Interp * interp, char * script, int numBytes, int flags)); /* 291 */ | int (*tcl_EvalEx) _ANSI_ARGS_((Tcl_Interp * interp, char * script, int numBytes, int flags)); /* 291 */ | |||
int (*tcl_EvalObjv) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags)); /* 292 */ | int (*tcl_EvalObjv) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags)); /* 292 */ | |||
skipping to change at line 1692 | skipping to change at line 1744 | |||
void (*tcl_AppendUnicodeToObj) _ANSI_ARGS_((Tcl_Obj * objPtr, Tcl_UniCh ar * unicode, int length)); /* 384 */ | void (*tcl_AppendUnicodeToObj) _ANSI_ARGS_((Tcl_Obj * objPtr, Tcl_UniCh ar * unicode, int length)); /* 384 */ | |||
int (*tcl_RegExpMatchObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * s tringObj, Tcl_Obj * patternObj)); /* 385 */ | int (*tcl_RegExpMatchObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * s tringObj, Tcl_Obj * patternObj)); /* 385 */ | |||
void (*tcl_SetNotifier) _ANSI_ARGS_((Tcl_NotifierProcs * notifierProcPt r)); /* 386 */ | void (*tcl_SetNotifier) _ANSI_ARGS_((Tcl_NotifierProcs * notifierProcPt r)); /* 386 */ | |||
Tcl_Mutex * (*tcl_GetAllocMutex) _ANSI_ARGS_((void)); /* 387 */ | Tcl_Mutex * (*tcl_GetAllocMutex) _ANSI_ARGS_((void)); /* 387 */ | |||
int (*tcl_GetChannelNames) _ANSI_ARGS_((Tcl_Interp * interp)); /* 388 * / | int (*tcl_GetChannelNames) _ANSI_ARGS_((Tcl_Interp * interp)); /* 388 * / | |||
int (*tcl_GetChannelNamesEx) _ANSI_ARGS_((Tcl_Interp * interp, char * p attern)); /* 389 */ | int (*tcl_GetChannelNamesEx) _ANSI_ARGS_((Tcl_Interp * interp, char * p attern)); /* 389 */ | |||
int (*tcl_ProcObjCmd) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 390 */ | int (*tcl_ProcObjCmd) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 390 */ | |||
void (*tcl_ConditionFinalize) _ANSI_ARGS_((Tcl_Condition * condPtr)); / * 391 */ | void (*tcl_ConditionFinalize) _ANSI_ARGS_((Tcl_Condition * condPtr)); / * 391 */ | |||
void (*tcl_MutexFinalize) _ANSI_ARGS_((Tcl_Mutex * mutex)); /* 392 */ | void (*tcl_MutexFinalize) _ANSI_ARGS_((Tcl_Mutex * mutex)); /* 392 */ | |||
int (*tcl_CreateThread) _ANSI_ARGS_((Tcl_ThreadId * idPtr, Tcl_ThreadCr eateProc proc, ClientData clientData, int stackSize, int flags)); /* 393 */ | int (*tcl_CreateThread) _ANSI_ARGS_((Tcl_ThreadId * idPtr, Tcl_ThreadCr eateProc proc, ClientData clientData, int stackSize, int flags)); /* 393 */ | |||
int (*tcl_ReadRaw) _ANSI_ARGS_((Tcl_Channel chan, char * dst, int bytes | ||||
ToRead)); /* 394 */ | ||||
int (*tcl_WriteRaw) _ANSI_ARGS_((Tcl_Channel chan, char * src, int srcL | ||||
en)); /* 395 */ | ||||
Tcl_Channel (*tcl_GetTopChannel) _ANSI_ARGS_((Tcl_Channel chan)); /* 39 | ||||
6 */ | ||||
int (*tcl_ChannelBuffered) _ANSI_ARGS_((Tcl_Channel chan)); /* 397 */ | ||||
char * (*tcl_ChannelName) _ANSI_ARGS_((Tcl_ChannelType * chanTypePtr)); | ||||
/* 398 */ | ||||
Tcl_ChannelTypeVersion (*tcl_ChannelVersion) _ANSI_ARGS_((Tcl_ChannelTy | ||||
pe * chanTypePtr)); /* 399 */ | ||||
Tcl_DriverBlockModeProc * (*tcl_ChannelBlockModeProc) _ANSI_ARGS_((Tcl_ | ||||
ChannelType * chanTypePtr)); /* 400 */ | ||||
Tcl_DriverCloseProc * (*tcl_ChannelCloseProc) _ANSI_ARGS_((Tcl_ChannelT | ||||
ype * chanTypePtr)); /* 401 */ | ||||
Tcl_DriverClose2Proc * (*tcl_ChannelClose2Proc) _ANSI_ARGS_((Tcl_Channe | ||||
lType * chanTypePtr)); /* 402 */ | ||||
Tcl_DriverInputProc * (*tcl_ChannelInputProc) _ANSI_ARGS_((Tcl_ChannelT | ||||
ype * chanTypePtr)); /* 403 */ | ||||
Tcl_DriverOutputProc * (*tcl_ChannelOutputProc) _ANSI_ARGS_((Tcl_Channe | ||||
lType * chanTypePtr)); /* 404 */ | ||||
Tcl_DriverSeekProc * (*tcl_ChannelSeekProc) _ANSI_ARGS_((Tcl_ChannelTyp | ||||
e * chanTypePtr)); /* 405 */ | ||||
Tcl_DriverSetOptionProc * (*tcl_ChannelSetOptionProc) _ANSI_ARGS_((Tcl_ | ||||
ChannelType * chanTypePtr)); /* 406 */ | ||||
Tcl_DriverGetOptionProc * (*tcl_ChannelGetOptionProc) _ANSI_ARGS_((Tcl_ | ||||
ChannelType * chanTypePtr)); /* 407 */ | ||||
Tcl_DriverWatchProc * (*tcl_ChannelWatchProc) _ANSI_ARGS_((Tcl_ChannelT | ||||
ype * chanTypePtr)); /* 408 */ | ||||
Tcl_DriverGetHandleProc * (*tcl_ChannelGetHandleProc) _ANSI_ARGS_((Tcl_ | ||||
ChannelType * chanTypePtr)); /* 409 */ | ||||
Tcl_DriverFlushProc * (*tcl_ChannelFlushProc) _ANSI_ARGS_((Tcl_ChannelT | ||||
ype * chanTypePtr)); /* 410 */ | ||||
Tcl_DriverHandlerProc * (*tcl_ChannelHandlerProc) _ANSI_ARGS_((Tcl_Chan | ||||
nelType * chanTypePtr)); /* 411 */ | ||||
} TclStubs; | } TclStubs; | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
extern TclStubs *tclStubsPtr; | extern TclStubs *tclStubsPtr; | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
skipping to change at line 3313 | skipping to change at line 3383 | |||
(tclStubsPtr->tcl_ConditionFinalize) /* 391 */ | (tclStubsPtr->tcl_ConditionFinalize) /* 391 */ | |||
#endif | #endif | |||
#ifndef Tcl_MutexFinalize | #ifndef Tcl_MutexFinalize | |||
#define Tcl_MutexFinalize \ | #define Tcl_MutexFinalize \ | |||
(tclStubsPtr->tcl_MutexFinalize) /* 392 */ | (tclStubsPtr->tcl_MutexFinalize) /* 392 */ | |||
#endif | #endif | |||
#ifndef Tcl_CreateThread | #ifndef Tcl_CreateThread | |||
#define Tcl_CreateThread \ | #define Tcl_CreateThread \ | |||
(tclStubsPtr->tcl_CreateThread) /* 393 */ | (tclStubsPtr->tcl_CreateThread) /* 393 */ | |||
#endif | #endif | |||
#ifndef Tcl_ReadRaw | ||||
#define Tcl_ReadRaw \ | ||||
(tclStubsPtr->tcl_ReadRaw) /* 394 */ | ||||
#endif | ||||
#ifndef Tcl_WriteRaw | ||||
#define Tcl_WriteRaw \ | ||||
(tclStubsPtr->tcl_WriteRaw) /* 395 */ | ||||
#endif | ||||
#ifndef Tcl_GetTopChannel | ||||
#define Tcl_GetTopChannel \ | ||||
(tclStubsPtr->tcl_GetTopChannel) /* 396 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelBuffered | ||||
#define Tcl_ChannelBuffered \ | ||||
(tclStubsPtr->tcl_ChannelBuffered) /* 397 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelName | ||||
#define Tcl_ChannelName \ | ||||
(tclStubsPtr->tcl_ChannelName) /* 398 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelVersion | ||||
#define Tcl_ChannelVersion \ | ||||
(tclStubsPtr->tcl_ChannelVersion) /* 399 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelBlockModeProc | ||||
#define Tcl_ChannelBlockModeProc \ | ||||
(tclStubsPtr->tcl_ChannelBlockModeProc) /* 400 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelCloseProc | ||||
#define Tcl_ChannelCloseProc \ | ||||
(tclStubsPtr->tcl_ChannelCloseProc) /* 401 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelClose2Proc | ||||
#define Tcl_ChannelClose2Proc \ | ||||
(tclStubsPtr->tcl_ChannelClose2Proc) /* 402 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelInputProc | ||||
#define Tcl_ChannelInputProc \ | ||||
(tclStubsPtr->tcl_ChannelInputProc) /* 403 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelOutputProc | ||||
#define Tcl_ChannelOutputProc \ | ||||
(tclStubsPtr->tcl_ChannelOutputProc) /* 404 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelSeekProc | ||||
#define Tcl_ChannelSeekProc \ | ||||
(tclStubsPtr->tcl_ChannelSeekProc) /* 405 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelSetOptionProc | ||||
#define Tcl_ChannelSetOptionProc \ | ||||
(tclStubsPtr->tcl_ChannelSetOptionProc) /* 406 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelGetOptionProc | ||||
#define Tcl_ChannelGetOptionProc \ | ||||
(tclStubsPtr->tcl_ChannelGetOptionProc) /* 407 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelWatchProc | ||||
#define Tcl_ChannelWatchProc \ | ||||
(tclStubsPtr->tcl_ChannelWatchProc) /* 408 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelGetHandleProc | ||||
#define Tcl_ChannelGetHandleProc \ | ||||
(tclStubsPtr->tcl_ChannelGetHandleProc) /* 409 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelFlushProc | ||||
#define Tcl_ChannelFlushProc \ | ||||
(tclStubsPtr->tcl_ChannelFlushProc) /* 410 */ | ||||
#endif | ||||
#ifndef Tcl_ChannelHandlerProc | ||||
#define Tcl_ChannelHandlerProc \ | ||||
(tclStubsPtr->tcl_ChannelHandlerProc) /* 411 */ | ||||
#endif | ||||
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ | #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ | |||
/* !END!: Do not edit above this line. */ | /* !END!: Do not edit above this line. */ | |||
#endif /* _TCLDECLS */ | #endif /* _TCLDECLS */ | |||
End of changes. 6 change blocks. | ||||
3 lines changed or deleted | 162 lines changed or added | |||