sl@0
|
1 |
/*
|
sl@0
|
2 |
* tclIntPlatDecls.h --
|
sl@0
|
3 |
*
|
sl@0
|
4 |
* This file contains the declarations for all platform dependent
|
sl@0
|
5 |
* unsupported functions that are exported by the Tcl library. These
|
sl@0
|
6 |
* interfaces are not guaranteed to remain the same between
|
sl@0
|
7 |
* versions. Use at your own risk.
|
sl@0
|
8 |
*
|
sl@0
|
9 |
* Copyright (c) 1998-1999 by Scriptics Corporation.
|
sl@0
|
10 |
* All rights reserved.
|
sl@0
|
11 |
* Portions Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiaries. All rights reserved.
|
sl@0
|
12 |
*
|
sl@0
|
13 |
* RCS: @(#) $Id: tclIntPlatDecls.h,v 1.19.2.7 2007/04/21 19:52:14 kennykb Exp $
|
sl@0
|
14 |
*/
|
sl@0
|
15 |
|
sl@0
|
16 |
#ifndef _TCLINTPLATDECLS
|
sl@0
|
17 |
#define _TCLINTPLATDECLS
|
sl@0
|
18 |
|
sl@0
|
19 |
/*
|
sl@0
|
20 |
* WARNING: This file is automatically generated by the tools/genStubs.tcl
|
sl@0
|
21 |
* script. Any modifications to the function declarations below should be made
|
sl@0
|
22 |
* in the generic/tclInt.decls script.
|
sl@0
|
23 |
*/
|
sl@0
|
24 |
|
sl@0
|
25 |
/* !BEGIN!: Do not edit below this line. */
|
sl@0
|
26 |
|
sl@0
|
27 |
/*
|
sl@0
|
28 |
* Exported function declarations:
|
sl@0
|
29 |
*/
|
sl@0
|
30 |
|
sl@0
|
31 |
#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
|
sl@0
|
32 |
/* 0 */
|
sl@0
|
33 |
EXTERN void TclGetAndDetachPids _ANSI_ARGS_((Tcl_Interp * interp,
|
sl@0
|
34 |
Tcl_Channel chan));
|
sl@0
|
35 |
/* 1 */
|
sl@0
|
36 |
EXTERN int TclpCloseFile _ANSI_ARGS_((TclFile file));
|
sl@0
|
37 |
/* 2 */
|
sl@0
|
38 |
EXTERN Tcl_Channel TclpCreateCommandChannel _ANSI_ARGS_((
|
sl@0
|
39 |
TclFile readFile, TclFile writeFile,
|
sl@0
|
40 |
TclFile errorFile, int numPids,
|
sl@0
|
41 |
Tcl_Pid * pidPtr));
|
sl@0
|
42 |
/* 3 */
|
sl@0
|
43 |
EXTERN int TclpCreatePipe _ANSI_ARGS_((TclFile * readPipe,
|
sl@0
|
44 |
TclFile * writePipe));
|
sl@0
|
45 |
/* 4 */
|
sl@0
|
46 |
EXTERN int TclpCreateProcess _ANSI_ARGS_((Tcl_Interp * interp,
|
sl@0
|
47 |
int argc, CONST char ** argv,
|
sl@0
|
48 |
TclFile inputFile, TclFile outputFile,
|
sl@0
|
49 |
TclFile errorFile, Tcl_Pid * pidPtr));
|
sl@0
|
50 |
/* Slot 5 is reserved */
|
sl@0
|
51 |
/* 6 */
|
sl@0
|
52 |
EXTERN TclFile TclpMakeFile _ANSI_ARGS_((Tcl_Channel channel,
|
sl@0
|
53 |
int direction));
|
sl@0
|
54 |
/* 7 */
|
sl@0
|
55 |
EXTERN TclFile TclpOpenFile _ANSI_ARGS_((CONST char * fname,
|
sl@0
|
56 |
int mode));
|
sl@0
|
57 |
/* 8 */
|
sl@0
|
58 |
EXTERN int TclUnixWaitForFile _ANSI_ARGS_((int fd, int mask,
|
sl@0
|
59 |
int timeout));
|
sl@0
|
60 |
/* 9 */
|
sl@0
|
61 |
EXTERN TclFile TclpCreateTempFile _ANSI_ARGS_((
|
sl@0
|
62 |
CONST char * contents));
|
sl@0
|
63 |
/* 10 */
|
sl@0
|
64 |
EXTERN Tcl_DirEntry * TclpReaddir _ANSI_ARGS_((DIR * dir));
|
sl@0
|
65 |
/* 11 */
|
sl@0
|
66 |
EXTERN struct tm * TclpLocaltime_unix _ANSI_ARGS_((
|
sl@0
|
67 |
TclpTime_t_CONST clock));
|
sl@0
|
68 |
/* 12 */
|
sl@0
|
69 |
EXTERN struct tm * TclpGmtime_unix _ANSI_ARGS_((TclpTime_t_CONST clock));
|
sl@0
|
70 |
/* 13 */
|
sl@0
|
71 |
EXTERN char * TclpInetNtoa _ANSI_ARGS_((struct in_addr addr));
|
sl@0
|
72 |
#ifdef __SYMBIAN32__
|
sl@0
|
73 |
|
sl@0
|
74 |
#ifdef __WINSCW__
|
sl@0
|
75 |
/* 16 */
|
sl@0
|
76 |
EXTERN void* get_gFileName _ANSI_ARGS_((int index));
|
sl@0
|
77 |
/* 17 */
|
sl@0
|
78 |
EXTERN char** get_tclExecutableName _ANSI_ARGS_(());
|
sl@0
|
79 |
/* 18 */
|
sl@0
|
80 |
EXTERN char** get_tclNativeExecutableName _ANSI_ARGS_(());
|
sl@0
|
81 |
/* 19 */
|
sl@0
|
82 |
EXTERN void** get_dataKey _ANSI_ARGS_((int index));
|
sl@0
|
83 |
/* 20 */
|
sl@0
|
84 |
EXTERN void* get_inFinalize _ANSI_ARGS_(());
|
sl@0
|
85 |
/* 21 */
|
sl@0
|
86 |
EXTERN void* get_subsystemsInitialized _ANSI_ARGS_(());
|
sl@0
|
87 |
/* 22 */
|
sl@0
|
88 |
EXTERN void** get_allocHead _ANSI_ARGS_(());
|
sl@0
|
89 |
/* 23 */
|
sl@0
|
90 |
EXTERN void** get_defaultEncoding _ANSI_ARGS_(());
|
sl@0
|
91 |
/* 24 */
|
sl@0
|
92 |
EXTERN void** get_systemEncoding _ANSI_ARGS_(());
|
sl@0
|
93 |
/* 25 */
|
sl@0
|
94 |
EXTERN void* get_encodingTable _ANSI_ARGS_(());
|
sl@0
|
95 |
/* 26 */
|
sl@0
|
96 |
EXTERN void* get_keyRecord _ANSI_ARGS_(());
|
sl@0
|
97 |
/* 27 */
|
sl@0
|
98 |
EXTERN void* get_typeTable _ANSI_ARGS_(());
|
sl@0
|
99 |
/* 28 */
|
sl@0
|
100 |
EXTERN void* get_typeTableInitialized _ANSI_ARGS_(());
|
sl@0
|
101 |
/* 29 */
|
sl@0
|
102 |
EXTERN void* get_encodingsInitialized _ANSI_ARGS_(());
|
sl@0
|
103 |
/* 30 */
|
sl@0
|
104 |
EXTERN char** get_tclDefaultEncodingDir _ANSI_ARGS_(());
|
sl@0
|
105 |
/* 31 */
|
sl@0
|
106 |
EXTERN char** get_tclLibraryPathStr _ANSI_ARGS_(());
|
sl@0
|
107 |
/* 32 */
|
sl@0
|
108 |
EXTERN void* get_opTableInitialized _ANSI_ARGS_(());
|
sl@0
|
109 |
/* 33 */
|
sl@0
|
110 |
EXTERN void* get_opHashTable _ANSI_ARGS_(());
|
sl@0
|
111 |
/* 34 */
|
sl@0
|
112 |
EXTERN void* get_auxDataTypeTableInitialized _ANSI_ARGS_(());
|
sl@0
|
113 |
/* 35 */
|
sl@0
|
114 |
EXTERN void* get_auxDataTypeTable _ANSI_ARGS_(());
|
sl@0
|
115 |
/* 36 */
|
sl@0
|
116 |
EXTERN void** get_cwdPathPtr _ANSI_ARGS_(());
|
sl@0
|
117 |
/* 37 */
|
sl@0
|
118 |
EXTERN void* get_cwdPathEpoch _ANSI_ARGS_(());
|
sl@0
|
119 |
/* 38 */
|
sl@0
|
120 |
EXTERN void** get_refArray _ANSI_ARGS_(());
|
sl@0
|
121 |
/* 39 */
|
sl@0
|
122 |
EXTERN void* get_spaceAvl _ANSI_ARGS_(());
|
sl@0
|
123 |
/* 40 */
|
sl@0
|
124 |
EXTERN void* get_inUse _ANSI_ARGS_(());
|
sl@0
|
125 |
/* 41 */
|
sl@0
|
126 |
EXTERN void TclpExit _ANSI_ARGS_((int status));
|
sl@0
|
127 |
/* 42 */
|
sl@0
|
128 |
EXTERN void* get_tclPlatform _ANSI_ARGS_(());
|
sl@0
|
129 |
/* 43 */
|
sl@0
|
130 |
EXTERN void** get_firstNotifierPtr _ANSI_ARGS_(());
|
sl@0
|
131 |
#endif /* __WINSCW__ */
|
sl@0
|
132 |
#endif /* __SYMBIAN32__ */
|
sl@0
|
133 |
#endif /* UNIX */
|
sl@0
|
134 |
#ifdef __WIN32__
|
sl@0
|
135 |
/* 0 */
|
sl@0
|
136 |
EXTERN void TclWinConvertError _ANSI_ARGS_((DWORD errCode));
|
sl@0
|
137 |
/* 1 */
|
sl@0
|
138 |
EXTERN void TclWinConvertWSAError _ANSI_ARGS_((DWORD errCode));
|
sl@0
|
139 |
/* 2 */
|
sl@0
|
140 |
EXTERN struct servent * TclWinGetServByName _ANSI_ARGS_((CONST char * nm,
|
sl@0
|
141 |
CONST char * proto));
|
sl@0
|
142 |
/* 3 */
|
sl@0
|
143 |
EXTERN int TclWinGetSockOpt _ANSI_ARGS_((SOCKET s, int level,
|
sl@0
|
144 |
int optname, char FAR * optval,
|
sl@0
|
145 |
int FAR * optlen));
|
sl@0
|
146 |
/* 4 */
|
sl@0
|
147 |
EXTERN HINSTANCE TclWinGetTclInstance _ANSI_ARGS_((void));
|
sl@0
|
148 |
/* Slot 5 is reserved */
|
sl@0
|
149 |
/* 6 */
|
sl@0
|
150 |
EXTERN u_short TclWinNToHS _ANSI_ARGS_((u_short ns));
|
sl@0
|
151 |
/* 7 */
|
sl@0
|
152 |
EXTERN int TclWinSetSockOpt _ANSI_ARGS_((SOCKET s, int level,
|
sl@0
|
153 |
int optname, CONST char FAR * optval,
|
sl@0
|
154 |
int optlen));
|
sl@0
|
155 |
/* 8 */
|
sl@0
|
156 |
EXTERN unsigned long TclpGetPid _ANSI_ARGS_((Tcl_Pid pid));
|
sl@0
|
157 |
/* 9 */
|
sl@0
|
158 |
EXTERN int TclWinGetPlatformId _ANSI_ARGS_((void));
|
sl@0
|
159 |
/* Slot 10 is reserved */
|
sl@0
|
160 |
/* 11 */
|
sl@0
|
161 |
EXTERN void TclGetAndDetachPids _ANSI_ARGS_((Tcl_Interp * interp,
|
sl@0
|
162 |
Tcl_Channel chan));
|
sl@0
|
163 |
/* 12 */
|
sl@0
|
164 |
EXTERN int TclpCloseFile _ANSI_ARGS_((TclFile file));
|
sl@0
|
165 |
/* 13 */
|
sl@0
|
166 |
EXTERN Tcl_Channel TclpCreateCommandChannel _ANSI_ARGS_((
|
sl@0
|
167 |
TclFile readFile, TclFile writeFile,
|
sl@0
|
168 |
TclFile errorFile, int numPids,
|
sl@0
|
169 |
Tcl_Pid * pidPtr));
|
sl@0
|
170 |
/* 14 */
|
sl@0
|
171 |
EXTERN int TclpCreatePipe _ANSI_ARGS_((TclFile * readPipe,
|
sl@0
|
172 |
TclFile * writePipe));
|
sl@0
|
173 |
/* 15 */
|
sl@0
|
174 |
EXTERN int TclpCreateProcess _ANSI_ARGS_((Tcl_Interp * interp,
|
sl@0
|
175 |
int argc, CONST char ** argv,
|
sl@0
|
176 |
TclFile inputFile, TclFile outputFile,
|
sl@0
|
177 |
TclFile errorFile, Tcl_Pid * pidPtr));
|
sl@0
|
178 |
/* Slot 16 is reserved */
|
sl@0
|
179 |
/* Slot 17 is reserved */
|
sl@0
|
180 |
/* 18 */
|
sl@0
|
181 |
EXTERN TclFile TclpMakeFile _ANSI_ARGS_((Tcl_Channel channel,
|
sl@0
|
182 |
int direction));
|
sl@0
|
183 |
/* 19 */
|
sl@0
|
184 |
EXTERN TclFile TclpOpenFile _ANSI_ARGS_((CONST char * fname,
|
sl@0
|
185 |
int mode));
|
sl@0
|
186 |
/* 20 */
|
sl@0
|
187 |
EXTERN void TclWinAddProcess _ANSI_ARGS_((HANDLE hProcess,
|
sl@0
|
188 |
DWORD id));
|
sl@0
|
189 |
/* Slot 21 is reserved */
|
sl@0
|
190 |
/* 22 */
|
sl@0
|
191 |
EXTERN TclFile TclpCreateTempFile _ANSI_ARGS_((
|
sl@0
|
192 |
CONST char * contents));
|
sl@0
|
193 |
/* 23 */
|
sl@0
|
194 |
EXTERN char * TclpGetTZName _ANSI_ARGS_((int isdst));
|
sl@0
|
195 |
/* 24 */
|
sl@0
|
196 |
EXTERN char * TclWinNoBackslash _ANSI_ARGS_((char * path));
|
sl@0
|
197 |
/* 25 */
|
sl@0
|
198 |
EXTERN TclPlatformType * TclWinGetPlatform _ANSI_ARGS_((void));
|
sl@0
|
199 |
/* 26 */
|
sl@0
|
200 |
EXTERN void TclWinSetInterfaces _ANSI_ARGS_((int wide));
|
sl@0
|
201 |
/* 27 */
|
sl@0
|
202 |
EXTERN void TclWinFlushDirtyChannels _ANSI_ARGS_((void));
|
sl@0
|
203 |
/* 28 */
|
sl@0
|
204 |
EXTERN void TclWinResetInterfaces _ANSI_ARGS_((void));
|
sl@0
|
205 |
/* 29 */
|
sl@0
|
206 |
EXTERN int TclWinCPUID _ANSI_ARGS_((unsigned int index,
|
sl@0
|
207 |
unsigned int * regs));
|
sl@0
|
208 |
#endif /* __WIN32__ */
|
sl@0
|
209 |
#ifdef MAC_TCL
|
sl@0
|
210 |
/* 0 */
|
sl@0
|
211 |
EXTERN VOID * TclpSysAlloc _ANSI_ARGS_((long size, int isBin));
|
sl@0
|
212 |
/* 1 */
|
sl@0
|
213 |
EXTERN void TclpSysFree _ANSI_ARGS_((VOID * ptr));
|
sl@0
|
214 |
/* 2 */
|
sl@0
|
215 |
EXTERN VOID * TclpSysRealloc _ANSI_ARGS_((VOID * cp,
|
sl@0
|
216 |
unsigned int size));
|
sl@0
|
217 |
/* 3 */
|
sl@0
|
218 |
EXTERN void TclpExit _ANSI_ARGS_((int status));
|
sl@0
|
219 |
/* 4 */
|
sl@0
|
220 |
EXTERN int FSpGetDefaultDir _ANSI_ARGS_((FSSpecPtr theSpec));
|
sl@0
|
221 |
/* 5 */
|
sl@0
|
222 |
EXTERN int FSpSetDefaultDir _ANSI_ARGS_((FSSpecPtr theSpec));
|
sl@0
|
223 |
/* 6 */
|
sl@0
|
224 |
EXTERN OSErr FSpFindFolder _ANSI_ARGS_((short vRefNum,
|
sl@0
|
225 |
OSType folderType, Boolean createFolder,
|
sl@0
|
226 |
FSSpec * spec));
|
sl@0
|
227 |
/* 7 */
|
sl@0
|
228 |
EXTERN void GetGlobalMouseTcl _ANSI_ARGS_((Point * mouse));
|
sl@0
|
229 |
/* 8 */
|
sl@0
|
230 |
EXTERN pascal OSErr FSpGetDirectoryIDTcl _ANSI_ARGS_((
|
sl@0
|
231 |
CONST FSSpec * spec, long * theDirID,
|
sl@0
|
232 |
Boolean * isDirectory));
|
sl@0
|
233 |
/* 9 */
|
sl@0
|
234 |
EXTERN pascal short FSpOpenResFileCompatTcl _ANSI_ARGS_((
|
sl@0
|
235 |
CONST FSSpec * spec, SignedByte permission));
|
sl@0
|
236 |
/* 10 */
|
sl@0
|
237 |
EXTERN pascal void FSpCreateResFileCompatTcl _ANSI_ARGS_((
|
sl@0
|
238 |
CONST FSSpec * spec, OSType creator,
|
sl@0
|
239 |
OSType fileType, ScriptCode scriptTag));
|
sl@0
|
240 |
/* 11 */
|
sl@0
|
241 |
EXTERN int FSpLocationFromPath _ANSI_ARGS_((int length,
|
sl@0
|
242 |
CONST char * path, FSSpecPtr theSpec));
|
sl@0
|
243 |
/* 12 */
|
sl@0
|
244 |
EXTERN OSErr FSpPathFromLocation _ANSI_ARGS_((FSSpecPtr theSpec,
|
sl@0
|
245 |
int * length, Handle * fullPath));
|
sl@0
|
246 |
/* 13 */
|
sl@0
|
247 |
EXTERN void TclMacExitHandler _ANSI_ARGS_((void));
|
sl@0
|
248 |
/* 14 */
|
sl@0
|
249 |
EXTERN void TclMacInitExitToShell _ANSI_ARGS_((int usePatch));
|
sl@0
|
250 |
/* 15 */
|
sl@0
|
251 |
EXTERN OSErr TclMacInstallExitToShellPatch _ANSI_ARGS_((
|
sl@0
|
252 |
ExitToShellProcPtr newProc));
|
sl@0
|
253 |
/* 16 */
|
sl@0
|
254 |
EXTERN int TclMacOSErrorToPosixError _ANSI_ARGS_((int error));
|
sl@0
|
255 |
/* 17 */
|
sl@0
|
256 |
EXTERN void TclMacRemoveTimer _ANSI_ARGS_((void * timerToken));
|
sl@0
|
257 |
/* 18 */
|
sl@0
|
258 |
EXTERN void * TclMacStartTimer _ANSI_ARGS_((long ms));
|
sl@0
|
259 |
/* 19 */
|
sl@0
|
260 |
EXTERN int TclMacTimerExpired _ANSI_ARGS_((void * timerToken));
|
sl@0
|
261 |
/* 20 */
|
sl@0
|
262 |
EXTERN int TclMacRegisterResourceFork _ANSI_ARGS_((
|
sl@0
|
263 |
short fileRef, Tcl_Obj * tokenPtr,
|
sl@0
|
264 |
int insert));
|
sl@0
|
265 |
/* 21 */
|
sl@0
|
266 |
EXTERN short TclMacUnRegisterResourceFork _ANSI_ARGS_((
|
sl@0
|
267 |
char * tokenPtr, Tcl_Obj * resultPtr));
|
sl@0
|
268 |
/* 22 */
|
sl@0
|
269 |
EXTERN int TclMacCreateEnv _ANSI_ARGS_((void));
|
sl@0
|
270 |
/* 23 */
|
sl@0
|
271 |
EXTERN FILE * TclMacFOpenHack _ANSI_ARGS_((CONST char * path,
|
sl@0
|
272 |
CONST char * mode));
|
sl@0
|
273 |
/* 24 */
|
sl@0
|
274 |
EXTERN char * TclpGetTZName _ANSI_ARGS_((int isdst));
|
sl@0
|
275 |
/* 25 */
|
sl@0
|
276 |
EXTERN int TclMacChmod _ANSI_ARGS_((CONST char * path, int mode));
|
sl@0
|
277 |
/* 26 */
|
sl@0
|
278 |
EXTERN int FSpLLocationFromPath _ANSI_ARGS_((int length,
|
sl@0
|
279 |
CONST char * path, FSSpecPtr theSpec));
|
sl@0
|
280 |
#endif /* MAC_TCL */
|
sl@0
|
281 |
|
sl@0
|
282 |
typedef struct TclIntPlatStubs {
|
sl@0
|
283 |
int magic;
|
sl@0
|
284 |
struct TclIntPlatStubHooks *hooks;
|
sl@0
|
285 |
|
sl@0
|
286 |
#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
|
sl@0
|
287 |
void (*tclGetAndDetachPids) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channel chan)); /* 0 */
|
sl@0
|
288 |
int (*tclpCloseFile) _ANSI_ARGS_((TclFile file)); /* 1 */
|
sl@0
|
289 |
Tcl_Channel (*tclpCreateCommandChannel) _ANSI_ARGS_((TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid * pidPtr)); /* 2 */
|
sl@0
|
290 |
int (*tclpCreatePipe) _ANSI_ARGS_((TclFile * readPipe, TclFile * writePipe)); /* 3 */
|
sl@0
|
291 |
int (*tclpCreateProcess) _ANSI_ARGS_((Tcl_Interp * interp, int argc, CONST char ** argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid * pidPtr)); /* 4 */
|
sl@0
|
292 |
void *reserved5;
|
sl@0
|
293 |
TclFile (*tclpMakeFile) _ANSI_ARGS_((Tcl_Channel channel, int direction)); /* 6 */
|
sl@0
|
294 |
TclFile (*tclpOpenFile) _ANSI_ARGS_((CONST char * fname, int mode)); /* 7 */
|
sl@0
|
295 |
int (*tclUnixWaitForFile) _ANSI_ARGS_((int fd, int mask, int timeout)); /* 8 */
|
sl@0
|
296 |
TclFile (*tclpCreateTempFile) _ANSI_ARGS_((CONST char * contents)); /* 9 */
|
sl@0
|
297 |
Tcl_DirEntry * (*tclpReaddir) _ANSI_ARGS_((DIR * dir)); /* 10 */
|
sl@0
|
298 |
struct tm * (*tclpLocaltime_unix) _ANSI_ARGS_((TclpTime_t_CONST clock)); /* 11 */
|
sl@0
|
299 |
struct tm * (*tclpGmtime_unix) _ANSI_ARGS_((TclpTime_t_CONST clock)); /* 12 */
|
sl@0
|
300 |
char * (*tclpInetNtoa) _ANSI_ARGS_((struct in_addr addr)); /* 13 */
|
sl@0
|
301 |
#ifdef __SYMBIAN32__
|
sl@0
|
302 |
int (*ChildProcessInit) _ANSI_ARGS_((int *argc, char ***argv));/* 14 */
|
sl@0
|
303 |
void (*ChildProcessCleanup) _ANSI_ARGS_((int isChildProcess, int argc, char **argv)); /* 15 */
|
sl@0
|
304 |
#ifdef __WINSCW__
|
sl@0
|
305 |
void* (*get_gFileName) _ANSI_ARGS_((int index)); /* 16 */
|
sl@0
|
306 |
char** (*get_tclExecutableName) _ANSI_ARGS_(()); /* 17 */
|
sl@0
|
307 |
char** (*get_tclNativeExecutableName) _ANSI_ARGS_(()); /* 18 */
|
sl@0
|
308 |
void** (*get_dataKey) _ANSI_ARGS_((int index)); /* 19 */
|
sl@0
|
309 |
void* (*get_inFinalize) _ANSI_ARGS_(()); /* 20 */
|
sl@0
|
310 |
void* (*get_subsystemsInitialized) _ANSI_ARGS_(()); /* 21 */
|
sl@0
|
311 |
void** (*get_allocHead) _ANSI_ARGS_(()); /* 22 */
|
sl@0
|
312 |
void** (*get_defaultEncoding) _ANSI_ARGS_(()); /* 23 */
|
sl@0
|
313 |
void** (*get_systemEncoding) _ANSI_ARGS_(()); /* 24 */
|
sl@0
|
314 |
void* (*get_encodingTable) _ANSI_ARGS_(()); /* 25 */
|
sl@0
|
315 |
void* (*get_keyRecord) _ANSI_ARGS_(()); /* 26 */
|
sl@0
|
316 |
void* (*get_typeTable) _ANSI_ARGS_(()); /* 27 */
|
sl@0
|
317 |
void* (*get_typeTableInitialized) _ANSI_ARGS_(()); /* 28 */
|
sl@0
|
318 |
void* (*get_encodingsInitialized) _ANSI_ARGS_(()); /* 29 */
|
sl@0
|
319 |
char** (*get_tclDefaultEncodingDir) _ANSI_ARGS_(()); /* 30 */
|
sl@0
|
320 |
char** (*get_tclLibraryPathStr) _ANSI_ARGS_(()); /* 31 */
|
sl@0
|
321 |
void* (*get_opTableInitialized) _ANSI_ARGS_(()); /* 32 */
|
sl@0
|
322 |
void* (*get_opHashTable) _ANSI_ARGS_(()); /* 33 */
|
sl@0
|
323 |
void* (*get_auxDataTypeTableInitialized) _ANSI_ARGS_(()); /* 34 */
|
sl@0
|
324 |
void* (*get_auxDataTypeTable) _ANSI_ARGS_(()); /* 35 */
|
sl@0
|
325 |
void** (*get_cwdPathPtr) _ANSI_ARGS_(()); /* 36 */
|
sl@0
|
326 |
void* (*get_cwdPathEpoch) _ANSI_ARGS_(()); /* 37 */
|
sl@0
|
327 |
void** (*get_refArray) _ANSI_ARGS_(()); /* 38 */
|
sl@0
|
328 |
void* (*get_spaceAvl) _ANSI_ARGS_(()); /* 39 */
|
sl@0
|
329 |
void* (*get_inUse) _ANSI_ARGS_(()); /* 40 */
|
sl@0
|
330 |
void (*tclpExit) _ANSI_ARGS_((int status)); /* 41 */
|
sl@0
|
331 |
void* (*get_tclPlatform) _ANSI_ARGS_(()); /* 42 */
|
sl@0
|
332 |
void** (*get_firstNotifierPtr) _ANSI_ARGS_(()); /* 43 */
|
sl@0
|
333 |
#endif /* __WINSCW__ */
|
sl@0
|
334 |
#endif /* __SYMBIAN32__ */
|
sl@0
|
335 |
#endif /* UNIX */
|
sl@0
|
336 |
#ifdef __WIN32__
|
sl@0
|
337 |
void (*tclWinConvertError) _ANSI_ARGS_((DWORD errCode)); /* 0 */
|
sl@0
|
338 |
void (*tclWinConvertWSAError) _ANSI_ARGS_((DWORD errCode)); /* 1 */
|
sl@0
|
339 |
struct servent * (*tclWinGetServByName) _ANSI_ARGS_((CONST char * nm, CONST char * proto)); /* 2 */
|
sl@0
|
340 |
int (*tclWinGetSockOpt) _ANSI_ARGS_((SOCKET s, int level, int optname, char FAR * optval, int FAR * optlen)); /* 3 */
|
sl@0
|
341 |
HINSTANCE (*tclWinGetTclInstance) _ANSI_ARGS_((void)); /* 4 */
|
sl@0
|
342 |
void *reserved5;
|
sl@0
|
343 |
u_short (*tclWinNToHS) _ANSI_ARGS_((u_short ns)); /* 6 */
|
sl@0
|
344 |
int (*tclWinSetSockOpt) _ANSI_ARGS_((SOCKET s, int level, int optname, CONST char FAR * optval, int optlen)); /* 7 */
|
sl@0
|
345 |
unsigned long (*tclpGetPid) _ANSI_ARGS_((Tcl_Pid pid)); /* 8 */
|
sl@0
|
346 |
int (*tclWinGetPlatformId) _ANSI_ARGS_((void)); /* 9 */
|
sl@0
|
347 |
void *reserved10;
|
sl@0
|
348 |
void (*tclGetAndDetachPids) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channel chan)); /* 11 */
|
sl@0
|
349 |
int (*tclpCloseFile) _ANSI_ARGS_((TclFile file)); /* 12 */
|
sl@0
|
350 |
Tcl_Channel (*tclpCreateCommandChannel) _ANSI_ARGS_((TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid * pidPtr)); /* 13 */
|
sl@0
|
351 |
int (*tclpCreatePipe) _ANSI_ARGS_((TclFile * readPipe, TclFile * writePipe)); /* 14 */
|
sl@0
|
352 |
int (*tclpCreateProcess) _ANSI_ARGS_((Tcl_Interp * interp, int argc, CONST char ** argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid * pidPtr)); /* 15 */
|
sl@0
|
353 |
void *reserved16;
|
sl@0
|
354 |
void *reserved17;
|
sl@0
|
355 |
TclFile (*tclpMakeFile) _ANSI_ARGS_((Tcl_Channel channel, int direction)); /* 18 */
|
sl@0
|
356 |
TclFile (*tclpOpenFile) _ANSI_ARGS_((CONST char * fname, int mode)); /* 19 */
|
sl@0
|
357 |
void (*tclWinAddProcess) _ANSI_ARGS_((HANDLE hProcess, DWORD id)); /* 20 */
|
sl@0
|
358 |
void *reserved21;
|
sl@0
|
359 |
TclFile (*tclpCreateTempFile) _ANSI_ARGS_((CONST char * contents)); /* 22 */
|
sl@0
|
360 |
char * (*tclpGetTZName) _ANSI_ARGS_((int isdst)); /* 23 */
|
sl@0
|
361 |
char * (*tclWinNoBackslash) _ANSI_ARGS_((char * path)); /* 24 */
|
sl@0
|
362 |
TclPlatformType * (*tclWinGetPlatform) _ANSI_ARGS_((void)); /* 25 */
|
sl@0
|
363 |
void (*tclWinSetInterfaces) _ANSI_ARGS_((int wide)); /* 26 */
|
sl@0
|
364 |
void (*tclWinFlushDirtyChannels) _ANSI_ARGS_((void)); /* 27 */
|
sl@0
|
365 |
void (*tclWinResetInterfaces) _ANSI_ARGS_((void)); /* 28 */
|
sl@0
|
366 |
int (*tclWinCPUID) _ANSI_ARGS_((unsigned int index, unsigned int * regs)); /* 29 */
|
sl@0
|
367 |
#endif /* __WIN32__ */
|
sl@0
|
368 |
#ifdef MAC_TCL
|
sl@0
|
369 |
VOID * (*tclpSysAlloc) _ANSI_ARGS_((long size, int isBin)); /* 0 */
|
sl@0
|
370 |
void (*tclpSysFree) _ANSI_ARGS_((VOID * ptr)); /* 1 */
|
sl@0
|
371 |
VOID * (*tclpSysRealloc) _ANSI_ARGS_((VOID * cp, unsigned int size)); /* 2 */
|
sl@0
|
372 |
void (*tclpExit) _ANSI_ARGS_((int status)); /* 3 */
|
sl@0
|
373 |
int (*fSpGetDefaultDir) _ANSI_ARGS_((FSSpecPtr theSpec)); /* 4 */
|
sl@0
|
374 |
int (*fSpSetDefaultDir) _ANSI_ARGS_((FSSpecPtr theSpec)); /* 5 */
|
sl@0
|
375 |
OSErr (*fSpFindFolder) _ANSI_ARGS_((short vRefNum, OSType folderType, Boolean createFolder, FSSpec * spec)); /* 6 */
|
sl@0
|
376 |
void (*getGlobalMouseTcl) _ANSI_ARGS_((Point * mouse)); /* 7 */
|
sl@0
|
377 |
pascal OSErr (*fSpGetDirectoryIDTcl) _ANSI_ARGS_((CONST FSSpec * spec, long * theDirID, Boolean * isDirectory)); /* 8 */
|
sl@0
|
378 |
pascal short (*fSpOpenResFileCompatTcl) _ANSI_ARGS_((CONST FSSpec * spec, SignedByte permission)); /* 9 */
|
sl@0
|
379 |
pascal void (*fSpCreateResFileCompatTcl) _ANSI_ARGS_((CONST FSSpec * spec, OSType creator, OSType fileType, ScriptCode scriptTag)); /* 10 */
|
sl@0
|
380 |
int (*fSpLocationFromPath) _ANSI_ARGS_((int length, CONST char * path, FSSpecPtr theSpec)); /* 11 */
|
sl@0
|
381 |
OSErr (*fSpPathFromLocation) _ANSI_ARGS_((FSSpecPtr theSpec, int * length, Handle * fullPath)); /* 12 */
|
sl@0
|
382 |
void (*tclMacExitHandler) _ANSI_ARGS_((void)); /* 13 */
|
sl@0
|
383 |
void (*tclMacInitExitToShell) _ANSI_ARGS_((int usePatch)); /* 14 */
|
sl@0
|
384 |
OSErr (*tclMacInstallExitToShellPatch) _ANSI_ARGS_((ExitToShellProcPtr newProc)); /* 15 */
|
sl@0
|
385 |
int (*tclMacOSErrorToPosixError) _ANSI_ARGS_((int error)); /* 16 */
|
sl@0
|
386 |
void (*tclMacRemoveTimer) _ANSI_ARGS_((void * timerToken)); /* 17 */
|
sl@0
|
387 |
void * (*tclMacStartTimer) _ANSI_ARGS_((long ms)); /* 18 */
|
sl@0
|
388 |
int (*tclMacTimerExpired) _ANSI_ARGS_((void * timerToken)); /* 19 */
|
sl@0
|
389 |
int (*tclMacRegisterResourceFork) _ANSI_ARGS_((short fileRef, Tcl_Obj * tokenPtr, int insert)); /* 20 */
|
sl@0
|
390 |
short (*tclMacUnRegisterResourceFork) _ANSI_ARGS_((char * tokenPtr, Tcl_Obj * resultPtr)); /* 21 */
|
sl@0
|
391 |
int (*tclMacCreateEnv) _ANSI_ARGS_((void)); /* 22 */
|
sl@0
|
392 |
FILE * (*tclMacFOpenHack) _ANSI_ARGS_((CONST char * path, CONST char * mode)); /* 23 */
|
sl@0
|
393 |
char * (*tclpGetTZName) _ANSI_ARGS_((int isdst)); /* 24 */
|
sl@0
|
394 |
int (*tclMacChmod) _ANSI_ARGS_((CONST char * path, int mode)); /* 25 */
|
sl@0
|
395 |
int (*fSpLLocationFromPath) _ANSI_ARGS_((int length, CONST char * path, FSSpecPtr theSpec)); /* 26 */
|
sl@0
|
396 |
#endif /* MAC_TCL */
|
sl@0
|
397 |
} TclIntPlatStubs;
|
sl@0
|
398 |
|
sl@0
|
399 |
#ifdef __cplusplus
|
sl@0
|
400 |
extern "C" {
|
sl@0
|
401 |
#endif
|
sl@0
|
402 |
extern TclIntPlatStubs *tclIntPlatStubsPtr;
|
sl@0
|
403 |
#ifdef __cplusplus
|
sl@0
|
404 |
}
|
sl@0
|
405 |
#endif
|
sl@0
|
406 |
|
sl@0
|
407 |
#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS)
|
sl@0
|
408 |
|
sl@0
|
409 |
/*
|
sl@0
|
410 |
* Inline function declarations:
|
sl@0
|
411 |
*/
|
sl@0
|
412 |
|
sl@0
|
413 |
#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
|
sl@0
|
414 |
#ifndef TclGetAndDetachPids
|
sl@0
|
415 |
#define TclGetAndDetachPids \
|
sl@0
|
416 |
(tclIntPlatStubsPtr->tclGetAndDetachPids) /* 0 */
|
sl@0
|
417 |
#endif
|
sl@0
|
418 |
#ifndef TclpCloseFile
|
sl@0
|
419 |
#define TclpCloseFile \
|
sl@0
|
420 |
(tclIntPlatStubsPtr->tclpCloseFile) /* 1 */
|
sl@0
|
421 |
#endif
|
sl@0
|
422 |
#ifndef TclpCreateCommandChannel
|
sl@0
|
423 |
#define TclpCreateCommandChannel \
|
sl@0
|
424 |
(tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 2 */
|
sl@0
|
425 |
#endif
|
sl@0
|
426 |
#ifndef TclpCreatePipe
|
sl@0
|
427 |
#define TclpCreatePipe \
|
sl@0
|
428 |
(tclIntPlatStubsPtr->tclpCreatePipe) /* 3 */
|
sl@0
|
429 |
#endif
|
sl@0
|
430 |
#ifndef TclpCreateProcess
|
sl@0
|
431 |
#define TclpCreateProcess \
|
sl@0
|
432 |
(tclIntPlatStubsPtr->tclpCreateProcess) /* 4 */
|
sl@0
|
433 |
#endif
|
sl@0
|
434 |
/* Slot 5 is reserved */
|
sl@0
|
435 |
#ifndef TclpMakeFile
|
sl@0
|
436 |
#define TclpMakeFile \
|
sl@0
|
437 |
(tclIntPlatStubsPtr->tclpMakeFile) /* 6 */
|
sl@0
|
438 |
#endif
|
sl@0
|
439 |
#ifndef TclpOpenFile
|
sl@0
|
440 |
#define TclpOpenFile \
|
sl@0
|
441 |
(tclIntPlatStubsPtr->tclpOpenFile) /* 7 */
|
sl@0
|
442 |
#endif
|
sl@0
|
443 |
#ifndef TclUnixWaitForFile
|
sl@0
|
444 |
#define TclUnixWaitForFile \
|
sl@0
|
445 |
(tclIntPlatStubsPtr->tclUnixWaitForFile) /* 8 */
|
sl@0
|
446 |
#endif
|
sl@0
|
447 |
#ifndef TclpCreateTempFile
|
sl@0
|
448 |
#define TclpCreateTempFile \
|
sl@0
|
449 |
(tclIntPlatStubsPtr->tclpCreateTempFile) /* 9 */
|
sl@0
|
450 |
#endif
|
sl@0
|
451 |
#ifndef TclpReaddir
|
sl@0
|
452 |
#define TclpReaddir \
|
sl@0
|
453 |
(tclIntPlatStubsPtr->tclpReaddir) /* 10 */
|
sl@0
|
454 |
#endif
|
sl@0
|
455 |
#ifndef TclpLocaltime_unix
|
sl@0
|
456 |
#define TclpLocaltime_unix \
|
sl@0
|
457 |
(tclIntPlatStubsPtr->tclpLocaltime_unix) /* 11 */
|
sl@0
|
458 |
#endif
|
sl@0
|
459 |
#ifndef TclpGmtime_unix
|
sl@0
|
460 |
#define TclpGmtime_unix \
|
sl@0
|
461 |
(tclIntPlatStubsPtr->tclpGmtime_unix) /* 12 */
|
sl@0
|
462 |
#endif
|
sl@0
|
463 |
#ifndef TclpInetNtoa
|
sl@0
|
464 |
#define TclpInetNtoa \
|
sl@0
|
465 |
(tclIntPlatStubsPtr->tclpInetNtoa) /* 13 */
|
sl@0
|
466 |
#endif
|
sl@0
|
467 |
#ifdef __SYMBIAN32__
|
sl@0
|
468 |
#ifndef ChildProcessInit
|
sl@0
|
469 |
#define ChildProcessInit \
|
sl@0
|
470 |
(tclPlatStubsPtr->ChildProcessInit) /* 14 */
|
sl@0
|
471 |
#endif
|
sl@0
|
472 |
#ifndef ChildProcessCleanup
|
sl@0
|
473 |
#define ChildProcessCleanup \
|
sl@0
|
474 |
(tclPlatStubsPtr->ChildProcessCleanup) /* 15 */
|
sl@0
|
475 |
#endif
|
sl@0
|
476 |
#ifndef get_gFileName
|
sl@0
|
477 |
#define get_gFileName \
|
sl@0
|
478 |
(tclPlatStubsPtr->get_gFileName) /* 16 */
|
sl@0
|
479 |
#endif
|
sl@0
|
480 |
#ifndef get_tclExecutableName
|
sl@0
|
481 |
#define get_tclExecutableName \
|
sl@0
|
482 |
(tclPlatStubsPtr->get_tclExecutableName) /* 17 */
|
sl@0
|
483 |
#endif
|
sl@0
|
484 |
#ifndef get_tclNativeExecutableName
|
sl@0
|
485 |
#define get_tclNativeExecutableName \
|
sl@0
|
486 |
(tclPlatStubsPtr->get_tclNativeExecutableName) /* 18 */
|
sl@0
|
487 |
#endif
|
sl@0
|
488 |
#ifndef get_dataKey
|
sl@0
|
489 |
#define get_dataKey \
|
sl@0
|
490 |
(tclPlatStubsPtr->get_dataKey) /* 19 */
|
sl@0
|
491 |
#endif
|
sl@0
|
492 |
#ifndef inFinalize
|
sl@0
|
493 |
#define inFinalize \
|
sl@0
|
494 |
(tclPlatStubsPtr->inFinalize) /* 20 */
|
sl@0
|
495 |
#endif
|
sl@0
|
496 |
#ifndef subsystemsInitialized
|
sl@0
|
497 |
#define subsystemsInitialized \
|
sl@0
|
498 |
(tclPlatStubsPtr->subsystemsInitialized) /* 21 */
|
sl@0
|
499 |
#endif
|
sl@0
|
500 |
#endif /* __SYMBIAN32__ */
|
sl@0
|
501 |
#endif /* UNIX */
|
sl@0
|
502 |
#ifdef __WIN32__
|
sl@0
|
503 |
#ifndef TclWinConvertError
|
sl@0
|
504 |
#define TclWinConvertError \
|
sl@0
|
505 |
(tclIntPlatStubsPtr->tclWinConvertError) /* 0 */
|
sl@0
|
506 |
#endif
|
sl@0
|
507 |
#ifndef TclWinConvertWSAError
|
sl@0
|
508 |
#define TclWinConvertWSAError \
|
sl@0
|
509 |
(tclIntPlatStubsPtr->tclWinConvertWSAError) /* 1 */
|
sl@0
|
510 |
#endif
|
sl@0
|
511 |
#ifndef TclWinGetServByName
|
sl@0
|
512 |
#define TclWinGetServByName \
|
sl@0
|
513 |
(tclIntPlatStubsPtr->tclWinGetServByName) /* 2 */
|
sl@0
|
514 |
#endif
|
sl@0
|
515 |
#ifndef TclWinGetSockOpt
|
sl@0
|
516 |
#define TclWinGetSockOpt \
|
sl@0
|
517 |
(tclIntPlatStubsPtr->tclWinGetSockOpt) /* 3 */
|
sl@0
|
518 |
#endif
|
sl@0
|
519 |
#ifndef TclWinGetTclInstance
|
sl@0
|
520 |
#define TclWinGetTclInstance \
|
sl@0
|
521 |
(tclIntPlatStubsPtr->tclWinGetTclInstance) /* 4 */
|
sl@0
|
522 |
#endif
|
sl@0
|
523 |
/* Slot 5 is reserved */
|
sl@0
|
524 |
#ifndef TclWinNToHS
|
sl@0
|
525 |
#define TclWinNToHS \
|
sl@0
|
526 |
(tclIntPlatStubsPtr->tclWinNToHS) /* 6 */
|
sl@0
|
527 |
#endif
|
sl@0
|
528 |
#ifndef TclWinSetSockOpt
|
sl@0
|
529 |
#define TclWinSetSockOpt \
|
sl@0
|
530 |
(tclIntPlatStubsPtr->tclWinSetSockOpt) /* 7 */
|
sl@0
|
531 |
#endif
|
sl@0
|
532 |
#ifndef TclpGetPid
|
sl@0
|
533 |
#define TclpGetPid \
|
sl@0
|
534 |
(tclIntPlatStubsPtr->tclpGetPid) /* 8 */
|
sl@0
|
535 |
#endif
|
sl@0
|
536 |
#ifndef TclWinGetPlatformId
|
sl@0
|
537 |
#define TclWinGetPlatformId \
|
sl@0
|
538 |
(tclIntPlatStubsPtr->tclWinGetPlatformId) /* 9 */
|
sl@0
|
539 |
#endif
|
sl@0
|
540 |
/* Slot 10 is reserved */
|
sl@0
|
541 |
#ifndef TclGetAndDetachPids
|
sl@0
|
542 |
#define TclGetAndDetachPids \
|
sl@0
|
543 |
(tclIntPlatStubsPtr->tclGetAndDetachPids) /* 11 */
|
sl@0
|
544 |
#endif
|
sl@0
|
545 |
#ifndef TclpCloseFile
|
sl@0
|
546 |
#define TclpCloseFile \
|
sl@0
|
547 |
(tclIntPlatStubsPtr->tclpCloseFile) /* 12 */
|
sl@0
|
548 |
#endif
|
sl@0
|
549 |
#ifndef TclpCreateCommandChannel
|
sl@0
|
550 |
#define TclpCreateCommandChannel \
|
sl@0
|
551 |
(tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 13 */
|
sl@0
|
552 |
#endif
|
sl@0
|
553 |
#ifndef TclpCreatePipe
|
sl@0
|
554 |
#define TclpCreatePipe \
|
sl@0
|
555 |
(tclIntPlatStubsPtr->tclpCreatePipe) /* 14 */
|
sl@0
|
556 |
#endif
|
sl@0
|
557 |
#ifndef TclpCreateProcess
|
sl@0
|
558 |
#define TclpCreateProcess \
|
sl@0
|
559 |
(tclIntPlatStubsPtr->tclpCreateProcess) /* 15 */
|
sl@0
|
560 |
#endif
|
sl@0
|
561 |
/* Slot 16 is reserved */
|
sl@0
|
562 |
/* Slot 17 is reserved */
|
sl@0
|
563 |
#ifndef TclpMakeFile
|
sl@0
|
564 |
#define TclpMakeFile \
|
sl@0
|
565 |
(tclIntPlatStubsPtr->tclpMakeFile) /* 18 */
|
sl@0
|
566 |
#endif
|
sl@0
|
567 |
#ifndef TclpOpenFile
|
sl@0
|
568 |
#define TclpOpenFile \
|
sl@0
|
569 |
(tclIntPlatStubsPtr->tclpOpenFile) /* 19 */
|
sl@0
|
570 |
#endif
|
sl@0
|
571 |
#ifndef TclWinAddProcess
|
sl@0
|
572 |
#define TclWinAddProcess \
|
sl@0
|
573 |
(tclIntPlatStubsPtr->tclWinAddProcess) /* 20 */
|
sl@0
|
574 |
#endif
|
sl@0
|
575 |
/* Slot 21 is reserved */
|
sl@0
|
576 |
#ifndef TclpCreateTempFile
|
sl@0
|
577 |
#define TclpCreateTempFile \
|
sl@0
|
578 |
(tclIntPlatStubsPtr->tclpCreateTempFile) /* 22 */
|
sl@0
|
579 |
#endif
|
sl@0
|
580 |
#ifndef TclpGetTZName
|
sl@0
|
581 |
#define TclpGetTZName \
|
sl@0
|
582 |
(tclIntPlatStubsPtr->tclpGetTZName) /* 23 */
|
sl@0
|
583 |
#endif
|
sl@0
|
584 |
#ifndef TclWinNoBackslash
|
sl@0
|
585 |
#define TclWinNoBackslash \
|
sl@0
|
586 |
(tclIntPlatStubsPtr->tclWinNoBackslash) /* 24 */
|
sl@0
|
587 |
#endif
|
sl@0
|
588 |
#ifndef TclWinGetPlatform
|
sl@0
|
589 |
#define TclWinGetPlatform \
|
sl@0
|
590 |
(tclIntPlatStubsPtr->tclWinGetPlatform) /* 25 */
|
sl@0
|
591 |
#endif
|
sl@0
|
592 |
#ifndef TclWinSetInterfaces
|
sl@0
|
593 |
#define TclWinSetInterfaces \
|
sl@0
|
594 |
(tclIntPlatStubsPtr->tclWinSetInterfaces) /* 26 */
|
sl@0
|
595 |
#endif
|
sl@0
|
596 |
#ifndef TclWinFlushDirtyChannels
|
sl@0
|
597 |
#define TclWinFlushDirtyChannels \
|
sl@0
|
598 |
(tclIntPlatStubsPtr->tclWinFlushDirtyChannels) /* 27 */
|
sl@0
|
599 |
#endif
|
sl@0
|
600 |
#ifndef TclWinResetInterfaces
|
sl@0
|
601 |
#define TclWinResetInterfaces \
|
sl@0
|
602 |
(tclIntPlatStubsPtr->tclWinResetInterfaces) /* 28 */
|
sl@0
|
603 |
#endif
|
sl@0
|
604 |
#ifndef TclWinCPUID
|
sl@0
|
605 |
#define TclWinCPUID \
|
sl@0
|
606 |
(tclIntPlatStubsPtr->tclWinCPUID) /* 29 */
|
sl@0
|
607 |
#endif
|
sl@0
|
608 |
#endif /* __WIN32__ */
|
sl@0
|
609 |
#ifdef MAC_TCL
|
sl@0
|
610 |
#ifndef TclpSysAlloc
|
sl@0
|
611 |
#define TclpSysAlloc \
|
sl@0
|
612 |
(tclIntPlatStubsPtr->tclpSysAlloc) /* 0 */
|
sl@0
|
613 |
#endif
|
sl@0
|
614 |
#ifndef TclpSysFree
|
sl@0
|
615 |
#define TclpSysFree \
|
sl@0
|
616 |
(tclIntPlatStubsPtr->tclpSysFree) /* 1 */
|
sl@0
|
617 |
#endif
|
sl@0
|
618 |
#ifndef TclpSysRealloc
|
sl@0
|
619 |
#define TclpSysRealloc \
|
sl@0
|
620 |
(tclIntPlatStubsPtr->tclpSysRealloc) /* 2 */
|
sl@0
|
621 |
#endif
|
sl@0
|
622 |
#ifndef TclpExit
|
sl@0
|
623 |
#define TclpExit \
|
sl@0
|
624 |
(tclIntPlatStubsPtr->tclpExit) /* 3 */
|
sl@0
|
625 |
#endif
|
sl@0
|
626 |
#ifndef FSpGetDefaultDir
|
sl@0
|
627 |
#define FSpGetDefaultDir \
|
sl@0
|
628 |
(tclIntPlatStubsPtr->fSpGetDefaultDir) /* 4 */
|
sl@0
|
629 |
#endif
|
sl@0
|
630 |
#ifndef FSpSetDefaultDir
|
sl@0
|
631 |
#define FSpSetDefaultDir \
|
sl@0
|
632 |
(tclIntPlatStubsPtr->fSpSetDefaultDir) /* 5 */
|
sl@0
|
633 |
#endif
|
sl@0
|
634 |
#ifndef FSpFindFolder
|
sl@0
|
635 |
#define FSpFindFolder \
|
sl@0
|
636 |
(tclIntPlatStubsPtr->fSpFindFolder) /* 6 */
|
sl@0
|
637 |
#endif
|
sl@0
|
638 |
#ifndef GetGlobalMouseTcl
|
sl@0
|
639 |
#define GetGlobalMouseTcl \
|
sl@0
|
640 |
(tclIntPlatStubsPtr->getGlobalMouseTcl) /* 7 */
|
sl@0
|
641 |
#endif
|
sl@0
|
642 |
#ifndef FSpGetDirectoryIDTcl
|
sl@0
|
643 |
#define FSpGetDirectoryIDTcl \
|
sl@0
|
644 |
(tclIntPlatStubsPtr->fSpGetDirectoryIDTcl) /* 8 */
|
sl@0
|
645 |
#endif
|
sl@0
|
646 |
#ifndef FSpOpenResFileCompatTcl
|
sl@0
|
647 |
#define FSpOpenResFileCompatTcl \
|
sl@0
|
648 |
(tclIntPlatStubsPtr->fSpOpenResFileCompatTcl) /* 9 */
|
sl@0
|
649 |
#endif
|
sl@0
|
650 |
#ifndef FSpCreateResFileCompatTcl
|
sl@0
|
651 |
#define FSpCreateResFileCompatTcl \
|
sl@0
|
652 |
(tclIntPlatStubsPtr->fSpCreateResFileCompatTcl) /* 10 */
|
sl@0
|
653 |
#endif
|
sl@0
|
654 |
#ifndef FSpLocationFromPath
|
sl@0
|
655 |
#define FSpLocationFromPath \
|
sl@0
|
656 |
(tclIntPlatStubsPtr->fSpLocationFromPath) /* 11 */
|
sl@0
|
657 |
#endif
|
sl@0
|
658 |
#ifndef FSpPathFromLocation
|
sl@0
|
659 |
#define FSpPathFromLocation \
|
sl@0
|
660 |
(tclIntPlatStubsPtr->fSpPathFromLocation) /* 12 */
|
sl@0
|
661 |
#endif
|
sl@0
|
662 |
#ifndef TclMacExitHandler
|
sl@0
|
663 |
#define TclMacExitHandler \
|
sl@0
|
664 |
(tclIntPlatStubsPtr->tclMacExitHandler) /* 13 */
|
sl@0
|
665 |
#endif
|
sl@0
|
666 |
#ifndef TclMacInitExitToShell
|
sl@0
|
667 |
#define TclMacInitExitToShell \
|
sl@0
|
668 |
(tclIntPlatStubsPtr->tclMacInitExitToShell) /* 14 */
|
sl@0
|
669 |
#endif
|
sl@0
|
670 |
#ifndef TclMacInstallExitToShellPatch
|
sl@0
|
671 |
#define TclMacInstallExitToShellPatch \
|
sl@0
|
672 |
(tclIntPlatStubsPtr->tclMacInstallExitToShellPatch) /* 15 */
|
sl@0
|
673 |
#endif
|
sl@0
|
674 |
#ifndef TclMacOSErrorToPosixError
|
sl@0
|
675 |
#define TclMacOSErrorToPosixError \
|
sl@0
|
676 |
(tclIntPlatStubsPtr->tclMacOSErrorToPosixError) /* 16 */
|
sl@0
|
677 |
#endif
|
sl@0
|
678 |
#ifndef TclMacRemoveTimer
|
sl@0
|
679 |
#define TclMacRemoveTimer \
|
sl@0
|
680 |
(tclIntPlatStubsPtr->tclMacRemoveTimer) /* 17 */
|
sl@0
|
681 |
#endif
|
sl@0
|
682 |
#ifndef TclMacStartTimer
|
sl@0
|
683 |
#define TclMacStartTimer \
|
sl@0
|
684 |
(tclIntPlatStubsPtr->tclMacStartTimer) /* 18 */
|
sl@0
|
685 |
#endif
|
sl@0
|
686 |
#ifndef TclMacTimerExpired
|
sl@0
|
687 |
#define TclMacTimerExpired \
|
sl@0
|
688 |
(tclIntPlatStubsPtr->tclMacTimerExpired) /* 19 */
|
sl@0
|
689 |
#endif
|
sl@0
|
690 |
#ifndef TclMacRegisterResourceFork
|
sl@0
|
691 |
#define TclMacRegisterResourceFork \
|
sl@0
|
692 |
(tclIntPlatStubsPtr->tclMacRegisterResourceFork) /* 20 */
|
sl@0
|
693 |
#endif
|
sl@0
|
694 |
#ifndef TclMacUnRegisterResourceFork
|
sl@0
|
695 |
#define TclMacUnRegisterResourceFork \
|
sl@0
|
696 |
(tclIntPlatStubsPtr->tclMacUnRegisterResourceFork) /* 21 */
|
sl@0
|
697 |
#endif
|
sl@0
|
698 |
#ifndef TclMacCreateEnv
|
sl@0
|
699 |
#define TclMacCreateEnv \
|
sl@0
|
700 |
(tclIntPlatStubsPtr->tclMacCreateEnv) /* 22 */
|
sl@0
|
701 |
#endif
|
sl@0
|
702 |
#ifndef TclMacFOpenHack
|
sl@0
|
703 |
#define TclMacFOpenHack \
|
sl@0
|
704 |
(tclIntPlatStubsPtr->tclMacFOpenHack) /* 23 */
|
sl@0
|
705 |
#endif
|
sl@0
|
706 |
#ifndef TclpGetTZName
|
sl@0
|
707 |
#define TclpGetTZName \
|
sl@0
|
708 |
(tclIntPlatStubsPtr->tclpGetTZName) /* 24 */
|
sl@0
|
709 |
#endif
|
sl@0
|
710 |
#ifndef TclMacChmod
|
sl@0
|
711 |
#define TclMacChmod \
|
sl@0
|
712 |
(tclIntPlatStubsPtr->tclMacChmod) /* 25 */
|
sl@0
|
713 |
#endif
|
sl@0
|
714 |
#ifndef FSpLLocationFromPath
|
sl@0
|
715 |
#define FSpLLocationFromPath \
|
sl@0
|
716 |
(tclIntPlatStubsPtr->fSpLLocationFromPath) /* 26 */
|
sl@0
|
717 |
#endif
|
sl@0
|
718 |
#endif /* MAC_TCL */
|
sl@0
|
719 |
|
sl@0
|
720 |
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */
|
sl@0
|
721 |
|
sl@0
|
722 |
/* !END!: Do not edit above this line. */
|
sl@0
|
723 |
|
sl@0
|
724 |
#endif /* _TCLINTPLATDECLS */
|