59
59
Tcl_Pid * pidPtr, Tcl_Channel errorChan);
63
#ifndef TclCleanupChildren_TCL_DECLARED
64
#define TclCleanupChildren_TCL_DECLARED
66
EXTERN int TclCleanupChildren (Tcl_Interp * interp, int numPids,
67
Tcl_Pid * pidPtr, Tcl_Channel errorChan);
69
#endif /* __WIN32__ */
62
#ifdef __WIN32__ /* WIN */
63
#ifndef TclCleanupChildren_TCL_DECLARED
64
#define TclCleanupChildren_TCL_DECLARED
66
EXTERN int TclCleanupChildren (Tcl_Interp * interp, int numPids,
67
Tcl_Pid * pidPtr, Tcl_Channel errorChan);
70
#ifdef MAC_OSX_TCL /* MACOSX */
71
#ifndef TclCleanupChildren_TCL_DECLARED
72
#define TclCleanupChildren_TCL_DECLARED
74
EXTERN int TclCleanupChildren (Tcl_Interp * interp, int numPids,
75
Tcl_Pid * pidPtr, Tcl_Channel errorChan);
70
78
#ifndef TclCleanupCommand_TCL_DECLARED
71
79
#define TclCleanupCommand_TCL_DECLARED
85
93
Tcl_Channel inChan, Tcl_Channel outChan,
86
94
int toRead, Tcl_Obj * cmdPtr);
88
#if !defined(__WIN32__) /* UNIX */
96
#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
89
97
#ifndef TclCreatePipeline_TCL_DECLARED
90
98
#define TclCreatePipeline_TCL_DECLARED
95
103
TclFile * errFilePtr);
99
#ifndef TclCreatePipeline_TCL_DECLARED
100
#define TclCreatePipeline_TCL_DECLARED
102
EXTERN int TclCreatePipeline (Tcl_Interp * interp, int argc,
103
CONST char ** argv, Tcl_Pid ** pidArrayPtr,
104
TclFile * inPipePtr, TclFile * outPipePtr,
105
TclFile * errFilePtr);
107
#endif /* __WIN32__ */
106
#ifdef __WIN32__ /* WIN */
107
#ifndef TclCreatePipeline_TCL_DECLARED
108
#define TclCreatePipeline_TCL_DECLARED
110
EXTERN int TclCreatePipeline (Tcl_Interp * interp, int argc,
111
CONST char ** argv, Tcl_Pid ** pidArrayPtr,
112
TclFile * inPipePtr, TclFile * outPipePtr,
113
TclFile * errFilePtr);
116
#ifdef MAC_OSX_TCL /* MACOSX */
117
#ifndef TclCreatePipeline_TCL_DECLARED
118
#define TclCreatePipeline_TCL_DECLARED
120
EXTERN int TclCreatePipeline (Tcl_Interp * interp, int argc,
121
CONST char ** argv, Tcl_Pid ** pidArrayPtr,
122
TclFile * inPipePtr, TclFile * outPipePtr,
123
TclFile * errFilePtr);
108
126
#ifndef TclCreateProc_TCL_DECLARED
109
127
#define TclCreateProc_TCL_DECLARED
446
464
CONST char * str, CONST char * proto,
449
#if !defined(__WIN32__) /* UNIX */
467
#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
450
468
#ifndef TclSockMinimumBuffers_TCL_DECLARED
451
469
#define TclSockMinimumBuffers_TCL_DECLARED
453
471
EXTERN int TclSockMinimumBuffers (int sock, int size);
455
473
#endif /* UNIX */
457
#ifndef TclSockMinimumBuffers_TCL_DECLARED
458
#define TclSockMinimumBuffers_TCL_DECLARED
460
EXTERN int TclSockMinimumBuffers (int sock, int size);
462
#endif /* __WIN32__ */
474
#ifdef __WIN32__ /* WIN */
475
#ifndef TclSockMinimumBuffers_TCL_DECLARED
476
#define TclSockMinimumBuffers_TCL_DECLARED
478
EXTERN int TclSockMinimumBuffers (int sock, int size);
481
#ifdef MAC_OSX_TCL /* MACOSX */
482
#ifndef TclSockMinimumBuffers_TCL_DECLARED
483
#define TclSockMinimumBuffers_TCL_DECLARED
485
EXTERN int TclSockMinimumBuffers (int sock, int size);
463
488
/* Slot 105 is reserved */
464
489
/* Slot 106 is reserved */
465
490
/* Slot 107 is reserved */
1057
1082
EXTERN void TclBackgroundException (Tcl_Interp * interp,
1060
#ifndef TclByteArrayMatch_TCL_DECLARED
1061
#define TclByteArrayMatch_TCL_DECLARED
1063
EXTERN int TclByteArrayMatch (const unsigned char * string,
1064
int strLen, const unsigned char * pattern,
1067
#ifndef TclReToGlob_TCL_DECLARED
1068
#define TclReToGlob_TCL_DECLARED
1070
EXTERN int TclReToGlob (Tcl_Interp * interp, const char * reStr,
1071
int reStrLen, Tcl_DString * dsPtr,
1075
1086
typedef struct TclIntStubs {
1081
1092
void *reserved2;
1082
1093
void (*tclAllocateFreeObjects) (void); /* 3 */
1083
1094
void *reserved4;
1084
#if !defined(__WIN32__) /* UNIX */
1095
#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
1085
1096
int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */
1086
1097
#endif /* UNIX */
1088
int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */
1089
#endif /* __WIN32__ */
1098
#ifdef __WIN32__ /* WIN */
1099
int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */
1101
#ifdef MAC_OSX_TCL /* MACOSX */
1102
int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */
1090
1104
void (*tclCleanupCommand) (Command * cmdPtr); /* 6 */
1091
1105
int (*tclCopyAndCollapse) (int count, CONST char * src, char * dst); /* 7 */
1092
1106
int (*tclCopyChannel) (Tcl_Interp * interp, Tcl_Channel inChan, Tcl_Channel outChan, int toRead, Tcl_Obj * cmdPtr); /* 8 */
1093
#if !defined(__WIN32__) /* UNIX */
1107
#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
1094
1108
int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */
1095
1109
#endif /* UNIX */
1097
int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */
1098
#endif /* __WIN32__ */
1110
#ifdef __WIN32__ /* WIN */
1111
int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */
1113
#ifdef MAC_OSX_TCL /* MACOSX */
1114
int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */
1099
1116
int (*tclCreateProc) (Tcl_Interp * interp, Namespace * nsPtr, CONST char * procName, Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, Proc ** procPtrPtr); /* 10 */
1100
1117
void (*tclDeleteCompiledLocalVars) (Interp * iPtr, CallFrame * framePtr); /* 11 */
1101
1118
void (*tclDeleteVars) (Interp * iPtr, TclVarHashTable * tablePtr); /* 12 */
1190
1207
char * (*tclSetPreInitScript) (char * string); /* 101 */
1191
1208
void (*tclSetupEnv) (Tcl_Interp * interp); /* 102 */
1192
1209
int (*tclSockGetPort) (Tcl_Interp * interp, CONST char * str, CONST char * proto, int * portPtr); /* 103 */
1193
#if !defined(__WIN32__) /* UNIX */
1210
#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
1194
1211
int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */
1195
1212
#endif /* UNIX */
1197
int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */
1198
#endif /* __WIN32__ */
1213
#ifdef __WIN32__ /* WIN */
1214
int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */
1216
#ifdef MAC_OSX_TCL /* MACOSX */
1217
int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */
1199
1219
void *reserved105;
1200
1220
void *reserved106;
1201
1221
void *reserved107;
1264
1284
int (*tclCheckInterpTraces) (Tcl_Interp * interp, CONST char * command, int numChars, Command * cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *CONST objv[]); /* 170 */
1265
1285
int (*tclCheckExecutionTraces) (Tcl_Interp * interp, CONST char * command, int numChars, Command * cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *CONST objv[]); /* 171 */
1266
1286
int (*tclInThreadExit) (void); /* 172 */
1267
int (*tclUniCharMatch) (CONST Tcl_UniChar * string, int strLen, CONST Tcl_UniChar * pattern, int ptnLen, int nocase); /* 173 */
1287
int (*tclUniCharMatch) (CONST Tcl_UniChar * string, int strLen, CONST Tcl_UniChar * pattern, int ptnLen, int flags); /* 173 */
1268
1288
void *reserved174;
1269
1289
int (*tclCallVarTraces) (Interp * iPtr, Var * arrayPtr, Var * varPtr, CONST char * part1, CONST char * part2, int flags, int leaveErrMsg); /* 175 */
1270
1290
void (*tclCleanupVar) (Var * varPtr, Var * arrayPtr); /* 176 */
1328
1348
Var * (*tclVarHashCreateVar) (TclVarHashTable * tablePtr, const char * key, int * newPtr); /* 234 */
1329
1349
void (*tclInitVarHashTable) (TclVarHashTable * tablePtr, Namespace * nsPtr); /* 235 */
1330
1350
void (*tclBackgroundException) (Tcl_Interp * interp, int code); /* 236 */
1331
int (*tclByteArrayMatch) (const unsigned char * string, int strLen, const unsigned char * pattern, int ptnLen); /* 237 */
1332
int (*tclReToGlob) (Tcl_Interp * interp, const char * reStr, int reStrLen, Tcl_DString * dsPtr, int * exactPtr); /* 238 */
1335
1353
#ifdef __cplusplus
1354
1372
(tclIntStubsPtr->tclAllocateFreeObjects) /* 3 */
1356
1374
/* Slot 4 is reserved */
1357
#if !defined(__WIN32__) /* UNIX */
1375
#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
1358
1376
#ifndef TclCleanupChildren
1359
1377
#define TclCleanupChildren \
1360
1378
(tclIntStubsPtr->tclCleanupChildren) /* 5 */
1362
1380
#endif /* UNIX */
1364
#ifndef TclCleanupChildren
1365
#define TclCleanupChildren \
1366
(tclIntStubsPtr->tclCleanupChildren) /* 5 */
1368
#endif /* __WIN32__ */
1381
#ifdef __WIN32__ /* WIN */
1382
#ifndef TclCleanupChildren
1383
#define TclCleanupChildren \
1384
(tclIntStubsPtr->tclCleanupChildren) /* 5 */
1387
#ifdef MAC_OSX_TCL /* MACOSX */
1388
#ifndef TclCleanupChildren
1389
#define TclCleanupChildren \
1390
(tclIntStubsPtr->tclCleanupChildren) /* 5 */
1369
1393
#ifndef TclCleanupCommand
1370
1394
#define TclCleanupCommand \
1371
1395
(tclIntStubsPtr->tclCleanupCommand) /* 6 */
1378
1402
#define TclCopyChannel \
1379
1403
(tclIntStubsPtr->tclCopyChannel) /* 8 */
1381
#if !defined(__WIN32__) /* UNIX */
1405
#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
1382
1406
#ifndef TclCreatePipeline
1383
1407
#define TclCreatePipeline \
1384
1408
(tclIntStubsPtr->tclCreatePipeline) /* 9 */
1386
1410
#endif /* UNIX */
1388
#ifndef TclCreatePipeline
1389
#define TclCreatePipeline \
1390
(tclIntStubsPtr->tclCreatePipeline) /* 9 */
1392
#endif /* __WIN32__ */
1411
#ifdef __WIN32__ /* WIN */
1412
#ifndef TclCreatePipeline
1413
#define TclCreatePipeline \
1414
(tclIntStubsPtr->tclCreatePipeline) /* 9 */
1417
#ifdef MAC_OSX_TCL /* MACOSX */
1418
#ifndef TclCreatePipeline
1419
#define TclCreatePipeline \
1420
(tclIntStubsPtr->tclCreatePipeline) /* 9 */
1393
1423
#ifndef TclCreateProc
1394
1424
#define TclCreateProc \
1395
1425
(tclIntStubsPtr->tclCreateProc) /* 10 */
1637
1667
#define TclSockGetPort \
1638
1668
(tclIntStubsPtr->tclSockGetPort) /* 103 */
1640
#if !defined(__WIN32__) /* UNIX */
1670
#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
1641
1671
#ifndef TclSockMinimumBuffers
1642
1672
#define TclSockMinimumBuffers \
1643
1673
(tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */
1645
1675
#endif /* UNIX */
1647
#ifndef TclSockMinimumBuffers
1648
#define TclSockMinimumBuffers \
1649
(tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */
1651
#endif /* __WIN32__ */
1676
#ifdef __WIN32__ /* WIN */
1677
#ifndef TclSockMinimumBuffers
1678
#define TclSockMinimumBuffers \
1679
(tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */
1682
#ifdef MAC_OSX_TCL /* MACOSX */
1683
#ifndef TclSockMinimumBuffers
1684
#define TclSockMinimumBuffers \
1685
(tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */
1652
1688
/* Slot 105 is reserved */
1653
1689
/* Slot 106 is reserved */
1654
1690
/* Slot 107 is reserved */
2063
2099
#define TclBackgroundException \
2064
2100
(tclIntStubsPtr->tclBackgroundException) /* 236 */
2066
#ifndef TclByteArrayMatch
2067
#define TclByteArrayMatch \
2068
(tclIntStubsPtr->tclByteArrayMatch) /* 237 */
2071
#define TclReToGlob \
2072
(tclIntStubsPtr->tclReToGlob) /* 238 */
2075
2103
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */