| 1 |
# tcl.decls -- |
| 2 |
# |
| 3 |
# This file contains the declarations for all supported public |
| 4 |
# functions that are exported by the Tcl library via the stubs table. |
| 5 |
# This file is used to generate the tclDecls.h, tclPlatDecls.h |
| 6 |
# and tclStubInit.c files. |
| 7 |
# |
| 8 |
# Copyright © 1998-1999 Scriptics Corporation. |
| 9 |
# Copyright © 2001, 2002 Kevin B. Kenny. All rights reserved. |
| 10 |
# Copyright © 2007 Daniel A. Steffen <[email protected]> |
| 11 |
# |
| 12 |
# See the file "license.terms" for information on usage and redistribution |
| 13 |
# of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
| 14 |
|
| 15 |
library tcl |
| 16 |
|
| 17 |
# Define the tcl interface with several sub interfaces: |
| 18 |
# tclPlat - platform specific public |
| 19 |
# tclInt - generic private |
| 20 |
# tclPlatInt - platform specific private |
| 21 |
|
| 22 |
interface tcl |
| 23 |
hooks {tclPlat tclInt tclIntPlat} |
| 24 |
scspec EXTERN |
| 25 |
|
| 26 |
# Declare each of the functions in the public Tcl interface. Note that |
| 27 |
# the an index should never be reused for a different function in order |
| 28 |
# to preserve backwards compatibility. |
| 29 |
|
| 30 |
declare 0 { |
| 31 |
int Tcl_PkgProvideEx(Tcl_Interp *interp, const char *name, |
| 32 |
const char *version, const void *clientData) |
| 33 |
} |
| 34 |
declare 1 { |
| 35 |
CONST84_RETURN char *Tcl_PkgRequireEx(Tcl_Interp *interp, |
| 36 |
const char *name, const char *version, int exact, |
| 37 |
void *clientDataPtr) |
| 38 |
} |
| 39 |
declare 2 { |
| 40 |
TCL_NORETURN void Tcl_Panic(const char *format, ...) |
| 41 |
} |
| 42 |
declare 3 { |
| 43 |
char *Tcl_Alloc(unsigned int size) |
| 44 |
} |
| 45 |
declare 4 { |
| 46 |
void Tcl_Free(char *ptr) |
| 47 |
} |
| 48 |
declare 5 { |
| 49 |
char *Tcl_Realloc(char *ptr, unsigned int size) |
| 50 |
} |
| 51 |
declare 6 { |
| 52 |
char *Tcl_DbCkalloc(unsigned int size, const char *file, int line) |
| 53 |
} |
| 54 |
declare 7 { |
| 55 |
void Tcl_DbCkfree(char *ptr, const char *file, int line) |
| 56 |
} |
| 57 |
declare 8 { |
| 58 |
char *Tcl_DbCkrealloc(char *ptr, unsigned int size, |
| 59 |
const char *file, int line) |
| 60 |
} |
| 61 |
|
| 62 |
# Tcl_CreateFileHandler and Tcl_DeleteFileHandler are only available on Unix, |
| 63 |
# but they are part of the old generic interface, so we include them here for |
| 64 |
# compatibility reasons. |
| 65 |
|
| 66 |
declare 9 unix { |
| 67 |
void Tcl_CreateFileHandler(int fd, int mask, Tcl_FileProc *proc, |
| 68 |
ClientData clientData) |
| 69 |
} |
| 70 |
declare 10 unix { |
| 71 |
void Tcl_DeleteFileHandler(int fd) |
| 72 |
} |
| 73 |
declare 11 { |
| 74 |
void Tcl_SetTimer(const Tcl_Time *timePtr) |
| 75 |
} |
| 76 |
declare 12 { |
| 77 |
void Tcl_Sleep(int ms) |
| 78 |
} |
| 79 |
declare 13 { |
| 80 |
int Tcl_WaitForEvent(const Tcl_Time *timePtr) |
| 81 |
} |
| 82 |
declare 14 { |
| 83 |
int Tcl_AppendAllObjTypes(Tcl_Interp *interp, Tcl_Obj *objPtr) |
| 84 |
} |
| 85 |
declare 15 { |
| 86 |
void Tcl_AppendStringsToObj(Tcl_Obj *objPtr, ...) |
| 87 |
} |
| 88 |
declare 16 { |
| 89 |
void Tcl_AppendToObj(Tcl_Obj *objPtr, const char *bytes, int length) |
| 90 |
} |
| 91 |
declare 17 { |
| 92 |
Tcl_Obj *Tcl_ConcatObj(int objc, Tcl_Obj *const objv[]) |
| 93 |
} |
| 94 |
declare 18 { |
| 95 |
int Tcl_ConvertToType(Tcl_Interp *interp, Tcl_Obj *objPtr, |
| 96 |
const Tcl_ObjType *typePtr) |
| 97 |
} |
| 98 |
declare 19 { |
| 99 |
void Tcl_DbDecrRefCount(Tcl_Obj *objPtr, const char *file, int line) |
| 100 |
} |
| 101 |
declare 20 { |
| 102 |
void Tcl_DbIncrRefCount(Tcl_Obj *objPtr, const char *file, int line) |
| 103 |
} |
| 104 |
declare 21 { |
| 105 |
int Tcl_DbIsShared(Tcl_Obj *objPtr, const char *file, int line) |
| 106 |
} |
| 107 |
declare 22 { |
| 108 |
Tcl_Obj *Tcl_DbNewBooleanObj(int intValue, const char *file, int line) |
| 109 |
} |
| 110 |
declare 23 { |
| 111 |
Tcl_Obj *Tcl_DbNewByteArrayObj(const unsigned char *bytes, int length, |
| 112 |
const char *file, int line) |
| 113 |
} |
| 114 |
declare 24 { |
| 115 |
Tcl_Obj *Tcl_DbNewDoubleObj(double doubleValue, const char *file, |
| 116 |
int line) |
| 117 |
} |
| 118 |
declare 25 { |
| 119 |
Tcl_Obj *Tcl_DbNewListObj(int objc, Tcl_Obj *const *objv, |
| 120 |
const char *file, int line) |
| 121 |
} |
| 122 |
declare 26 { |
| 123 |
Tcl_Obj *Tcl_DbNewLongObj(long longValue, const char *file, int line) |
| 124 |
} |
| 125 |
declare 27 { |
| 126 |
Tcl_Obj *Tcl_DbNewObj(const char *file, int line) |
| 127 |
} |
| 128 |
declare 28 { |
| 129 |
Tcl_Obj *Tcl_DbNewStringObj(const char *bytes, int length, |
| 130 |
const char *file, int line) |
| 131 |
} |
| 132 |
declare 29 { |
| 133 |
Tcl_Obj *Tcl_DuplicateObj(Tcl_Obj *objPtr) |
| 134 |
} |
| 135 |
declare 30 { |
| 136 |
void TclFreeObj(Tcl_Obj *objPtr) |
| 137 |
} |
| 138 |
declare 31 { |
| 139 |
int Tcl_GetBoolean(Tcl_Interp *interp, const char *src, int *intPtr) |
| 140 |
} |
| 141 |
declare 32 { |
| 142 |
int Tcl_GetBooleanFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, |
| 143 |
int *intPtr) |
| 144 |
} |
| 145 |
declare 33 { |
| 146 |
unsigned char *Tcl_GetByteArrayFromObj(Tcl_Obj *objPtr, int *numBytesPtr) |
| 147 |
} |
| 148 |
declare 34 { |
| 149 |
int Tcl_GetDouble(Tcl_Interp *interp, const char *src, double *doublePtr) |
| 150 |
} |
| 151 |
declare 35 { |
| 152 |
int Tcl_GetDoubleFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, |
| 153 |
double *doublePtr) |
| 154 |
} |
| 155 |
declare 36 { |
| 156 |
int Tcl_GetIndexFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, |
| 157 |
CONST84 char *const *tablePtr, const char *msg, int flags, int *indexPtr) |
| 158 |
} |
| 159 |
declare 37 { |
| 160 |
int Tcl_GetInt(Tcl_Interp *interp, const char *src, int *intPtr) |
| 161 |
} |
| 162 |
declare 38 { |
| 163 |
int Tcl_GetIntFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, int *intPtr) |
| 164 |
} |
| 165 |
declare 39 { |
| 166 |
int Tcl_GetLongFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, long *longPtr) |
| 167 |
} |
| 168 |
declare 40 { |
| 169 |
CONST86 Tcl_ObjType *Tcl_GetObjType(const char *typeName) |
| 170 |
} |
| 171 |
declare 41 { |
| 172 |
char *Tcl_GetStringFromObj(Tcl_Obj *objPtr, int *lengthPtr) |
| 173 |
} |
| 174 |
declare 42 { |
| 175 |
void Tcl_InvalidateStringRep(Tcl_Obj *objPtr) |
| 176 |
} |
| 177 |
declare 43 { |
| 178 |
int Tcl_ListObjAppendList(Tcl_Interp *interp, Tcl_Obj *listPtr, |
| 179 |
Tcl_Obj *elemListPtr) |
| 180 |
} |
| 181 |
declare 44 { |
| 182 |
int Tcl_ListObjAppendElement(Tcl_Interp *interp, Tcl_Obj *listPtr, |
| 183 |
Tcl_Obj *objPtr) |
| 184 |
} |
| 185 |
declare 45 { |
| 186 |
int Tcl_ListObjGetElements(Tcl_Interp *interp, Tcl_Obj *listPtr, |
| 187 |
int *objcPtr, Tcl_Obj ***objvPtr) |
| 188 |
} |
| 189 |
declare 46 { |
| 190 |
int Tcl_ListObjIndex(Tcl_Interp *interp, Tcl_Obj *listPtr, int index, |
| 191 |
Tcl_Obj **objPtrPtr) |
| 192 |
} |
| 193 |
declare 47 { |
| 194 |
int Tcl_ListObjLength(Tcl_Interp *interp, Tcl_Obj *listPtr, |
| 195 |
int *lengthPtr) |
| 196 |
} |
| 197 |
declare 48 { |
| 198 |
int Tcl_ListObjReplace(Tcl_Interp *interp, Tcl_Obj *listPtr, int first, |
| 199 |
int count, int objc, Tcl_Obj *const objv[]) |
| 200 |
} |
| 201 |
declare 49 { |
| 202 |
Tcl_Obj *Tcl_NewBooleanObj(int intValue) |
| 203 |
} |
| 204 |
declare 50 { |
| 205 |
Tcl_Obj *Tcl_NewByteArrayObj(const unsigned char *bytes, int numBytes) |
| 206 |
} |
| 207 |
declare 51 { |
| 208 |
Tcl_Obj *Tcl_NewDoubleObj(double doubleValue) |
| 209 |
} |
| 210 |
declare 52 { |
| 211 |
Tcl_Obj *Tcl_NewIntObj(int intValue) |
| 212 |
} |
| 213 |
declare 53 { |
| 214 |
Tcl_Obj *Tcl_NewListObj(int objc, Tcl_Obj *const objv[]) |
| 215 |
} |
| 216 |
declare 54 { |
| 217 |
Tcl_Obj *Tcl_NewLongObj(long longValue) |
| 218 |
} |
| 219 |
declare 55 { |
| 220 |
Tcl_Obj *Tcl_NewObj(void) |
| 221 |
} |
| 222 |
declare 56 { |
| 223 |
Tcl_Obj *Tcl_NewStringObj(const char *bytes, int length) |
| 224 |
} |
| 225 |
declare 57 { |
| 226 |
void Tcl_SetBooleanObj(Tcl_Obj *objPtr, int intValue) |
| 227 |
} |
| 228 |
declare 58 { |
| 229 |
unsigned char *Tcl_SetByteArrayLength(Tcl_Obj *objPtr, int numBytes) |
| 230 |
} |
| 231 |
declare 59 { |
| 232 |
void Tcl_SetByteArrayObj(Tcl_Obj *objPtr, const unsigned char *bytes, |
| 233 |
int numBytes) |
| 234 |
} |
| 235 |
declare 60 { |
| 236 |
void Tcl_SetDoubleObj(Tcl_Obj *objPtr, double doubleValue) |
| 237 |
} |
| 238 |
declare 61 { |
| 239 |
void Tcl_SetIntObj(Tcl_Obj *objPtr, int intValue) |
| 240 |
} |
| 241 |
declare 62 { |
| 242 |
void Tcl_SetListObj(Tcl_Obj *objPtr, int objc, Tcl_Obj *const objv[]) |
| 243 |
} |
| 244 |
declare 63 { |
| 245 |
void Tcl_SetLongObj(Tcl_Obj *objPtr, long longValue) |
| 246 |
} |
| 247 |
declare 64 { |
| 248 |
void Tcl_SetObjLength(Tcl_Obj *objPtr, int length) |
| 249 |
} |
| 250 |
declare 65 { |
| 251 |
void Tcl_SetStringObj(Tcl_Obj *objPtr, const char *bytes, int length) |
| 252 |
} |
| 253 |
declare 66 { |
| 254 |
void Tcl_AddErrorInfo(Tcl_Interp *interp, const char *message) |
| 255 |
} |
| 256 |
declare 67 { |
| 257 |
void Tcl_AddObjErrorInfo(Tcl_Interp *interp, const char *message, |
| 258 |
int length) |
| 259 |
} |
| 260 |
declare 68 { |
| 261 |
void Tcl_AllowExceptions(Tcl_Interp *interp) |
| 262 |
} |
| 263 |
declare 69 { |
| 264 |
void Tcl_AppendElement(Tcl_Interp *interp, const char *element) |
| 265 |
} |
| 266 |
declare 70 { |
| 267 |
void Tcl_AppendResult(Tcl_Interp *interp, ...) |
| 268 |
} |
| 269 |
declare 71 { |
| 270 |
Tcl_AsyncHandler Tcl_AsyncCreate(Tcl_AsyncProc *proc, |
| 271 |
ClientData clientData) |
| 272 |
} |
| 273 |
declare 72 { |
| 274 |
void Tcl_AsyncDelete(Tcl_AsyncHandler async) |
| 275 |
} |
| 276 |
declare 73 { |
| 277 |
int Tcl_AsyncInvoke(Tcl_Interp *interp, int code) |
| 278 |
} |
| 279 |
declare 74 { |
| 280 |
void Tcl_AsyncMark(Tcl_AsyncHandler async) |
| 281 |
} |
| 282 |
declare 75 { |
| 283 |
int Tcl_AsyncReady(void) |
| 284 |
} |
| 285 |
declare 76 { |
| 286 |
void Tcl_BackgroundError(Tcl_Interp *interp) |
| 287 |
} |
| 288 |
declare 77 { |
| 289 |
char Tcl_Backslash(const char *src, int *readPtr) |
| 290 |
} |
| 291 |
declare 78 { |
| 292 |
int Tcl_BadChannelOption(Tcl_Interp *interp, const char *optionName, |
| 293 |
const char *optionList) |
| 294 |
} |
| 295 |
declare 79 { |
| 296 |
void Tcl_CallWhenDeleted(Tcl_Interp *interp, Tcl_InterpDeleteProc *proc, |
| 297 |
ClientData clientData) |
| 298 |
} |
| 299 |
declare 80 { |
| 300 |
void Tcl_CancelIdleCall(Tcl_IdleProc *idleProc, ClientData clientData) |
| 301 |
} |
| 302 |
declare 81 { |
| 303 |
int Tcl_Close(Tcl_Interp *interp, Tcl_Channel chan) |
| 304 |
} |
| 305 |
declare 82 { |
| 306 |
int Tcl_CommandComplete(const char *cmd) |
| 307 |
} |
| 308 |
declare 83 { |
| 309 |
char *Tcl_Concat(int argc, CONST84 char *const *argv) |
| 310 |
} |
| 311 |
declare 84 { |
| 312 |
int Tcl_ConvertElement(const char *src, char *dst, int flags) |
| 313 |
} |
| 314 |
declare 85 { |
| 315 |
int Tcl_ConvertCountedElement(const char *src, int length, char *dst, |
| 316 |
int flags) |
| 317 |
} |
| 318 |
declare 86 { |
| 319 |
int Tcl_CreateAlias(Tcl_Interp *childInterp, const char *childCmd, |
| 320 |
Tcl_Interp *target, const char *targetCmd, int argc, |
| 321 |
CONST84 char *const *argv) |
| 322 |
} |
| 323 |
declare 87 { |
| 324 |
int Tcl_CreateAliasObj(Tcl_Interp *childInterp, const char *childCmd, |
| 325 |
Tcl_Interp *target, const char *targetCmd, int objc, |
| 326 |
Tcl_Obj *const objv[]) |
| 327 |
} |
| 328 |
declare 88 { |
| 329 |
Tcl_Channel Tcl_CreateChannel(const Tcl_ChannelType *typePtr, |
| 330 |
const char *chanName, ClientData instanceData, int mask) |
| 331 |
} |
| 332 |
declare 89 { |
| 333 |
void Tcl_CreateChannelHandler(Tcl_Channel chan, int mask, |
| 334 |
Tcl_ChannelProc *proc, ClientData clientData) |
| 335 |
} |
| 336 |
declare 90 { |
| 337 |
void Tcl_CreateCloseHandler(Tcl_Channel chan, Tcl_CloseProc *proc, |
| 338 |
ClientData clientData) |
| 339 |
} |
| 340 |
declare 91 { |
| 341 |
Tcl_Command Tcl_CreateCommand(Tcl_Interp *interp, const char *cmdName, |
| 342 |
Tcl_CmdProc *proc, ClientData clientData, |
| 343 |
Tcl_CmdDeleteProc *deleteProc) |
| 344 |
} |
| 345 |
declare 92 { |
| 346 |
void Tcl_CreateEventSource(Tcl_EventSetupProc *setupProc, |
| 347 |
Tcl_EventCheckProc *checkProc, ClientData clientData) |
| 348 |
} |
| 349 |
declare 93 { |
| 350 |
void Tcl_CreateExitHandler(Tcl_ExitProc *proc, ClientData clientData) |
| 351 |
} |
| 352 |
declare 94 { |
| 353 |
Tcl_Interp *Tcl_CreateInterp(void) |
| 354 |
} |
| 355 |
declare 95 { |
| 356 |
void Tcl_CreateMathFunc(Tcl_Interp *interp, const char *name, |
| 357 |
int numArgs, Tcl_ValueType *argTypes, |
| 358 |
Tcl_MathProc *proc, ClientData clientData) |
| 359 |
} |
| 360 |
declare 96 { |
| 361 |
Tcl_Command Tcl_CreateObjCommand(Tcl_Interp *interp, |
| 362 |
const char *cmdName, |
| 363 |
Tcl_ObjCmdProc *proc, ClientData clientData, |
| 364 |
Tcl_CmdDeleteProc *deleteProc) |
| 365 |
} |
| 366 |
declare 97 { |
| 367 |
Tcl_Interp *Tcl_CreateSlave(Tcl_Interp *interp, const char *name, |
| 368 |
int isSafe) |
| 369 |
} |
| 370 |
declare 98 { |
| 371 |
Tcl_TimerToken Tcl_CreateTimerHandler(int milliseconds, |
| 372 |
Tcl_TimerProc *proc, ClientData clientData) |
| 373 |
} |
| 374 |
declare 99 { |
| 375 |
Tcl_Trace Tcl_CreateTrace(Tcl_Interp *interp, int level, |
| 376 |
Tcl_CmdTraceProc *proc, ClientData clientData) |
| 377 |
} |
| 378 |
declare 100 { |
| 379 |
void Tcl_DeleteAssocData(Tcl_Interp *interp, const char *name) |
| 380 |
} |
| 381 |
declare 101 { |
| 382 |
void Tcl_DeleteChannelHandler(Tcl_Channel chan, Tcl_ChannelProc *proc, |
| 383 |
ClientData clientData) |
| 384 |
} |
| 385 |
declare 102 { |
| 386 |
void Tcl_DeleteCloseHandler(Tcl_Channel chan, Tcl_CloseProc *proc, |
| 387 |
ClientData clientData) |
| 388 |
} |
| 389 |
declare 103 { |
| 390 |
int Tcl_DeleteCommand(Tcl_Interp *interp, const char *cmdName) |
| 391 |
} |
| 392 |
declare 104 { |
| 393 |
int Tcl_DeleteCommandFromToken(Tcl_Interp *interp, Tcl_Command command) |
| 394 |
} |
| 395 |
declare 105 { |
| 396 |
void Tcl_DeleteEvents(Tcl_EventDeleteProc *proc, ClientData clientData) |
| 397 |
} |
| 398 |
declare 106 { |
| 399 |
void Tcl_DeleteEventSource(Tcl_EventSetupProc *setupProc, |
| 400 |
Tcl_EventCheckProc *checkProc, ClientData clientData) |
| 401 |
} |
| 402 |
declare 107 { |
| 403 |
void Tcl_DeleteExitHandler(Tcl_ExitProc *proc, ClientData clientData) |
| 404 |
} |
| 405 |
declare 108 { |
| 406 |
void Tcl_DeleteHashEntry(Tcl_HashEntry *entryPtr) |
| 407 |
} |
| 408 |
declare 109 { |
| 409 |
void Tcl_DeleteHashTable(Tcl_HashTable *tablePtr) |
| 410 |
} |
| 411 |
declare 110 { |
| 412 |
void Tcl_DeleteInterp(Tcl_Interp *interp) |
| 413 |
} |
| 414 |
declare 111 { |
| 415 |
void Tcl_DetachPids(int numPids, Tcl_Pid *pidPtr) |
| 416 |
} |
| 417 |
declare 112 { |
| 418 |
void Tcl_DeleteTimerHandler(Tcl_TimerToken token) |
| 419 |
} |
| 420 |
declare 113 { |
| 421 |
void Tcl_DeleteTrace(Tcl_Interp *interp, Tcl_Trace trace) |
| 422 |
} |
| 423 |
declare 114 { |
| 424 |
void Tcl_DontCallWhenDeleted(Tcl_Interp *interp, |
| 425 |
Tcl_InterpDeleteProc *proc, ClientData clientData) |
| 426 |
} |
| 427 |
declare 115 { |
| 428 |
int Tcl_DoOneEvent(int flags) |
| 429 |
} |
| 430 |
declare 116 { |
| 431 |
void Tcl_DoWhenIdle(Tcl_IdleProc *proc, ClientData clientData) |
| 432 |
} |
| 433 |
declare 117 { |
| 434 |
char *Tcl_DStringAppend(Tcl_DString *dsPtr, const char *bytes, int length) |
| 435 |
} |
| 436 |
declare 118 { |
| 437 |
char *Tcl_DStringAppendElement(Tcl_DString *dsPtr, const char *element) |
| 438 |
} |
| 439 |
declare 119 { |
| 440 |
void Tcl_DStringEndSublist(Tcl_DString *dsPtr) |
| 441 |
} |
| 442 |
declare 120 { |
| 443 |
void Tcl_DStringFree(Tcl_DString *dsPtr) |
| 444 |
} |
| 445 |
declare 121 { |
| 446 |
void Tcl_DStringGetResult(Tcl_Interp *interp, Tcl_DString *dsPtr) |
| 447 |
} |
| 448 |
declare 122 { |
| 449 |
void Tcl_DStringInit(Tcl_DString *dsPtr) |
| 450 |
} |
| 451 |
declare 123 { |
| 452 |
void Tcl_DStringResult(Tcl_Interp *interp, Tcl_DString *dsPtr) |
| 453 |
} |
| 454 |
declare 124 { |
| 455 |
void Tcl_DStringSetLength(Tcl_DString *dsPtr, int length) |
| 456 |
} |
| 457 |
declare 125 { |
| 458 |
void Tcl_DStringStartSublist(Tcl_DString *dsPtr) |
| 459 |
} |
| 460 |
declare 126 { |
| 461 |
int Tcl_Eof(Tcl_Channel chan) |
| 462 |
} |
| 463 |
declare 127 { |
| 464 |
CONST84_RETURN char *Tcl_ErrnoId(void) |
| 465 |
} |
| 466 |
declare 128 { |
| 467 |
CONST84_RETURN char *Tcl_ErrnoMsg(int err) |
| 468 |
} |
| 469 |
declare 129 { |
| 470 |
int Tcl_Eval(Tcl_Interp *interp, const char *script) |
| 471 |
} |
| 472 |
declare 130 { |
| 473 |
int Tcl_EvalFile(Tcl_Interp *interp, const char *fileName) |
| 474 |
} |
| 475 |
declare 131 { |
| 476 |
int Tcl_EvalObj(Tcl_Interp *interp, Tcl_Obj *objPtr) |
| 477 |
} |
| 478 |
declare 132 { |
| 479 |
void Tcl_EventuallyFree(ClientData clientData, Tcl_FreeProc *freeProc) |
| 480 |
} |
| 481 |
declare 133 { |
| 482 |
TCL_NORETURN void Tcl_Exit(int status) |
| 483 |
} |
| 484 |
declare 134 { |
| 485 |
int Tcl_ExposeCommand(Tcl_Interp *interp, const char *hiddenCmdToken, |
| 486 |
const char *cmdName) |
| 487 |
} |
| 488 |
declare 135 { |
| 489 |
int Tcl_ExprBoolean(Tcl_Interp *interp, const char *expr, int *ptr) |
| 490 |
} |
| 491 |
declare 136 { |
| 492 |
int Tcl_ExprBooleanObj(Tcl_Interp *interp, Tcl_Obj *objPtr, int *ptr) |
| 493 |
} |
| 494 |
declare 137 { |
| 495 |
int Tcl_ExprDouble(Tcl_Interp *interp, const char *expr, double *ptr) |
| 496 |
} |
| 497 |
declare 138 { |
| 498 |
int Tcl_ExprDoubleObj(Tcl_Interp *interp, Tcl_Obj *objPtr, double *ptr) |
| 499 |
} |
| 500 |
declare 139 { |
| 501 |
int Tcl_ExprLong(Tcl_Interp *interp, const char *expr, long *ptr) |
| 502 |
} |
| 503 |
declare 140 { |
| 504 |
int Tcl_ExprLongObj(Tcl_Interp *interp, Tcl_Obj *objPtr, long *ptr) |
| 505 |
} |
| 506 |
declare 141 { |
| 507 |
int Tcl_ExprObj(Tcl_Interp *interp, Tcl_Obj *objPtr, |
| 508 |
Tcl_Obj **resultPtrPtr) |
| 509 |
} |
| 510 |
declare 142 { |
| 511 |
int Tcl_ExprString(Tcl_Interp *interp, const char *expr) |
| 512 |
} |
| 513 |
declare 143 { |
| 514 |
void Tcl_Finalize(void) |
| 515 |
} |
| 516 |
declare 144 { |
| 517 |
void Tcl_FindExecutable(const char *argv0) |
| 518 |
} |
| 519 |
declare 145 { |
| 520 |
Tcl_HashEntry *Tcl_FirstHashEntry(Tcl_HashTable *tablePtr, |
| 521 |
Tcl_HashSearch *searchPtr) |
| 522 |
} |
| 523 |
declare 146 { |
| 524 |
int Tcl_Flush(Tcl_Channel chan) |
| 525 |
} |
| 526 |
declare 147 { |
| 527 |
void Tcl_FreeResult(Tcl_Interp *interp) |
| 528 |
} |
| 529 |
declare 148 { |
| 530 |
int Tcl_GetAlias(Tcl_Interp *interp, const char *childCmd, |
| 531 |
Tcl_Interp **targetInterpPtr, CONST84 char **targetCmdPtr, |
| 532 |
int *argcPtr, CONST84 char ***argvPtr) |
| 533 |
} |
| 534 |
declare 149 { |
| 535 |
int Tcl_GetAliasObj(Tcl_Interp *interp, const char *childCmd, |
| 536 |
Tcl_Interp **targetInterpPtr, CONST84 char **targetCmdPtr, |
| 537 |
int *objcPtr, Tcl_Obj ***objvPtr) |
| 538 |
} |
| 539 |
declare 150 { |
| 540 |
ClientData Tcl_GetAssocData(Tcl_Interp *interp, const char *name, |
| 541 |
Tcl_InterpDeleteProc **procPtr) |
| 542 |
} |
| 543 |
declare 151 { |
| 544 |
Tcl_Channel Tcl_GetChannel(Tcl_Interp *interp, const char *chanName, |
| 545 |
int *modePtr) |
| 546 |
} |
| 547 |
declare 152 { |
| 548 |
int Tcl_GetChannelBufferSize(Tcl_Channel chan) |
| 549 |
} |
| 550 |
declare 153 { |
| 551 |
int Tcl_GetChannelHandle(Tcl_Channel chan, int direction, |
| 552 |
ClientData *handlePtr) |
| 553 |
} |
| 554 |
declare 154 { |
| 555 |
ClientData Tcl_GetChannelInstanceData(Tcl_Channel chan) |
| 556 |
} |
| 557 |
declare 155 { |
| 558 |
int Tcl_GetChannelMode(Tcl_Channel chan) |
| 559 |
} |
| 560 |
declare 156 { |
| 561 |
CONST84_RETURN char *Tcl_GetChannelName(Tcl_Channel chan) |
| 562 |
} |
| 563 |
declare 157 { |
| 564 |
int Tcl_GetChannelOption(Tcl_Interp *interp, Tcl_Channel chan, |
| 565 |
const char *optionName, Tcl_DString *dsPtr) |
| 566 |
} |
| 567 |
declare 158 { |
| 568 |
CONST86 Tcl_ChannelType *Tcl_GetChannelType(Tcl_Channel chan) |
| 569 |
} |
| 570 |
declare 159 { |
| 571 |
int Tcl_GetCommandInfo(Tcl_Interp *interp, const char *cmdName, |
| 572 |
Tcl_CmdInfo *infoPtr) |
| 573 |
} |
| 574 |
declare 160 { |
| 575 |
CONST84_RETURN char *Tcl_GetCommandName(Tcl_Interp *interp, |
| 576 |
Tcl_Command command) |
| 577 |
} |
| 578 |
declare 161 { |
| 579 |
int Tcl_GetErrno(void) |
| 580 |
} |
| 581 |
declare 162 { |
| 582 |
CONST84_RETURN char *Tcl_GetHostName(void) |
| 583 |
} |
| 584 |
declare 163 { |
| 585 |
int Tcl_GetInterpPath(Tcl_Interp *interp, Tcl_Interp *childInterp) |
| 586 |
} |
| 587 |
declare 164 { |
| 588 |
Tcl_Interp *Tcl_GetMaster(Tcl_Interp *interp) |
| 589 |
} |
| 590 |
declare 165 { |
| 591 |
const char *Tcl_GetNameOfExecutable(void) |
| 592 |
} |
| 593 |
declare 166 { |
| 594 |
Tcl_Obj *Tcl_GetObjResult(Tcl_Interp *interp) |
| 595 |
} |
| 596 |
|
| 597 |
# Tcl_GetOpenFile is only available on unix, but it is a part of the old |
| 598 |
# generic interface, so we include it here for compatibility reasons. |
| 599 |
|
| 600 |
declare 167 unix { |
| 601 |
int Tcl_GetOpenFile(Tcl_Interp *interp, const char *chanID, |
| 602 |
int forWriting, int checkUsage, ClientData *filePtr) |
| 603 |
} |
| 604 |
# Obsolete. Should now use Tcl_FSGetPathType which is objectified |
| 605 |
# and therefore usually faster. |
| 606 |
declare 168 { |
| 607 |
Tcl_PathType Tcl_GetPathType(const char *path) |
| 608 |
} |
| 609 |
declare 169 { |
| 610 |
int Tcl_Gets(Tcl_Channel chan, Tcl_DString *dsPtr) |
| 611 |
} |
| 612 |
declare 170 { |
| 613 |
int Tcl_GetsObj(Tcl_Channel chan, Tcl_Obj *objPtr) |
| 614 |
} |
| 615 |
declare 171 { |
| 616 |
int Tcl_GetServiceMode(void) |
| 617 |
} |
| 618 |
declare 172 { |
| 619 |
Tcl_Interp *Tcl_GetSlave(Tcl_Interp *interp, const char *name) |
| 620 |
} |
| 621 |
declare 173 { |
| 622 |
Tcl_Channel Tcl_GetStdChannel(int type) |
| 623 |
} |
| 624 |
declare 174 { |
| 625 |
CONST84_RETURN char *Tcl_GetStringResult(Tcl_Interp *interp) |
| 626 |
} |
| 627 |
declare 175 { |
| 628 |
CONST84_RETURN char *Tcl_GetVar(Tcl_Interp *interp, const char *varName, |
| 629 |
int flags) |
| 630 |
} |
| 631 |
declare 176 { |
| 632 |
CONST84_RETURN char *Tcl_GetVar2(Tcl_Interp *interp, const char *part1, |
| 633 |
const char *part2, int flags) |
| 634 |
} |
| 635 |
declare 177 { |
| 636 |
int Tcl_GlobalEval(Tcl_Interp *interp, const char *command) |
| 637 |
} |
| 638 |
declare 178 { |
| 639 |
int Tcl_GlobalEvalObj(Tcl_Interp *interp, Tcl_Obj *objPtr) |
| 640 |
} |
| 641 |
declare 179 { |
| 642 |
int Tcl_HideCommand(Tcl_Interp *interp, const char *cmdName, |
| 643 |
const char *hiddenCmdToken) |
| 644 |
} |
| 645 |
declare 180 { |
| 646 |
int Tcl_Init(Tcl_Interp *interp) |
| 647 |
} |
| 648 |
declare 181 { |
| 649 |
void Tcl_InitHashTable(Tcl_HashTable *tablePtr, int keyType) |
| 650 |
} |
| 651 |
declare 182 { |
| 652 |
int Tcl_InputBlocked(Tcl_Channel chan) |
| 653 |
} |
| 654 |
declare 183 { |
| 655 |
int Tcl_InputBuffered(Tcl_Channel chan) |
| 656 |
} |
| 657 |
declare 184 { |
| 658 |
int Tcl_InterpDeleted(Tcl_Interp *interp) |
| 659 |
} |
| 660 |
declare 185 { |
| 661 |
int Tcl_IsSafe(Tcl_Interp *interp) |
| 662 |
} |
| 663 |
# Obsolete, use Tcl_FSJoinPath |
| 664 |
declare 186 { |
| 665 |
char *Tcl_JoinPath(int argc, CONST84 char *const *argv, |
| 666 |
Tcl_DString *resultPtr) |
| 667 |
} |
| 668 |
declare 187 { |
| 669 |
int Tcl_LinkVar(Tcl_Interp *interp, const char *varName, char *addr, |
| 670 |
int type) |
| 671 |
} |
| 672 |
|
| 673 |
# This slot is reserved for use by the plus patch: |
| 674 |
# declare 188 { |
| 675 |
# Tcl_MainLoop |
| 676 |
# } |
| 677 |
|
| 678 |
declare 189 { |
| 679 |
Tcl_Channel Tcl_MakeFileChannel(ClientData handle, int mode) |
| 680 |
} |
| 681 |
declare 190 { |
| 682 |
int Tcl_MakeSafe(Tcl_Interp *interp) |
| 683 |
} |
| 684 |
declare 191 { |
| 685 |
Tcl_Channel Tcl_MakeTcpClientChannel(ClientData tcpSocket) |
| 686 |
} |
| 687 |
declare 192 { |
| 688 |
char *Tcl_Merge(int argc, CONST84 char *const *argv) |
| 689 |
} |
| 690 |
declare 193 { |
| 691 |
Tcl_HashEntry *Tcl_NextHashEntry(Tcl_HashSearch *searchPtr) |
| 692 |
} |
| 693 |
declare 194 { |
| 694 |
void Tcl_NotifyChannel(Tcl_Channel channel, int mask) |
| 695 |
} |
| 696 |
declare 195 { |
| 697 |
Tcl_Obj *Tcl_ObjGetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, |
| 698 |
Tcl_Obj *part2Ptr, int flags) |
| 699 |
} |
| 700 |
declare 196 { |
| 701 |
Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, |
| 702 |
Tcl_Obj *part2Ptr, Tcl_Obj *newValuePtr, int flags) |
| 703 |
} |
| 704 |
declare 197 { |
| 705 |
Tcl_Channel Tcl_OpenCommandChannel(Tcl_Interp *interp, int argc, |
| 706 |
CONST84 char **argv, int flags) |
| 707 |
} |
| 708 |
# This is obsolete, use Tcl_FSOpenFileChannel |
| 709 |
declare 198 { |
| 710 |
Tcl_Channel Tcl_OpenFileChannel(Tcl_Interp *interp, const char *fileName, |
| 711 |
const char *modeString, int permissions) |
| 712 |
} |
| 713 |
declare 199 { |
| 714 |
Tcl_Channel Tcl_OpenTcpClient(Tcl_Interp *interp, int port, |
| 715 |
const char *address, const char *myaddr, int myport, int flags) |
| 716 |
} |
| 717 |
declare 200 { |
| 718 |
Tcl_Channel Tcl_OpenTcpServer(Tcl_Interp *interp, int port, |
| 719 |
const char *host, Tcl_TcpAcceptProc *acceptProc, |
| 720 |
ClientData callbackData) |
| 721 |
} |
| 722 |
declare 201 { |
| 723 |
void Tcl_Preserve(ClientData data) |
| 724 |
} |
| 725 |
declare 202 { |
| 726 |
void Tcl_PrintDouble(Tcl_Interp *interp, double value, char *dst) |
| 727 |
} |
| 728 |
declare 203 { |
| 729 |
int Tcl_PutEnv(const char *assignment) |
| 730 |
} |
| 731 |
declare 204 { |
| 732 |
CONST84_RETURN char *Tcl_PosixError(Tcl_Interp *interp) |
| 733 |
} |
| 734 |
declare 205 { |
| 735 |
void Tcl_QueueEvent(Tcl_Event *evPtr, Tcl_QueuePosition position) |
| 736 |
} |
| 737 |
declare 206 { |
| 738 |
int Tcl_Read(Tcl_Channel chan, char *bufPtr, int toRead) |
| 739 |
} |
| 740 |
declare 207 { |
| 741 |
void Tcl_ReapDetachedProcs(void) |
| 742 |
} |
| 743 |
declare 208 { |
| 744 |
int Tcl_RecordAndEval(Tcl_Interp *interp, const char *cmd, int flags) |
| 745 |
} |
| 746 |
declare 209 { |
| 747 |
int Tcl_RecordAndEvalObj(Tcl_Interp *interp, Tcl_Obj *cmdPtr, int flags) |
| 748 |
} |
| 749 |
declare 210 { |
| 750 |
void Tcl_RegisterChannel(Tcl_Interp *interp, Tcl_Channel chan) |
| 751 |
} |
| 752 |
declare 211 { |
| 753 |
void Tcl_RegisterObjType(const Tcl_ObjType *typePtr) |
| 754 |
} |
| 755 |
declare 212 { |
| 756 |
Tcl_RegExp Tcl_RegExpCompile(Tcl_Interp *interp, const char *pattern) |
| 757 |
} |
| 758 |
declare 213 { |
| 759 |
int Tcl_RegExpExec(Tcl_Interp *interp, Tcl_RegExp regexp, |
| 760 |
const char *text, const char *start) |
| 761 |
} |
| 762 |
declare 214 { |
| 763 |
int Tcl_RegExpMatch(Tcl_Interp *interp, const char *text, |
| 764 |
const char *pattern) |
| 765 |
} |
| 766 |
declare 215 { |
| 767 |
void Tcl_RegExpRange(Tcl_RegExp regexp, int index, |
| 768 |
CONST84 char **startPtr, CONST84 char **endPtr) |
| 769 |
} |
| 770 |
declare 216 { |
| 771 |
void Tcl_Release(ClientData clientData) |
| 772 |
} |
| 773 |
declare 217 { |
| 774 |
void Tcl_ResetResult(Tcl_Interp *interp) |
| 775 |
} |
| 776 |
declare 218 { |
| 777 |
int Tcl_ScanElement(const char *src, int *flagPtr) |
| 778 |
} |
| 779 |
declare 219 { |
| 780 |
int Tcl_ScanCountedElement(const char *src, int length, int *flagPtr) |
| 781 |
} |
| 782 |
# Obsolete |
| 783 |
declare 220 { |
| 784 |
int Tcl_SeekOld(Tcl_Channel chan, int offset, int mode) |
| 785 |
} |
| 786 |
declare 221 { |
| 787 |
int Tcl_ServiceAll(void) |
| 788 |
} |
| 789 |
declare 222 { |
| 790 |
int Tcl_ServiceEvent(int flags) |
| 791 |
} |
| 792 |
declare 223 { |
| 793 |
void Tcl_SetAssocData(Tcl_Interp *interp, const char *name, |
| 794 |
Tcl_InterpDeleteProc *proc, ClientData clientData) |
| 795 |
} |
| 796 |
declare 224 { |
| 797 |
void Tcl_SetChannelBufferSize(Tcl_Channel chan, int sz) |
| 798 |
} |
| 799 |
declare 225 { |
| 800 |
int Tcl_SetChannelOption(Tcl_Interp *interp, Tcl_Channel chan, |
| 801 |
const char *optionName, const char *newValue) |
| 802 |
} |
| 803 |
declare 226 { |
| 804 |
int Tcl_SetCommandInfo(Tcl_Interp *interp, const char *cmdName, |
| 805 |
const Tcl_CmdInfo *infoPtr) |
| 806 |
} |
| 807 |
declare 227 { |
| 808 |
void Tcl_SetErrno(int err) |
| 809 |
} |
| 810 |
declare 228 { |
| 811 |
void Tcl_SetErrorCode(Tcl_Interp *interp, ...) |
| 812 |
} |
| 813 |
declare 229 { |
| 814 |
void Tcl_SetMaxBlockTime(const Tcl_Time *timePtr) |
| 815 |
} |
| 816 |
declare 230 { |
| 817 |
void Tcl_SetPanicProc(Tcl_PanicProc *panicProc) |
| 818 |
} |
| 819 |
declare 231 { |
| 820 |
int Tcl_SetRecursionLimit(Tcl_Interp *interp, int depth) |
| 821 |
} |
| 822 |
declare 232 { |
| 823 |
void Tcl_SetResult(Tcl_Interp *interp, char *result, |
| 824 |
Tcl_FreeProc *freeProc) |
| 825 |
} |
| 826 |
declare 233 { |
| 827 |
int Tcl_SetServiceMode(int mode) |
| 828 |
} |
| 829 |
declare 234 { |
| 830 |
void Tcl_SetObjErrorCode(Tcl_Interp *interp, Tcl_Obj *errorObjPtr) |
| 831 |
} |
| 832 |
declare 235 { |
| 833 |
void Tcl_SetObjResult(Tcl_Interp *interp, Tcl_Obj *resultObjPtr) |
| 834 |
} |
| 835 |
declare 236 { |
| 836 |
void Tcl_SetStdChannel(Tcl_Channel channel, int type) |
| 837 |
} |
| 838 |
declare 237 { |
| 839 |
CONST84_RETURN char *Tcl_SetVar(Tcl_Interp *interp, const char *varName, |
| 840 |
const char *newValue, int flags) |
| 841 |
} |
| 842 |
declare 238 { |
| 843 |
CONST84_RETURN char *Tcl_SetVar2(Tcl_Interp *interp, const char *part1, |
| 844 |
const char *part2, const char *newValue, int flags) |
| 845 |
} |
| 846 |
declare 239 { |
| 847 |
CONST84_RETURN char *Tcl_SignalId(int sig) |
| 848 |
} |
| 849 |
declare 240 { |
| 850 |
CONST84_RETURN char *Tcl_SignalMsg(int sig) |
| 851 |
} |
| 852 |
declare 241 { |
| 853 |
void Tcl_SourceRCFile(Tcl_Interp *interp) |
| 854 |
} |
| 855 |
declare 242 { |
| 856 |
int Tcl_SplitList(Tcl_Interp *interp, const char *listStr, int *argcPtr, |
| 857 |
CONST84 char ***argvPtr) |
| 858 |
} |
| 859 |
# Obsolete, use Tcl_FSSplitPath |
| 860 |
declare 243 { |
| 861 |
void Tcl_SplitPath(const char *path, int *argcPtr, CONST84 char ***argvPtr) |
| 862 |
} |
| 863 |
declare 244 { |
| 864 |
void Tcl_StaticPackage(Tcl_Interp *interp, const char *prefix, |
| 865 |
Tcl_PackageInitProc *initProc, Tcl_PackageInitProc *safeInitProc) |
| 866 |
} |
| 867 |
declare 245 { |
| 868 |
int Tcl_StringMatch(const char *str, const char *pattern) |
| 869 |
} |
| 870 |
# Obsolete |
| 871 |
declare 246 { |
| 872 |
int Tcl_TellOld(Tcl_Channel chan) |
| 873 |
} |
| 874 |
declare 247 { |
| 875 |
int Tcl_TraceVar(Tcl_Interp *interp, const char *varName, int flags, |
| 876 |
Tcl_VarTraceProc *proc, ClientData clientData) |
| 877 |
} |
| 878 |
declare 248 { |
| 879 |
int Tcl_TraceVar2(Tcl_Interp *interp, const char *part1, const char *part2, |
| 880 |
int flags, Tcl_VarTraceProc *proc, ClientData clientData) |
| 881 |
} |
| 882 |
declare 249 { |
| 883 |
char *Tcl_TranslateFileName(Tcl_Interp *interp, const char *name, |
| 884 |
Tcl_DString *bufferPtr) |
| 885 |
} |
| 886 |
declare 250 { |
| 887 |
int Tcl_Ungets(Tcl_Channel chan, const char *str, int len, int atHead) |
| 888 |
} |
| 889 |
declare 251 { |
| 890 |
void Tcl_UnlinkVar(Tcl_Interp *interp, const char *varName) |
| 891 |
} |
| 892 |
declare 252 { |
| 893 |
int Tcl_UnregisterChannel(Tcl_Interp *interp, Tcl_Channel chan) |
| 894 |
} |
| 895 |
declare 253 { |
| 896 |
int Tcl_UnsetVar(Tcl_Interp *interp, const char *varName, int flags) |
| 897 |
} |
| 898 |
declare 254 { |
| 899 |
int Tcl_UnsetVar2(Tcl_Interp *interp, const char *part1, const char *part2, |
| 900 |
int flags) |
| 901 |
} |
| 902 |
declare 255 { |
| 903 |
void Tcl_UntraceVar(Tcl_Interp *interp, const char *varName, int flags, |
| 904 |
Tcl_VarTraceProc *proc, ClientData clientData) |
| 905 |
} |
| 906 |
declare 256 { |
| 907 |
void Tcl_UntraceVar2(Tcl_Interp *interp, const char *part1, |
| 908 |
const char *part2, int flags, Tcl_VarTraceProc *proc, |
| 909 |
ClientData clientData) |
| 910 |
} |
| 911 |
declare 257 { |
| 912 |
void Tcl_UpdateLinkedVar(Tcl_Interp *interp, const char *varName) |
| 913 |
} |
| 914 |
declare 258 { |
| 915 |
int Tcl_UpVar(Tcl_Interp *interp, const char *frameName, |
| 916 |
const char *varName, const char *localName, int flags) |
| 917 |
} |
| 918 |
declare 259 { |
| 919 |
int Tcl_UpVar2(Tcl_Interp *interp, const char *frameName, const char *part1, |
| 920 |
const char *part2, const char *localName, int flags) |
| 921 |
} |
| 922 |
declare 260 { |
| 923 |
int Tcl_VarEval(Tcl_Interp *interp, ...) |
| 924 |
} |
| 925 |
declare 261 { |
| 926 |
ClientData Tcl_VarTraceInfo(Tcl_Interp *interp, const char *varName, |
| 927 |
int flags, Tcl_VarTraceProc *procPtr, ClientData prevClientData) |
| 928 |
} |
| 929 |
declare 262 { |
| 930 |
ClientData Tcl_VarTraceInfo2(Tcl_Interp *interp, const char *part1, |
| 931 |
const char *part2, int flags, Tcl_VarTraceProc *procPtr, |
| 932 |
ClientData prevClientData) |
| 933 |
} |
| 934 |
declare 263 { |
| 935 |
int Tcl_Write(Tcl_Channel chan, const char *s, int slen) |
| 936 |
} |
| 937 |
declare 264 { |
| 938 |
void Tcl_WrongNumArgs(Tcl_Interp *interp, int objc, |
| 939 |
Tcl_Obj *const objv[], const char *message) |
| 940 |
} |
| 941 |
declare 265 { |
| 942 |
int Tcl_DumpActiveMemory(const char *fileName) |
| 943 |
} |
| 944 |
declare 266 { |
| 945 |
void Tcl_ValidateAllMemory(const char *file, int line) |
| 946 |
} |
| 947 |
declare 267 { |
| 948 |
void Tcl_AppendResultVA(Tcl_Interp *interp, va_list argList) |
| 949 |
} |
| 950 |
declare 268 { |
| 951 |
void Tcl_AppendStringsToObjVA(Tcl_Obj *objPtr, va_list argList) |
| 952 |
} |
| 953 |
declare 269 { |
| 954 |
char *Tcl_HashStats(Tcl_HashTable *tablePtr) |
| 955 |
} |
| 956 |
declare 270 { |
| 957 |
CONST84_RETURN char *Tcl_ParseVar(Tcl_Interp *interp, const char *start, |
| 958 |
CONST84 char **termPtr) |
| 959 |
} |
| 960 |
declare 271 { |
| 961 |
CONST84_RETURN char *Tcl_PkgPresent(Tcl_Interp *interp, const char *name, |
| 962 |
const char *version, int exact) |
| 963 |
} |
| 964 |
declare 272 { |
| 965 |
CONST84_RETURN char *Tcl_PkgPresentEx(Tcl_Interp *interp, |
| 966 |
const char *name, const char *version, int exact, |
| 967 |
void *clientDataPtr) |
| 968 |
} |
| 969 |
declare 273 { |
| 970 |
int Tcl_PkgProvide(Tcl_Interp *interp, const char *name, |
| 971 |
const char *version) |
| 972 |
} |
| 973 |
# TIP #268: The internally used new Require function is in slot 573. |
| 974 |
declare 274 { |
| 975 |
CONST84_RETURN char *Tcl_PkgRequire(Tcl_Interp *interp, const char *name, |
| 976 |
const char *version, int exact) |
| 977 |
} |
| 978 |
declare 275 { |
| 979 |
void Tcl_SetErrorCodeVA(Tcl_Interp *interp, va_list argList) |
| 980 |
} |
| 981 |
declare 276 { |
| 982 |
int Tcl_VarEvalVA(Tcl_Interp *interp, va_list argList) |
| 983 |
} |
| 984 |
declare 277 { |
| 985 |
Tcl_Pid Tcl_WaitPid(Tcl_Pid pid, int *statPtr, int options) |
| 986 |
} |
| 987 |
declare 278 { |
| 988 |
TCL_NORETURN void Tcl_PanicVA(const char *format, va_list argList) |
| 989 |
} |
| 990 |
declare 279 { |
| 991 |
void Tcl_GetVersion(int *major, int *minor, int *patchLevel, int *type) |
| 992 |
} |
| 993 |
declare 280 { |
| 994 |
void Tcl_InitMemory(Tcl_Interp *interp) |
| 995 |
} |
| 996 |
|
| 997 |
# Andreas Kupries <[email protected]>, 03/21/1999 |
| 998 |
# "Trf-Patch for filtering channels" |
| 999 |
# |
| 1000 |
# C-Level API for (un)stacking of channels. This allows the introduction |
| 1001 |
# of filtering channels with relatively little changes to the core. |
| 1002 |
# This patch was created in cooperation with Jan Nijtmans [email protected] |
| 1003 |
# and is therefore part of his plus-patches too. |
| 1004 |
# |
| 1005 |
# It would have been possible to place the following definitions according |
| 1006 |
# to the alphabetical order used elsewhere in this file, but I decided |
| 1007 |
# against that to ease the maintenance of the patch across new tcl versions |
| 1008 |
# (patch usually has no problems to integrate the patch file for the last |
| 1009 |
# version into the new one). |
| 1010 |
|
| 1011 |
declare 281 { |
| 1012 |
Tcl_Channel Tcl_StackChannel(Tcl_Interp *interp, |
| 1013 |
const Tcl_ChannelType *typePtr, ClientData instanceData, |
| 1014 |
int mask, Tcl_Channel prevChan) |
| 1015 |
} |
| 1016 |
declare 282 { |
| 1017 |
int Tcl_UnstackChannel(Tcl_Interp *interp, Tcl_Channel chan) |
| 1018 |
} |
| 1019 |
declare 283 { |
| 1020 |
Tcl_Channel Tcl_GetStackedChannel(Tcl_Channel chan) |
| 1021 |
} |
| 1022 |
|
| 1023 |
# 284 was reserved, but added in 8.4a2 |
| 1024 |
declare 284 { |
| 1025 |
void Tcl_SetMainLoop(Tcl_MainLoopProc *proc) |
| 1026 |
} |
| 1027 |
|
| 1028 |
# Reserved for future use (8.0.x vs. 8.1) |
| 1029 |
# declare 285 { |
| 1030 |
# } |
| 1031 |
|
| 1032 |
# Added in 8.1: |
| 1033 |
|
| 1034 |
declare 286 { |
| 1035 |
void Tcl_AppendObjToObj(Tcl_Obj *objPtr, Tcl_Obj *appendObjPtr) |
| 1036 |
} |
| 1037 |
declare 287 { |
| 1038 |
Tcl_Encoding Tcl_CreateEncoding(const Tcl_EncodingType *typePtr) |
| 1039 |
} |
| 1040 |
declare 288 { |
| 1041 |
void Tcl_CreateThreadExitHandler(Tcl_ExitProc *proc, ClientData clientData) |
| 1042 |
} |
| 1043 |
declare 289 { |
| 1044 |
void Tcl_DeleteThreadExitHandler(Tcl_ExitProc *proc, ClientData clientData) |
| 1045 |
} |
| 1046 |
declare 290 { |
| 1047 |
void Tcl_DiscardResult(Tcl_SavedResult *statePtr) |
| 1048 |
} |
| 1049 |
declare 291 { |
| 1050 |
int Tcl_EvalEx(Tcl_Interp *interp, const char *script, int numBytes, |
| 1051 |
int flags) |
| 1052 |
} |
| 1053 |
declare 292 { |
| 1054 |
int Tcl_EvalObjv(Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], |
| 1055 |
int flags) |
| 1056 |
} |
| 1057 |
declare 293 { |
| 1058 |
int Tcl_EvalObjEx(Tcl_Interp *interp, Tcl_Obj *objPtr, int flags) |
| 1059 |
} |
| 1060 |
declare 294 { |
| 1061 |
TCL_NORETURN void Tcl_ExitThread(int status) |
| 1062 |
} |
| 1063 |
declare 295 { |
| 1064 |
int Tcl_ExternalToUtf(Tcl_Interp *interp, Tcl_Encoding encoding, |
| 1065 |
const char *src, int srcLen, int flags, |
| 1066 |
Tcl_EncodingState *statePtr, char *dst, int dstLen, |
| 1067 |
int *srcReadPtr, int *dstWrotePtr, int *dstCharsPtr) |
| 1068 |
} |
| 1069 |
declare 296 { |
| 1070 |
char *Tcl_ExternalToUtfDString(Tcl_Encoding encoding, |
| 1071 |
const char *src, int srcLen, Tcl_DString *dsPtr) |
| 1072 |
} |
| 1073 |
declare 297 { |
| 1074 |
void Tcl_FinalizeThread(void) |
| 1075 |
} |
| 1076 |
declare 298 { |
| 1077 |
void Tcl_FinalizeNotifier(ClientData clientData) |
| 1078 |
} |
| 1079 |
declare 299 { |
| 1080 |
void Tcl_FreeEncoding(Tcl_Encoding encoding) |
| 1081 |
} |
| 1082 |
declare 300 { |
| 1083 |
Tcl_ThreadId Tcl_GetCurrentThread(void) |
| 1084 |
} |
| 1085 |
declare 301 { |
| 1086 |
Tcl_Encoding Tcl_GetEncoding(Tcl_Interp *interp, const char *name) |
| 1087 |
} |
| 1088 |
declare 302 { |
| 1089 |
CONST84_RETURN char *Tcl_GetEncodingName(Tcl_Encoding encoding) |
| 1090 |
} |
| 1091 |
declare 303 { |
| 1092 |
void Tcl_GetEncodingNames(Tcl_Interp *interp) |
| 1093 |
} |
| 1094 |
declare 304 { |
| 1095 |
int Tcl_GetIndexFromObjStruct(Tcl_Interp *interp, Tcl_Obj *objPtr, |
| 1096 |
const void *tablePtr, int offset, const char *msg, int flags, |
| 1097 |
int *indexPtr) |
| 1098 |
} |
| 1099 |
declare 305 { |
| 1100 |
void *Tcl_GetThreadData(Tcl_ThreadDataKey *keyPtr, int size) |
| 1101 |
} |
| 1102 |
declare 306 { |
| 1103 |
Tcl_Obj *Tcl_GetVar2Ex(Tcl_Interp *interp, const char *part1, |
| 1104 |
const char *part2, int flags) |
| 1105 |
} |
| 1106 |
declare 307 { |
| 1107 |
ClientData Tcl_InitNotifier(void) |
| 1108 |
} |
| 1109 |
declare 308 { |
| 1110 |
void Tcl_MutexLock(Tcl_Mutex *mutexPtr) |
| 1111 |
} |
| 1112 |
declare 309 { |
| 1113 |
void Tcl_MutexUnlock(Tcl_Mutex *mutexPtr) |
| 1114 |
} |
| 1115 |
declare 310 { |
| 1116 |
void Tcl_ConditionNotify(Tcl_Condition *condPtr) |
| 1117 |
} |
| 1118 |
declare 311 { |
| 1119 |
void Tcl_ConditionWait(Tcl_Condition *condPtr, Tcl_Mutex *mutexPtr, |
| 1120 |
const Tcl_Time *timePtr) |
| 1121 |
} |
| 1122 |
declare 312 { |
| 1123 |
int Tcl_NumUtfChars(const char *src, int length) |
| 1124 |
} |
| 1125 |
declare 313 { |
| 1126 |
int Tcl_ReadChars(Tcl_Channel channel, Tcl_Obj *objPtr, |
| 1127 |
int charsToRead, int appendFlag) |
| 1128 |
} |
| 1129 |
declare 314 { |
| 1130 |
void Tcl_RestoreResult(Tcl_Interp *interp, Tcl_SavedResult *statePtr) |
| 1131 |
} |
| 1132 |
declare 315 { |
| 1133 |
void Tcl_SaveResult(Tcl_Interp *interp, Tcl_SavedResult *statePtr) |
| 1134 |
} |
| 1135 |
declare 316 { |
| 1136 |
int Tcl_SetSystemEncoding(Tcl_Interp *interp, const char *name) |
| 1137 |
} |
| 1138 |
declare 317 { |
| 1139 |
Tcl_Obj *Tcl_SetVar2Ex(Tcl_Interp *interp, const char *part1, |
| 1140 |
const char *part2, Tcl_Obj *newValuePtr, int flags) |
| 1141 |
} |
| 1142 |
declare 318 { |
| 1143 |
void Tcl_ThreadAlert(Tcl_ThreadId threadId) |
| 1144 |
} |
| 1145 |
declare 319 { |
| 1146 |
void Tcl_ThreadQueueEvent(Tcl_ThreadId threadId, Tcl_Event *evPtr, |
| 1147 |
Tcl_QueuePosition position) |
| 1148 |
} |
| 1149 |
declare 320 { |
| 1150 |
Tcl_UniChar Tcl_UniCharAtIndex(const char *src, int index) |
| 1151 |
} |
| 1152 |
declare 321 { |
| 1153 |
Tcl_UniChar Tcl_UniCharToLower(int ch) |
| 1154 |
} |
| 1155 |
declare 322 { |
| 1156 |
Tcl_UniChar Tcl_UniCharToTitle(int ch) |
| 1157 |
} |
| 1158 |
declare 323 { |
| 1159 |
Tcl_UniChar Tcl_UniCharToUpper(int ch) |
| 1160 |
} |
| 1161 |
declare 324 { |
| 1162 |
int Tcl_UniCharToUtf(int ch, char *buf) |
| 1163 |
} |
| 1164 |
declare 325 { |
| 1165 |
CONST84_RETURN char *Tcl_UtfAtIndex(const char *src, int index) |
| 1166 |
} |
| 1167 |
declare 326 { |
| 1168 |
int Tcl_UtfCharComplete(const char *src, int length) |
| 1169 |
} |
| 1170 |
declare 327 { |
| 1171 |
int Tcl_UtfBackslash(const char *src, int *readPtr, char *dst) |
| 1172 |
} |
| 1173 |
declare 328 { |
| 1174 |
CONST84_RETURN char *Tcl_UtfFindFirst(const char *src, int ch) |
| 1175 |
} |
| 1176 |
declare 329 { |
| 1177 |
CONST84_RETURN char *Tcl_UtfFindLast(const char *src, int ch) |
| 1178 |
} |
| 1179 |
declare 330 { |
| 1180 |
CONST84_RETURN char *Tcl_UtfNext(const char *src) |
| 1181 |
} |
| 1182 |
declare 331 { |
| 1183 |
CONST84_RETURN char *Tcl_UtfPrev(const char *src, const char *start) |
| 1184 |
} |
| 1185 |
declare 332 { |
| 1186 |
int Tcl_UtfToExternal(Tcl_Interp *interp, Tcl_Encoding encoding, |
| 1187 |
const char *src, int srcLen, int flags, |
| 1188 |
Tcl_EncodingState *statePtr, char *dst, int dstLen, |
| 1189 |
int *srcReadPtr, int *dstWrotePtr, int *dstCharsPtr) |
| 1190 |
} |
| 1191 |
declare 333 { |
| 1192 |
char *Tcl_UtfToExternalDString(Tcl_Encoding encoding, |
| 1193 |
const char *src, int srcLen, Tcl_DString *dsPtr) |
| 1194 |
} |
| 1195 |
declare 334 { |
| 1196 |
int Tcl_UtfToLower(char *src) |
| 1197 |
} |
| 1198 |
declare 335 { |
| 1199 |
int Tcl_UtfToTitle(char *src) |
| 1200 |
} |
| 1201 |
declare 336 { |
| 1202 |
int Tcl_UtfToUniChar(const char *src, Tcl_UniChar *chPtr) |
| 1203 |
} |
| 1204 |
declare 337 { |
| 1205 |
int Tcl_UtfToUpper(char *src) |
| 1206 |
} |
| 1207 |
declare 338 { |
| 1208 |
int Tcl_WriteChars(Tcl_Channel chan, const char *src, int srcLen) |
| 1209 |
} |
| 1210 |
declare 339 { |
| 1211 |
int Tcl_WriteObj(Tcl_Channel chan, Tcl_Obj *objPtr) |
| 1212 |
} |
| 1213 |
declare 340 { |
| 1214 |
char *Tcl_GetString(Tcl_Obj *objPtr) |
| 1215 |
} |
| 1216 |
declare 341 { |
| 1217 |
CONST84_RETURN char *Tcl_GetDefaultEncodingDir(void) |
| 1218 |
} |
| 1219 |
declare 342 { |
| 1220 |
void Tcl_SetDefaultEncodingDir(const char *path) |
| 1221 |
} |
| 1222 |
declare 343 { |
| 1223 |
void Tcl_AlertNotifier(ClientData clientData) |
| 1224 |
} |
| 1225 |
declare 344 { |
| 1226 |
void Tcl_ServiceModeHook(int mode) |
| 1227 |
} |
| 1228 |
declare 345 { |
| 1229 |
int Tcl_UniCharIsAlnum(int ch) |
| 1230 |
} |
| 1231 |
declare 346 { |
| 1232 |
int Tcl_UniCharIsAlpha(int ch) |
| 1233 |
} |
| 1234 |
declare 347 { |
| 1235 |
int Tcl_UniCharIsDigit(int ch) |
| 1236 |
} |
| 1237 |
declare 348 { |
| 1238 |
int Tcl_UniCharIsLower(int ch) |
| 1239 |
} |
| 1240 |
declare 349 { |
| 1241 |
int Tcl_UniCharIsSpace(int ch) |
| 1242 |
} |
| 1243 |
declare 350 { |
| 1244 |
int Tcl_UniCharIsUpper(int ch) |
| 1245 |
} |
| 1246 |
declare 351 { |
| 1247 |
int Tcl_UniCharIsWordChar(int ch) |
| 1248 |
} |
| 1249 |
declare 352 { |
| 1250 |
int Tcl_UniCharLen(const Tcl_UniChar *uniStr) |
| 1251 |
} |
| 1252 |
declare 353 { |
| 1253 |
int Tcl_UniCharNcmp(const Tcl_UniChar *ucs, const Tcl_UniChar *uct, |
| 1254 |
unsigned long numChars) |
| 1255 |
} |
| 1256 |
declare 354 { |
| 1257 |
char *Tcl_UniCharToUtfDString(const Tcl_UniChar *uniStr, |
| 1258 |
int uniLength, Tcl_DString *dsPtr) |
| 1259 |
} |
| 1260 |
declare 355 { |
| 1261 |
Tcl_UniChar *Tcl_UtfToUniCharDString(const char *src, |
| 1262 |
int length, Tcl_DString *dsPtr) |
| 1263 |
} |
| 1264 |
declare 356 { |
| 1265 |
Tcl_RegExp Tcl_GetRegExpFromObj(Tcl_Interp *interp, Tcl_Obj *patObj, |
| 1266 |
int flags) |
| 1267 |
} |
| 1268 |
declare 357 { |
| 1269 |
Tcl_Obj *Tcl_EvalTokens(Tcl_Interp *interp, Tcl_Token *tokenPtr, |
| 1270 |
int count) |
| 1271 |
} |
| 1272 |
declare 358 { |
| 1273 |
void Tcl_FreeParse(Tcl_Parse *parsePtr) |
| 1274 |
} |
| 1275 |
declare 359 { |
| 1276 |
void Tcl_LogCommandInfo(Tcl_Interp *interp, const char *script, |
| 1277 |
const char *command, int length) |
| 1278 |
} |
| 1279 |
declare 360 { |
| 1280 |
int Tcl_ParseBraces(Tcl_Interp *interp, const char *start, |
| 1281 |
int numBytes, Tcl_Parse *parsePtr, int append, |
| 1282 |
CONST84 char **termPtr) |
| 1283 |
} |
| 1284 |
declare 361 { |
| 1285 |
int Tcl_ParseCommand(Tcl_Interp *interp, const char *start, |
| 1286 |
int numBytes, int nested, Tcl_Parse *parsePtr) |
| 1287 |
} |
| 1288 |
declare 362 { |
| 1289 |
int Tcl_ParseExpr(Tcl_Interp *interp, const char *start, |
| 1290 |
int numBytes, Tcl_Parse *parsePtr) |
| 1291 |
} |
| 1292 |
declare 363 { |
| 1293 |
int Tcl_ParseQuotedString(Tcl_Interp *interp, const char *start, |
| 1294 |
int numBytes, Tcl_Parse *parsePtr, int append, |
| 1295 |
CONST84 char **termPtr) |
| 1296 |
} |
| 1297 |
declare 364 { |
| 1298 |
int Tcl_ParseVarName(Tcl_Interp *interp, const char *start, |
| 1299 |
int numBytes, Tcl_Parse *parsePtr, int append) |
| 1300 |
} |
| 1301 |
# These 4 functions are obsolete, use Tcl_FSGetCwd, Tcl_FSChdir, |
| 1302 |
# Tcl_FSAccess and Tcl_FSStat |
| 1303 |
declare 365 { |
| 1304 |
char *Tcl_GetCwd(Tcl_Interp *interp, Tcl_DString *cwdPtr) |
| 1305 |
} |
| 1306 |
declare 366 { |
| 1307 |
int Tcl_Chdir(const char *dirName) |
| 1308 |
} |
| 1309 |
declare 367 { |
| 1310 |
int Tcl_Access(const char *path, int mode) |
| 1311 |
} |
| 1312 |
declare 368 { |
| 1313 |
int Tcl_Stat(const char *path, struct stat *bufPtr) |
| 1314 |
} |
| 1315 |
declare 369 { |
| 1316 |
int Tcl_UtfNcmp(const char *s1, const char *s2, unsigned long n) |
| 1317 |
} |
| 1318 |
declare 370 { |
| 1319 |
int Tcl_UtfNcasecmp(const char *s1, const char *s2, unsigned long n) |
| 1320 |
} |
| 1321 |
declare 371 { |
| 1322 |
int Tcl_StringCaseMatch(const char *str, const char *pattern, int nocase) |
| 1323 |
} |
| 1324 |
declare 372 { |
| 1325 |
int Tcl_UniCharIsControl(int ch) |
| 1326 |
} |
| 1327 |
declare 373 { |
| 1328 |
int Tcl_UniCharIsGraph(int ch) |
| 1329 |
} |
| 1330 |
declare 374 { |
| 1331 |
int Tcl_UniCharIsPrint(int ch) |
| 1332 |
} |
| 1333 |
declare 375 { |
| 1334 |
int Tcl_UniCharIsPunct(int ch) |
| 1335 |
} |
| 1336 |
declare 376 { |
| 1337 |
int Tcl_RegExpExecObj(Tcl_Interp *interp, Tcl_RegExp regexp, |
| 1338 |
Tcl_Obj *textObj, int offset, int nmatches, int flags) |
| 1339 |
} |
| 1340 |
declare 377 { |
| 1341 |
void Tcl_RegExpGetInfo(Tcl_RegExp regexp, Tcl_RegExpInfo *infoPtr) |
| 1342 |
} |
| 1343 |
declare 378 { |
| 1344 |
Tcl_Obj *Tcl_NewUnicodeObj(const Tcl_UniChar *unicode, int numChars) |
| 1345 |
} |
| 1346 |
declare 379 { |
| 1347 |
void Tcl_SetUnicodeObj(Tcl_Obj *objPtr, const Tcl_UniChar *unicode, |
| 1348 |
int numChars) |
| 1349 |
} |
| 1350 |
declare 380 { |
| 1351 |
int Tcl_GetCharLength(Tcl_Obj *objPtr) |
| 1352 |
} |
| 1353 |
declare 381 { |
| 1354 |
Tcl_UniChar Tcl_GetUniChar(Tcl_Obj *objPtr, int index) |
| 1355 |
} |
| 1356 |
declare 382 { |
| 1357 |
Tcl_UniChar *Tcl_GetUnicode(Tcl_Obj *objPtr) |
| 1358 |
} |
| 1359 |
declare 383 { |
| 1360 |
Tcl_Obj *Tcl_GetRange(Tcl_Obj *objPtr, int first, int last) |
| 1361 |
} |
| 1362 |
declare 384 { |
| 1363 |
void Tcl_AppendUnicodeToObj(Tcl_Obj *objPtr, const Tcl_UniChar *unicode, |
| 1364 |
int length) |
| 1365 |
} |
| 1366 |
declare 385 { |
| 1367 |
int Tcl_RegExpMatchObj(Tcl_Interp *interp, Tcl_Obj *textObj, |
| 1368 |
Tcl_Obj *patternObj) |
| 1369 |
} |
| 1370 |
declare 386 { |
| 1371 |
void Tcl_SetNotifier(Tcl_NotifierProcs *notifierProcPtr) |
| 1372 |
} |
| 1373 |
declare 387 { |
| 1374 |
Tcl_Mutex *Tcl_GetAllocMutex(void) |
| 1375 |
} |
| 1376 |
declare 388 { |
| 1377 |
int Tcl_GetChannelNames(Tcl_Interp *interp) |
| 1378 |
} |
| 1379 |
declare 389 { |
| 1380 |
int Tcl_GetChannelNamesEx(Tcl_Interp *interp, const char *pattern) |
| 1381 |
} |
| 1382 |
declare 390 { |
| 1383 |
int Tcl_ProcObjCmd(ClientData clientData, Tcl_Interp *interp, |
| 1384 |
int objc, Tcl_Obj *const objv[]) |
| 1385 |
} |
| 1386 |
declare 391 { |
| 1387 |
void Tcl_ConditionFinalize(Tcl_Condition *condPtr) |
| 1388 |
} |
| 1389 |
declare 392 { |
| 1390 |
void Tcl_MutexFinalize(Tcl_Mutex *mutex) |
| 1391 |
} |
| 1392 |
declare 393 { |
| 1393 |
int Tcl_CreateThread(Tcl_ThreadId *idPtr, Tcl_ThreadCreateProc *proc, |
| 1394 |
ClientData clientData, int stackSize, int flags) |
| 1395 |
} |
| 1396 |
|
| 1397 |
# Introduced in 8.3.2 |
| 1398 |
declare 394 { |
| 1399 |
int Tcl_ReadRaw(Tcl_Channel chan, char *dst, int bytesToRead) |
| 1400 |
} |
| 1401 |
declare 395 { |
| 1402 |
int Tcl_WriteRaw(Tcl_Channel chan, const char *src, int srcLen) |
| 1403 |
} |
| 1404 |
declare 396 { |
| 1405 |
Tcl_Channel Tcl_GetTopChannel(Tcl_Channel chan) |
| 1406 |
} |
| 1407 |
declare 397 { |
| 1408 |
int Tcl_ChannelBuffered(Tcl_Channel chan) |
| 1409 |
} |
| 1410 |
declare 398 { |
| 1411 |
CONST84_RETURN char *Tcl_ChannelName(const Tcl_ChannelType *chanTypePtr) |
| 1412 |
} |
| 1413 |
declare 399 { |
| 1414 |
Tcl_ChannelTypeVersion Tcl_ChannelVersion( |
| 1415 |
const Tcl_ChannelType *chanTypePtr) |
| 1416 |
} |
| 1417 |
declare 400 { |
| 1418 |
Tcl_DriverBlockModeProc *Tcl_ChannelBlockModeProc( |
| 1419 |
const Tcl_ChannelType *chanTypePtr) |
| 1420 |
} |
| 1421 |
declare 401 { |
| 1422 |
Tcl_DriverCloseProc *Tcl_ChannelCloseProc( |
| 1423 |
const Tcl_ChannelType *chanTypePtr) |
| 1424 |
} |
| 1425 |
declare 402 { |
| 1426 |
Tcl_DriverClose2Proc *Tcl_ChannelClose2Proc( |
| 1427 |
const Tcl_ChannelType *chanTypePtr) |
| 1428 |
} |
| 1429 |
declare 403 { |
| 1430 |
Tcl_DriverInputProc *Tcl_ChannelInputProc( |
| 1431 |
const Tcl_ChannelType *chanTypePtr) |
| 1432 |
} |
| 1433 |
declare 404 { |
| 1434 |
Tcl_DriverOutputProc *Tcl_ChannelOutputProc( |
| 1435 |
const Tcl_ChannelType *chanTypePtr) |
| 1436 |
} |
| 1437 |
declare 405 { |
| 1438 |
Tcl_DriverSeekProc *Tcl_ChannelSeekProc( |
| 1439 |
const Tcl_ChannelType *chanTypePtr) |
| 1440 |
} |
| 1441 |
declare 406 { |
| 1442 |
Tcl_DriverSetOptionProc *Tcl_ChannelSetOptionProc( |
| 1443 |
const Tcl_ChannelType *chanTypePtr) |
| 1444 |
} |
| 1445 |
declare 407 { |
| 1446 |
Tcl_DriverGetOptionProc *Tcl_ChannelGetOptionProc( |
| 1447 |
const Tcl_ChannelType *chanTypePtr) |
| 1448 |
} |
| 1449 |
declare 408 { |
| 1450 |
Tcl_DriverWatchProc *Tcl_ChannelWatchProc( |
| 1451 |
const Tcl_ChannelType *chanTypePtr) |
| 1452 |
} |
| 1453 |
declare 409 { |
| 1454 |
Tcl_DriverGetHandleProc *Tcl_ChannelGetHandleProc( |
| 1455 |
const Tcl_ChannelType *chanTypePtr) |
| 1456 |
} |
| 1457 |
declare 410 { |
| 1458 |
Tcl_DriverFlushProc *Tcl_ChannelFlushProc( |
| 1459 |
const Tcl_ChannelType *chanTypePtr) |
| 1460 |
} |
| 1461 |
declare 411 { |
| 1462 |
Tcl_DriverHandlerProc *Tcl_ChannelHandlerProc( |
| 1463 |
const Tcl_ChannelType *chanTypePtr) |
| 1464 |
} |
| 1465 |
|
| 1466 |
# Introduced in 8.4a2 |
| 1467 |
declare 412 { |
| 1468 |
int Tcl_JoinThread(Tcl_ThreadId threadId, int *result) |
| 1469 |
} |
| 1470 |
declare 413 { |
| 1471 |
int Tcl_IsChannelShared(Tcl_Channel channel) |
| 1472 |
} |
| 1473 |
declare 414 { |
| 1474 |
int Tcl_IsChannelRegistered(Tcl_Interp *interp, Tcl_Channel channel) |
| 1475 |
} |
| 1476 |
declare 415 { |
| 1477 |
void Tcl_CutChannel(Tcl_Channel channel) |
| 1478 |
} |
| 1479 |
declare 416 { |
| 1480 |
void Tcl_SpliceChannel(Tcl_Channel channel) |
| 1481 |
} |
| 1482 |
declare 417 { |
| 1483 |
void Tcl_ClearChannelHandlers(Tcl_Channel channel) |
| 1484 |
} |
| 1485 |
declare 418 { |
| 1486 |
int Tcl_IsChannelExisting(const char *channelName) |
| 1487 |
} |
| 1488 |
declare 419 { |
| 1489 |
int Tcl_UniCharNcasecmp(const Tcl_UniChar *ucs, const Tcl_UniChar *uct, |
| 1490 |
unsigned long numChars) |
| 1491 |
} |
| 1492 |
declare 420 { |
| 1493 |
int Tcl_UniCharCaseMatch(const Tcl_UniChar *uniStr, |
| 1494 |
const Tcl_UniChar *uniPattern, int nocase) |
| 1495 |
} |
| 1496 |
declare 421 { |
| 1497 |
Tcl_HashEntry *Tcl_FindHashEntry(Tcl_HashTable *tablePtr, const void *key) |
| 1498 |
} |
| 1499 |
declare 422 { |
| 1500 |
Tcl_HashEntry *Tcl_CreateHashEntry(Tcl_HashTable *tablePtr, |
| 1501 |
const void *key, int *newPtr) |
| 1502 |
} |
| 1503 |
declare 423 { |
| 1504 |
void Tcl_InitCustomHashTable(Tcl_HashTable *tablePtr, int keyType, |
| 1505 |
const Tcl_HashKeyType *typePtr) |
| 1506 |
} |
| 1507 |
declare 424 { |
| 1508 |
void Tcl_InitObjHashTable(Tcl_HashTable *tablePtr) |
| 1509 |
} |
| 1510 |
declare 425 { |
| 1511 |
ClientData Tcl_CommandTraceInfo(Tcl_Interp *interp, const char *varName, |
| 1512 |
int flags, Tcl_CommandTraceProc *procPtr, |
| 1513 |
ClientData prevClientData) |
| 1514 |
} |
| 1515 |
declare 426 { |
| 1516 |
int Tcl_TraceCommand(Tcl_Interp *interp, const char *varName, int flags, |
| 1517 |
Tcl_CommandTraceProc *proc, ClientData clientData) |
| 1518 |
} |
| 1519 |
declare 427 { |
| 1520 |
void Tcl_UntraceCommand(Tcl_Interp *interp, const char *varName, |
| 1521 |
int flags, Tcl_CommandTraceProc *proc, ClientData clientData) |
| 1522 |
} |
| 1523 |
declare 428 { |
| 1524 |
char *Tcl_AttemptAlloc(unsigned int size) |
| 1525 |
} |
| 1526 |
declare 429 { |
| 1527 |
char *Tcl_AttemptDbCkalloc(unsigned int size, const char *file, int line) |
| 1528 |
} |
| 1529 |
declare 430 { |
| 1530 |
char *Tcl_AttemptRealloc(char *ptr, unsigned int size) |
| 1531 |
} |
| 1532 |
declare 431 { |
| 1533 |
char *Tcl_AttemptDbCkrealloc(char *ptr, unsigned int size, |
| 1534 |
const char *file, int line) |
| 1535 |
} |
| 1536 |
declare 432 { |
| 1537 |
int Tcl_AttemptSetObjLength(Tcl_Obj *objPtr, int length) |
| 1538 |
} |
| 1539 |
|
| 1540 |
# TIP#10 (thread-aware channels) akupries |
| 1541 |
declare 433 { |
| 1542 |
Tcl_ThreadId Tcl_GetChannelThread(Tcl_Channel channel) |
| 1543 |
} |
| 1544 |
|
| 1545 |
# introduced in 8.4a3 |
| 1546 |
declare 434 { |
| 1547 |
Tcl_UniChar *Tcl_GetUnicodeFromObj(Tcl_Obj *objPtr, int *lengthPtr) |
| 1548 |
} |
| 1549 |
|
| 1550 |
# TIP#15 (math function introspection) dkf |
| 1551 |
declare 435 { |
| 1552 |
int Tcl_GetMathFuncInfo(Tcl_Interp *interp, const char *name, |
| 1553 |
int *numArgsPtr, Tcl_ValueType **argTypesPtr, |
| 1554 |
Tcl_MathProc **procPtr, ClientData *clientDataPtr) |
| 1555 |
} |
| 1556 |
declare 436 { |
| 1557 |
Tcl_Obj *Tcl_ListMathFuncs(Tcl_Interp *interp, const char *pattern) |
| 1558 |
} |
| 1559 |
|
| 1560 |
# TIP#36 (better access to 'subst') dkf |
| 1561 |
declare 437 { |
| 1562 |
Tcl_Obj *Tcl_SubstObj(Tcl_Interp *interp, Tcl_Obj *objPtr, int flags) |
| 1563 |
} |
| 1564 |
|
| 1565 |
# TIP#17 (virtual filesystem layer) vdarley |
| 1566 |
declare 438 { |
| 1567 |
int Tcl_DetachChannel(Tcl_Interp *interp, Tcl_Channel channel) |
| 1568 |
} |
| 1569 |
declare 439 { |
| 1570 |
int Tcl_IsStandardChannel(Tcl_Channel channel) |
| 1571 |
} |
| 1572 |
declare 440 { |
| 1573 |
int Tcl_FSCopyFile(Tcl_Obj *srcPathPtr, Tcl_Obj *destPathPtr) |
| 1574 |
} |
| 1575 |
declare 441 { |
| 1576 |
int Tcl_FSCopyDirectory(Tcl_Obj *srcPathPtr, |
| 1577 |
Tcl_Obj *destPathPtr, Tcl_Obj **errorPtr) |
| 1578 |
} |
| 1579 |
declare 442 { |
| 1580 |
int Tcl_FSCreateDirectory(Tcl_Obj *pathPtr) |
| 1581 |
} |
| 1582 |
declare 443 { |
| 1583 |
int Tcl_FSDeleteFile(Tcl_Obj *pathPtr) |
| 1584 |
} |
| 1585 |
declare 444 { |
| 1586 |
int Tcl_FSLoadFile(Tcl_Interp *interp, Tcl_Obj *pathPtr, const char *sym1, |
| 1587 |
const char *sym2, Tcl_PackageInitProc **proc1Ptr, |
| 1588 |
Tcl_PackageInitProc **proc2Ptr, Tcl_LoadHandle *handlePtr, |
| 1589 |
Tcl_FSUnloadFileProc **unloadProcPtr) |
| 1590 |
} |
| 1591 |
declare 445 { |
| 1592 |
int Tcl_FSMatchInDirectory(Tcl_Interp *interp, Tcl_Obj *result, |
| 1593 |
Tcl_Obj *pathPtr, const char *pattern, Tcl_GlobTypeData *types) |
| 1594 |
} |
| 1595 |
declare 446 { |
| 1596 |
Tcl_Obj *Tcl_FSLink(Tcl_Obj *pathPtr, Tcl_Obj *toPtr, int linkAction) |
| 1597 |
} |
| 1598 |
declare 447 { |
| 1599 |
int Tcl_FSRemoveDirectory(Tcl_Obj *pathPtr, |
| 1600 |
int recursive, Tcl_Obj **errorPtr) |
| 1601 |
} |
| 1602 |
declare 448 { |
| 1603 |
int Tcl_FSRenameFile(Tcl_Obj *srcPathPtr, Tcl_Obj *destPathPtr) |
| 1604 |
} |
| 1605 |
declare 449 { |
| 1606 |
int Tcl_FSLstat(Tcl_Obj *pathPtr, Tcl_StatBuf *buf) |
| 1607 |
} |
| 1608 |
declare 450 { |
| 1609 |
int Tcl_FSUtime(Tcl_Obj *pathPtr, struct utimbuf *tval) |
| 1610 |
} |
| 1611 |
declare 451 { |
| 1612 |
int Tcl_FSFileAttrsGet(Tcl_Interp *interp, |
| 1613 |
int index, Tcl_Obj *pathPtr, Tcl_Obj **objPtrRef) |
| 1614 |
} |
| 1615 |
declare 452 { |
| 1616 |
int Tcl_FSFileAttrsSet(Tcl_Interp *interp, |
| 1617 |
int index, Tcl_Obj *pathPtr, Tcl_Obj *objPtr) |
| 1618 |
} |
| 1619 |
declare 453 { |
| 1620 |
const char *CONST86 *Tcl_FSFileAttrStrings(Tcl_Obj *pathPtr, |
| 1621 |
Tcl_Obj **objPtrRef) |
| 1622 |
} |
| 1623 |
declare 454 { |
| 1624 |
int Tcl_FSStat(Tcl_Obj *pathPtr, Tcl_StatBuf *buf) |
| 1625 |
} |
| 1626 |
declare 455 { |
| 1627 |
int Tcl_FSAccess(Tcl_Obj *pathPtr, int mode) |
| 1628 |
} |
| 1629 |
declare 456 { |
| 1630 |
Tcl_Channel Tcl_FSOpenFileChannel(Tcl_Interp *interp, Tcl_Obj *pathPtr, |
| 1631 |
const char *modeString, int permissions) |
| 1632 |
} |
| 1633 |
declare 457 { |
| 1634 |
Tcl_Obj *Tcl_FSGetCwd(Tcl_Interp *interp) |
| 1635 |
} |
| 1636 |
declare 458 { |
| 1637 |
int Tcl_FSChdir(Tcl_Obj *pathPtr) |
| 1638 |
} |
| 1639 |
declare 459 { |
| 1640 |
int Tcl_FSConvertToPathType(Tcl_Interp *interp, Tcl_Obj *pathPtr) |
| 1641 |
} |
| 1642 |
declare 460 { |
| 1643 |
Tcl_Obj *Tcl_FSJoinPath(Tcl_Obj *listObj, int elements) |
| 1644 |
} |
| 1645 |
declare 461 { |
| 1646 |
Tcl_Obj *Tcl_FSSplitPath(Tcl_Obj *pathPtr, int *lenPtr) |
| 1647 |
} |
| 1648 |
declare 462 { |
| 1649 |
int Tcl_FSEqualPaths(Tcl_Obj *firstPtr, Tcl_Obj *secondPtr) |
| 1650 |
} |
| 1651 |
declare 463 { |
| 1652 |
Tcl_Obj *Tcl_FSGetNormalizedPath(Tcl_Interp *interp, Tcl_Obj *pathPtr) |
| 1653 |
} |
| 1654 |
declare 464 { |
| 1655 |
Tcl_Obj *Tcl_FSJoinToPath(Tcl_Obj *pathPtr, int objc, |
| 1656 |
Tcl_Obj *const objv[]) |
| 1657 |
} |
| 1658 |
declare 465 { |
| 1659 |
ClientData Tcl_FSGetInternalRep(Tcl_Obj *pathPtr, |
| 1660 |
const Tcl_Filesystem *fsPtr) |
| 1661 |
} |
| 1662 |
declare 466 { |
| 1663 |
Tcl_Obj *Tcl_FSGetTranslatedPath(Tcl_Interp *interp, Tcl_Obj *pathPtr) |
| 1664 |
} |
| 1665 |
declare 467 { |
| 1666 |
int Tcl_FSEvalFile(Tcl_Interp *interp, Tcl_Obj *fileName) |
| 1667 |
} |
| 1668 |
declare 468 { |
| 1669 |
Tcl_Obj *Tcl_FSNewNativePath(const Tcl_Filesystem *fromFilesystem, |
| 1670 |
ClientData clientData) |
| 1671 |
} |
| 1672 |
declare 469 { |
| 1673 |
const void *Tcl_FSGetNativePath(Tcl_Obj *pathPtr) |
| 1674 |
} |
| 1675 |
declare 470 { |
| 1676 |
Tcl_Obj *Tcl_FSFileSystemInfo(Tcl_Obj *pathPtr) |
| 1677 |
} |
| 1678 |
declare 471 { |
| 1679 |
Tcl_Obj *Tcl_FSPathSeparator(Tcl_Obj *pathPtr) |
| 1680 |
} |
| 1681 |
declare 472 { |
| 1682 |
Tcl_Obj *Tcl_FSListVolumes(void) |
| 1683 |
} |
| 1684 |
declare 473 { |
| 1685 |
int Tcl_FSRegister(ClientData clientData, const Tcl_Filesystem *fsPtr) |
| 1686 |
} |
| 1687 |
declare 474 { |
| 1688 |
int Tcl_FSUnregister(const Tcl_Filesystem *fsPtr) |
| 1689 |
} |
| 1690 |
declare 475 { |
| 1691 |
ClientData Tcl_FSData(const Tcl_Filesystem *fsPtr) |
| 1692 |
} |
| 1693 |
declare 476 { |
| 1694 |
const char *Tcl_FSGetTranslatedStringPath(Tcl_Interp *interp, |
| 1695 |
Tcl_Obj *pathPtr) |
| 1696 |
} |
| 1697 |
declare 477 { |
| 1698 |
CONST86 Tcl_Filesystem *Tcl_FSGetFileSystemForPath(Tcl_Obj *pathPtr) |
| 1699 |
} |
| 1700 |
declare 478 { |
| 1701 |
Tcl_PathType Tcl_FSGetPathType(Tcl_Obj *pathPtr) |
| 1702 |
} |
| 1703 |
|
| 1704 |
# TIP#49 (detection of output buffering) akupries |
| 1705 |
declare 479 { |
| 1706 |
int Tcl_OutputBuffered(Tcl_Channel chan) |
| 1707 |
} |
| 1708 |
declare 480 { |
| 1709 |
void Tcl_FSMountsChanged(const Tcl_Filesystem *fsPtr) |
| 1710 |
} |
| 1711 |
|
| 1712 |
# TIP#56 (evaluate a parsed script) msofer |
| 1713 |
declare 481 { |
| 1714 |
int Tcl_EvalTokensStandard(Tcl_Interp *interp, Tcl_Token *tokenPtr, |
| 1715 |
int count) |
| 1716 |
} |
| 1717 |
|
| 1718 |
# TIP#73 (access to current time) kbk |
| 1719 |
declare 482 { |
| 1720 |
void Tcl_GetTime(Tcl_Time *timeBuf) |
| 1721 |
} |
| 1722 |
|
| 1723 |
# TIP#32 (object-enabled traces) kbk |
| 1724 |
declare 483 { |
| 1725 |
Tcl_Trace Tcl_CreateObjTrace(Tcl_Interp *interp, int level, int flags, |
| 1726 |
Tcl_CmdObjTraceProc *objProc, ClientData clientData, |
| 1727 |
Tcl_CmdObjTraceDeleteProc *delProc) |
| 1728 |
} |
| 1729 |
declare 484 { |
| 1730 |
int Tcl_GetCommandInfoFromToken(Tcl_Command token, Tcl_CmdInfo *infoPtr) |
| 1731 |
} |
| 1732 |
declare 485 { |
| 1733 |
int Tcl_SetCommandInfoFromToken(Tcl_Command token, |
| 1734 |
const Tcl_CmdInfo *infoPtr) |
| 1735 |
} |
| 1736 |
|
| 1737 |
### New functions on 64-bit dev branch ### |
| 1738 |
# TIP#72 (64-bit values) dkf |
| 1739 |
declare 486 { |
| 1740 |
Tcl_Obj *Tcl_DbNewWideIntObj(Tcl_WideInt wideValue, |
| 1741 |
const char *file, int line) |
| 1742 |
} |
| 1743 |
declare 487 { |
| 1744 |
int Tcl_GetWideIntFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, |
| 1745 |
Tcl_WideInt *widePtr) |
| 1746 |
} |
| 1747 |
declare 488 { |
| 1748 |
Tcl_Obj *Tcl_NewWideIntObj(Tcl_WideInt wideValue) |
| 1749 |
} |
| 1750 |
declare 489 { |
| 1751 |
void Tcl_SetWideIntObj(Tcl_Obj *objPtr, Tcl_WideInt wideValue) |
| 1752 |
} |
| 1753 |
declare 490 { |
| 1754 |
Tcl_StatBuf *Tcl_AllocStatBuf(void) |
| 1755 |
} |
| 1756 |
declare 491 { |
| 1757 |
Tcl_WideInt Tcl_Seek(Tcl_Channel chan, Tcl_WideInt offset, int mode) |
| 1758 |
} |
| 1759 |
declare 492 { |
| 1760 |
Tcl_WideInt Tcl_Tell(Tcl_Channel chan) |
| 1761 |
} |
| 1762 |
|
| 1763 |
# TIP#91 (back-compat enhancements for channels) dkf |
| 1764 |
declare 493 { |
| 1765 |
Tcl_DriverWideSeekProc *Tcl_ChannelWideSeekProc( |
| 1766 |
const Tcl_ChannelType *chanTypePtr) |
| 1767 |
} |
| 1768 |
|
| 1769 |
# ----- BASELINE -- FOR -- 8.4.0 ----- # |
| 1770 |
|
| 1771 |
# TIP#111 (dictionaries) dkf |
| 1772 |
declare 494 { |
| 1773 |
int Tcl_DictObjPut(Tcl_Interp *interp, Tcl_Obj *dictPtr, |
| 1774 |
Tcl_Obj *keyPtr, Tcl_Obj *valuePtr) |
| 1775 |
} |
| 1776 |
declare 495 { |
| 1777 |
int Tcl_DictObjGet(Tcl_Interp *interp, Tcl_Obj *dictPtr, Tcl_Obj *keyPtr, |
| 1778 |
Tcl_Obj **valuePtrPtr) |
| 1779 |
} |
| 1780 |
declare 496 { |
| 1781 |
int Tcl_DictObjRemove(Tcl_Interp *interp, Tcl_Obj *dictPtr, |
| 1782 |
Tcl_Obj *keyPtr) |
| 1783 |
} |
| 1784 |
declare 497 { |
| 1785 |
int Tcl_DictObjSize(Tcl_Interp *interp, Tcl_Obj *dictPtr, int *sizePtr) |
| 1786 |
} |
| 1787 |
declare 498 { |
| 1788 |
int Tcl_DictObjFirst(Tcl_Interp *interp, Tcl_Obj *dictPtr, |
| 1789 |
Tcl_DictSearch *searchPtr, |
| 1790 |
Tcl_Obj **keyPtrPtr, Tcl_Obj **valuePtrPtr, int *donePtr) |
| 1791 |
} |
| 1792 |
declare 499 { |
| 1793 |
void Tcl_DictObjNext(Tcl_DictSearch *searchPtr, |
| 1794 |
Tcl_Obj **keyPtrPtr, Tcl_Obj **valuePtrPtr, int *donePtr) |
| 1795 |
} |
| 1796 |
declare 500 { |
| 1797 |
void Tcl_DictObjDone(Tcl_DictSearch *searchPtr) |
| 1798 |
} |
| 1799 |
declare 501 { |
| 1800 |
int Tcl_DictObjPutKeyList(Tcl_Interp *interp, Tcl_Obj *dictPtr, |
| 1801 |
int keyc, Tcl_Obj *const *keyv, Tcl_Obj *valuePtr) |
| 1802 |
} |
| 1803 |
declare 502 { |
| 1804 |
int Tcl_DictObjRemoveKeyList(Tcl_Interp *interp, Tcl_Obj *dictPtr, |
| 1805 |
int keyc, Tcl_Obj *const *keyv) |
| 1806 |
} |
| 1807 |
declare 503 { |
| 1808 |
Tcl_Obj *Tcl_NewDictObj(void) |
| 1809 |
} |
| 1810 |
declare 504 { |
| 1811 |
Tcl_Obj *Tcl_DbNewDictObj(const char *file, int line) |
| 1812 |
} |
| 1813 |
|
| 1814 |
# TIP#59 (configuration reporting) akupries |
| 1815 |
declare 505 { |
| 1816 |
void Tcl_RegisterConfig(Tcl_Interp *interp, const char *pkgName, |
| 1817 |
const Tcl_Config *configuration, const char *valEncoding) |
| 1818 |
} |
| 1819 |
|
| 1820 |
# TIP #139 (partial exposure of namespace API - transferred from tclInt.decls) |
| 1821 |
# dkf, API by Brent Welch? |
| 1822 |
declare 506 { |
| 1823 |
Tcl_Namespace *Tcl_CreateNamespace(Tcl_Interp *interp, const char *name, |
| 1824 |
ClientData clientData, Tcl_NamespaceDeleteProc *deleteProc) |
| 1825 |
} |
| 1826 |
declare 507 { |
| 1827 |
void Tcl_DeleteNamespace(Tcl_Namespace *nsPtr) |
| 1828 |
} |
| 1829 |
declare 508 { |
| 1830 |
int Tcl_AppendExportList(Tcl_Interp *interp, Tcl_Namespace *nsPtr, |
| 1831 |
Tcl_Obj *objPtr) |
| 1832 |
} |
| 1833 |
declare 509 { |
| 1834 |
int Tcl_Export(Tcl_Interp *interp, Tcl_Namespace *nsPtr, |
| 1835 |
const char *pattern, int resetListFirst) |
| 1836 |
} |
| 1837 |
declare 510 { |
| 1838 |
int Tcl_Import(Tcl_Interp *interp, Tcl_Namespace *nsPtr, |
| 1839 |
const char *pattern, int allowOverwrite) |
| 1840 |
} |
| 1841 |
declare 511 { |
| 1842 |
int Tcl_ForgetImport(Tcl_Interp *interp, Tcl_Namespace *nsPtr, |
| 1843 |
const char *pattern) |
| 1844 |
} |
| 1845 |
declare 512 { |
| 1846 |
Tcl_Namespace *Tcl_GetCurrentNamespace(Tcl_Interp *interp) |
| 1847 |
} |
| 1848 |
declare 513 { |
| 1849 |
Tcl_Namespace *Tcl_GetGlobalNamespace(Tcl_Interp *interp) |
| 1850 |
} |
| 1851 |
declare 514 { |
| 1852 |
Tcl_Namespace *Tcl_FindNamespace(Tcl_Interp *interp, const char *name, |
| 1853 |
Tcl_Namespace *contextNsPtr, int flags) |
| 1854 |
} |
| 1855 |
declare 515 { |
| 1856 |
Tcl_Command Tcl_FindCommand(Tcl_Interp *interp, const char *name, |
| 1857 |
Tcl_Namespace *contextNsPtr, int flags) |
| 1858 |
} |
| 1859 |
declare 516 { |
| 1860 |
Tcl_Command Tcl_GetCommandFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr) |
| 1861 |
} |
| 1862 |
declare 517 { |
| 1863 |
void Tcl_GetCommandFullName(Tcl_Interp *interp, Tcl_Command command, |
| 1864 |
Tcl_Obj *objPtr) |
| 1865 |
} |
| 1866 |
|
| 1867 |
# TIP#137 (encoding-aware source command) dgp for Anton Kovalenko |
| 1868 |
declare 518 { |
| 1869 |
int Tcl_FSEvalFileEx(Tcl_Interp *interp, Tcl_Obj *fileName, |
| 1870 |
const char *encodingName) |
| 1871 |
} |
| 1872 |
|
| 1873 |
# TIP#121 (exit handler) dkf for Joe Mistachkin |
| 1874 |
declare 519 { |
| 1875 |
Tcl_ExitProc *Tcl_SetExitProc(Tcl_ExitProc *proc) |
| 1876 |
} |
| 1877 |
|
| 1878 |
# TIP#143 (resource limits) dkf |
| 1879 |
declare 520 { |
| 1880 |
void Tcl_LimitAddHandler(Tcl_Interp *interp, int type, |
| 1881 |
Tcl_LimitHandlerProc *handlerProc, ClientData clientData, |
| 1882 |
Tcl_LimitHandlerDeleteProc *deleteProc) |
| 1883 |
} |
| 1884 |
declare 521 { |
| 1885 |
void Tcl_LimitRemoveHandler(Tcl_Interp *interp, int type, |
| 1886 |
Tcl_LimitHandlerProc *handlerProc, ClientData clientData) |
| 1887 |
} |
| 1888 |
declare 522 { |
| 1889 |
int Tcl_LimitReady(Tcl_Interp *interp) |
| 1890 |
} |
| 1891 |
declare 523 { |
| 1892 |
int Tcl_LimitCheck(Tcl_Interp *interp) |
| 1893 |
} |
| 1894 |
declare 524 { |
| 1895 |
int Tcl_LimitExceeded(Tcl_Interp *interp) |
| 1896 |
} |
| 1897 |
declare 525 { |
| 1898 |
void Tcl_LimitSetCommands(Tcl_Interp *interp, int commandLimit) |
| 1899 |
} |
| 1900 |
declare 526 { |
| 1901 |
void Tcl_LimitSetTime(Tcl_Interp *interp, Tcl_Time *timeLimitPtr) |
| 1902 |
} |
| 1903 |
declare 527 { |
| 1904 |
void Tcl_LimitSetGranularity(Tcl_Interp *interp, int type, int granularity) |
| 1905 |
} |
| 1906 |
declare 528 { |
| 1907 |
int Tcl_LimitTypeEnabled(Tcl_Interp *interp, int type) |
| 1908 |
} |
| 1909 |
declare 529 { |
| 1910 |
int Tcl_LimitTypeExceeded(Tcl_Interp *interp, int type) |
| 1911 |
} |
| 1912 |
declare 530 { |
| 1913 |
void Tcl_LimitTypeSet(Tcl_Interp *interp, int type) |
| 1914 |
} |
| 1915 |
declare 531 { |
| 1916 |
void Tcl_LimitTypeReset(Tcl_Interp *interp, int type) |
| 1917 |
} |
| 1918 |
declare 532 { |
| 1919 |
int Tcl_LimitGetCommands(Tcl_Interp *interp) |
| 1920 |
} |
| 1921 |
declare 533 { |
| 1922 |
void Tcl_LimitGetTime(Tcl_Interp *interp, Tcl_Time *timeLimitPtr) |
| 1923 |
} |
| 1924 |
declare 534 { |
| 1925 |
int Tcl_LimitGetGranularity(Tcl_Interp *interp, int type) |
| 1926 |
} |
| 1927 |
|
| 1928 |
# TIP#226 (interpreter result state management) dgp |
| 1929 |
declare 535 { |
| 1930 |
Tcl_InterpState Tcl_SaveInterpState(Tcl_Interp *interp, int status) |
| 1931 |
} |
| 1932 |
declare 536 { |
| 1933 |
int Tcl_RestoreInterpState(Tcl_Interp *interp, Tcl_InterpState state) |
| 1934 |
} |
| 1935 |
declare 537 { |
| 1936 |
void Tcl_DiscardInterpState(Tcl_InterpState state) |
| 1937 |
} |
| 1938 |
|
| 1939 |
# TIP#227 (return options interface) dgp |
| 1940 |
declare 538 { |
| 1941 |
int Tcl_SetReturnOptions(Tcl_Interp *interp, Tcl_Obj *options) |
| 1942 |
} |
| 1943 |
declare 539 { |
| 1944 |
Tcl_Obj *Tcl_GetReturnOptions(Tcl_Interp *interp, int result) |
| 1945 |
} |
| 1946 |
|
| 1947 |
# TIP#235 (ensembles) dkf |
| 1948 |
declare 540 { |
| 1949 |
int Tcl_IsEnsemble(Tcl_Command token) |
| 1950 |
} |
| 1951 |
declare 541 { |
| 1952 |
Tcl_Command Tcl_CreateEnsemble(Tcl_Interp *interp, const char *name, |
| 1953 |
Tcl_Namespace *namespacePtr, int flags) |
| 1954 |
} |
| 1955 |
declare 542 { |
| 1956 |
Tcl_Command Tcl_FindEnsemble(Tcl_Interp *interp, Tcl_Obj *cmdNameObj, |
| 1957 |
int flags) |
| 1958 |
} |
| 1959 |
declare 543 { |
| 1960 |
int Tcl_SetEnsembleSubcommandList(Tcl_Interp *interp, Tcl_Command token, |
| 1961 |
Tcl_Obj *subcmdList) |
| 1962 |
} |
| 1963 |
declare 544 { |
| 1964 |
int Tcl_SetEnsembleMappingDict(Tcl_Interp *interp, Tcl_Command token, |
| 1965 |
Tcl_Obj *mapDict) |
| 1966 |
} |
| 1967 |
declare 545 { |
| 1968 |
int Tcl_SetEnsembleUnknownHandler(Tcl_Interp *interp, Tcl_Command token, |
| 1969 |
Tcl_Obj *unknownList) |
| 1970 |
} |
| 1971 |
declare 546 { |
| 1972 |
int Tcl_SetEnsembleFlags(Tcl_Interp *interp, Tcl_Command token, int flags) |
| 1973 |
} |
| 1974 |
declare 547 { |
| 1975 |
int Tcl_GetEnsembleSubcommandList(Tcl_Interp *interp, Tcl_Command token, |
| 1976 |
Tcl_Obj **subcmdListPtr) |
| 1977 |
} |
| 1978 |
declare 548 { |
| 1979 |
int Tcl_GetEnsembleMappingDict(Tcl_Interp *interp, Tcl_Command token, |
| 1980 |
Tcl_Obj **mapDictPtr) |
| 1981 |
} |
| 1982 |
declare 549 { |
| 1983 |
int Tcl_GetEnsembleUnknownHandler(Tcl_Interp *interp, Tcl_Command token, |
| 1984 |
Tcl_Obj **unknownListPtr) |
| 1985 |
} |
| 1986 |
declare 550 { |
| 1987 |
int Tcl_GetEnsembleFlags(Tcl_Interp *interp, Tcl_Command token, |
| 1988 |
int *flagsPtr) |
| 1989 |
} |
| 1990 |
declare 551 { |
| 1991 |
int Tcl_GetEnsembleNamespace(Tcl_Interp *interp, Tcl_Command token, |
| 1992 |
Tcl_Namespace **namespacePtrPtr) |
| 1993 |
} |
| 1994 |
|
| 1995 |
# TIP#233 (virtualized time) akupries |
| 1996 |
declare 552 { |
| 1997 |
void Tcl_SetTimeProc(Tcl_GetTimeProc *getProc, |
| 1998 |
Tcl_ScaleTimeProc *scaleProc, |
| 1999 |
ClientData clientData) |
| 2000 |
} |
| 2001 |
declare 553 { |
| 2002 |
void Tcl_QueryTimeProc(Tcl_GetTimeProc **getProc, |
| 2003 |
Tcl_ScaleTimeProc **scaleProc, |
| 2004 |
ClientData *clientData) |
| 2005 |
} |
| 2006 |
|
| 2007 |
# TIP#218 (driver thread actions) davygrvy/akupries ChannelType ver 4 |
| 2008 |
declare 554 { |
| 2009 |
Tcl_DriverThreadActionProc *Tcl_ChannelThreadActionProc( |
| 2010 |
const Tcl_ChannelType *chanTypePtr) |
| 2011 |
} |
| 2012 |
|
| 2013 |
# TIP#237 (arbitrary-precision integers) kbk |
| 2014 |
declare 555 { |
| 2015 |
Tcl_Obj *Tcl_NewBignumObj(mp_int *value) |
| 2016 |
} |
| 2017 |
declare 556 { |
| 2018 |
Tcl_Obj *Tcl_DbNewBignumObj(mp_int *value, const char *file, int line) |
| 2019 |
} |
| 2020 |
declare 557 { |
| 2021 |
void Tcl_SetBignumObj(Tcl_Obj *obj, mp_int *value) |
| 2022 |
} |
| 2023 |
declare 558 { |
| 2024 |
int Tcl_GetBignumFromObj(Tcl_Interp *interp, Tcl_Obj *obj, mp_int *value) |
| 2025 |
} |
| 2026 |
declare 559 { |
| 2027 |
int Tcl_TakeBignumFromObj(Tcl_Interp *interp, Tcl_Obj *obj, mp_int *value) |
| 2028 |
} |
| 2029 |
|
| 2030 |
# TIP #208 ('chan' command) jeffh |
| 2031 |
declare 560 { |
| 2032 |
int Tcl_TruncateChannel(Tcl_Channel chan, Tcl_WideInt length) |
| 2033 |
} |
| 2034 |
declare 561 { |
| 2035 |
Tcl_DriverTruncateProc *Tcl_ChannelTruncateProc( |
| 2036 |
const Tcl_ChannelType *chanTypePtr) |
| 2037 |
} |
| 2038 |
|
| 2039 |
# TIP#219 (channel reflection api) akupries |
| 2040 |
declare 562 { |
| 2041 |
void Tcl_SetChannelErrorInterp(Tcl_Interp *interp, Tcl_Obj *msg) |
| 2042 |
} |
| 2043 |
declare 563 { |
| 2044 |
void Tcl_GetChannelErrorInterp(Tcl_Interp *interp, Tcl_Obj **msg) |
| 2045 |
} |
| 2046 |
declare 564 { |
| 2047 |
void Tcl_SetChannelError(Tcl_Channel chan, Tcl_Obj *msg) |
| 2048 |
} |
| 2049 |
declare 565 { |
| 2050 |
void Tcl_GetChannelError(Tcl_Channel chan, Tcl_Obj **msg) |
| 2051 |
} |
| 2052 |
|
| 2053 |
# TIP #237 (additional conversion functions for bignum support) kbk/dgp |
| 2054 |
declare 566 { |
| 2055 |
int Tcl_InitBignumFromDouble(Tcl_Interp *interp, double initval, |
| 2056 |
mp_int *toInit) |
| 2057 |
} |
| 2058 |
|
| 2059 |
# TIP#181 (namespace unknown command) dgp for Neil Madden |
| 2060 |
declare 567 { |
| 2061 |
Tcl_Obj *Tcl_GetNamespaceUnknownHandler(Tcl_Interp *interp, |
| 2062 |
Tcl_Namespace *nsPtr) |
| 2063 |
} |
| 2064 |
declare 568 { |
| 2065 |
int Tcl_SetNamespaceUnknownHandler(Tcl_Interp *interp, |
| 2066 |
Tcl_Namespace *nsPtr, Tcl_Obj *handlerPtr) |
| 2067 |
} |
| 2068 |
|
| 2069 |
# TIP#258 (enhanced interface for encodings) dgp |
| 2070 |
declare 569 { |
| 2071 |
int Tcl_GetEncodingFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, |
| 2072 |
Tcl_Encoding *encodingPtr) |
| 2073 |
} |
| 2074 |
declare 570 { |
| 2075 |
Tcl_Obj *Tcl_GetEncodingSearchPath(void) |
| 2076 |
} |
| 2077 |
declare 571 { |
| 2078 |
int Tcl_SetEncodingSearchPath(Tcl_Obj *searchPath) |
| 2079 |
} |
| 2080 |
declare 572 { |
| 2081 |
const char *Tcl_GetEncodingNameFromEnvironment(Tcl_DString *bufPtr) |
| 2082 |
} |
| 2083 |
|
| 2084 |
# TIP#268 (extended version numbers and requirements) akupries |
| 2085 |
declare 573 { |
| 2086 |
int Tcl_PkgRequireProc(Tcl_Interp *interp, const char *name, |
| 2087 |
int objc, Tcl_Obj *const objv[], void *clientDataPtr) |
| 2088 |
} |
| 2089 |
|
| 2090 |
# TIP#270 (utility C routines for string formatting) dgp |
| 2091 |
declare 574 { |
| 2092 |
void Tcl_AppendObjToErrorInfo(Tcl_Interp *interp, Tcl_Obj *objPtr) |
| 2093 |
} |
| 2094 |
declare 575 { |
| 2095 |
void Tcl_AppendLimitedToObj(Tcl_Obj *objPtr, const char *bytes, |
| 2096 |
int length, int limit, const char *ellipsis) |
| 2097 |
} |
| 2098 |
declare 576 { |
| 2099 |
Tcl_Obj *Tcl_Format(Tcl_Interp *interp, const char *format, int objc, |
| 2100 |
Tcl_Obj *const objv[]) |
| 2101 |
} |
| 2102 |
declare 577 { |
| 2103 |
int Tcl_AppendFormatToObj(Tcl_Interp *interp, Tcl_Obj *objPtr, |
| 2104 |
const char *format, int objc, Tcl_Obj *const objv[]) |
| 2105 |
} |
| 2106 |
declare 578 { |
| 2107 |
Tcl_Obj *Tcl_ObjPrintf(const char *format, ...) |
| 2108 |
} |
| 2109 |
declare 579 { |
| 2110 |
void Tcl_AppendPrintfToObj(Tcl_Obj *objPtr, const char *format, ...) |
| 2111 |
} |
| 2112 |
|
| 2113 |
# ----- BASELINE -- FOR -- 8.5.0 ----- # |
| 2114 |
|
| 2115 |
# TIP #285 (script cancellation support) jmistachkin |
| 2116 |
declare 580 { |
| 2117 |
int Tcl_CancelEval(Tcl_Interp *interp, Tcl_Obj *resultObjPtr, |
| 2118 |
ClientData clientData, int flags) |
| 2119 |
} |
| 2120 |
declare 581 { |
| 2121 |
int Tcl_Canceled(Tcl_Interp *interp, int flags) |
| 2122 |
} |
| 2123 |
|
| 2124 |
# TIP#304 (chan pipe) aferrieux |
| 2125 |
declare 582 { |
| 2126 |
int Tcl_CreatePipe(Tcl_Interp *interp, Tcl_Channel *rchan, |
| 2127 |
Tcl_Channel *wchan, int flags) |
| 2128 |
} |
| 2129 |
|
| 2130 |
# TIP #322 (NRE public interface) msofer |
| 2131 |
declare 583 { |
| 2132 |
Tcl_Command Tcl_NRCreateCommand(Tcl_Interp *interp, |
| 2133 |
const char *cmdName, Tcl_ObjCmdProc *proc, |
| 2134 |
Tcl_ObjCmdProc *nreProc, ClientData clientData, |
| 2135 |
Tcl_CmdDeleteProc *deleteProc) |
| 2136 |
} |
| 2137 |
declare 584 { |
| 2138 |
int Tcl_NREvalObj(Tcl_Interp *interp, Tcl_Obj *objPtr, int flags) |
| 2139 |
} |
| 2140 |
declare 585 { |
| 2141 |
int Tcl_NREvalObjv(Tcl_Interp *interp, int objc, |
| 2142 |
Tcl_Obj *const objv[], int flags) |
| 2143 |
} |
| 2144 |
declare 586 { |
| 2145 |
int Tcl_NRCmdSwap(Tcl_Interp *interp, Tcl_Command cmd, int objc, |
| 2146 |
Tcl_Obj *const objv[], int flags) |
| 2147 |
} |
| 2148 |
declare 587 { |
| 2149 |
void Tcl_NRAddCallback(Tcl_Interp *interp, Tcl_NRPostProc *postProcPtr, |
| 2150 |
ClientData data0, ClientData data1, ClientData data2, |
| 2151 |
ClientData data3) |
| 2152 |
} |
| 2153 |
# For use by NR extenders, to have a simple way to also provide a (required!) |
| 2154 |
# classic objProc |
| 2155 |
declare 588 { |
| 2156 |
int Tcl_NRCallObjProc(Tcl_Interp *interp, Tcl_ObjCmdProc *objProc, |
| 2157 |
ClientData clientData, int objc, Tcl_Obj *const objv[]) |
| 2158 |
} |
| 2159 |
|
| 2160 |
# TIP#316 (Tcl_StatBuf reader functions) dkf |
| 2161 |
declare 589 { |
| 2162 |
unsigned Tcl_GetFSDeviceFromStat(const Tcl_StatBuf *statPtr) |
| 2163 |
} |
| 2164 |
declare 590 { |
| 2165 |
unsigned Tcl_GetFSInodeFromStat(const Tcl_StatBuf *statPtr) |
| 2166 |
} |
| 2167 |
declare 591 { |
| 2168 |
unsigned Tcl_GetModeFromStat(const Tcl_StatBuf *statPtr) |
| 2169 |
} |
| 2170 |
declare 592 { |
| 2171 |
int Tcl_GetLinkCountFromStat(const Tcl_StatBuf *statPtr) |
| 2172 |
} |
| 2173 |
declare 593 { |
| 2174 |
int Tcl_GetUserIdFromStat(const Tcl_StatBuf *statPtr) |
| 2175 |
} |
| 2176 |
declare 594 { |
| 2177 |
int Tcl_GetGroupIdFromStat(const Tcl_StatBuf *statPtr) |
| 2178 |
} |
| 2179 |
declare 595 { |
| 2180 |
int Tcl_GetDeviceTypeFromStat(const Tcl_StatBuf *statPtr) |
| 2181 |
} |
| 2182 |
declare 596 { |
| 2183 |
Tcl_WideInt Tcl_GetAccessTimeFromStat(const Tcl_StatBuf *statPtr) |
| 2184 |
} |
| 2185 |
declare 597 { |
| 2186 |
Tcl_WideInt Tcl_GetModificationTimeFromStat(const Tcl_StatBuf *statPtr) |
| 2187 |
} |
| 2188 |
declare 598 { |
| 2189 |
Tcl_WideInt Tcl_GetChangeTimeFromStat(const Tcl_StatBuf *statPtr) |
| 2190 |
} |
| 2191 |
declare 599 { |
| 2192 |
Tcl_WideUInt Tcl_GetSizeFromStat(const Tcl_StatBuf *statPtr) |
| 2193 |
} |
| 2194 |
declare 600 { |
| 2195 |
Tcl_WideUInt Tcl_GetBlocksFromStat(const Tcl_StatBuf *statPtr) |
| 2196 |
} |
| 2197 |
declare 601 { |
| 2198 |
unsigned Tcl_GetBlockSizeFromStat(const Tcl_StatBuf *statPtr) |
| 2199 |
} |
| 2200 |
|
| 2201 |
# TIP#314 (ensembles with parameters) dkf for Lars Hellstr"om |
| 2202 |
declare 602 { |
| 2203 |
int Tcl_SetEnsembleParameterList(Tcl_Interp *interp, Tcl_Command token, |
| 2204 |
Tcl_Obj *paramList) |
| 2205 |
} |
| 2206 |
declare 603 { |
| 2207 |
int Tcl_GetEnsembleParameterList(Tcl_Interp *interp, Tcl_Command token, |
| 2208 |
Tcl_Obj **paramListPtr) |
| 2209 |
} |
| 2210 |
|
| 2211 |
# TIP#265 (option parser) dkf for Sam Bromley |
| 2212 |
declare 604 { |
| 2213 |
int Tcl_ParseArgsObjv(Tcl_Interp *interp, const Tcl_ArgvInfo *argTable, |
| 2214 |
int *objcPtr, Tcl_Obj *const *objv, Tcl_Obj ***remObjv) |
| 2215 |
} |
| 2216 |
|
| 2217 |
# TIP#336 (manipulate the error line) dgp |
| 2218 |
declare 605 { |
| 2219 |
int Tcl_GetErrorLine(Tcl_Interp *interp) |
| 2220 |
} |
| 2221 |
declare 606 { |
| 2222 |
void Tcl_SetErrorLine(Tcl_Interp *interp, int lineNum) |
| 2223 |
} |
| 2224 |
|
| 2225 |
# TIP#307 (move results between interpreters) dkf |
| 2226 |
declare 607 { |
| 2227 |
void Tcl_TransferResult(Tcl_Interp *sourceInterp, int code, |
| 2228 |
Tcl_Interp *targetInterp) |
| 2229 |
} |
| 2230 |
|
| 2231 |
# TIP#335 (detect if interpreter in use) jmistachkin |
| 2232 |
declare 608 { |
| 2233 |
int Tcl_InterpActive(Tcl_Interp *interp) |
| 2234 |
} |
| 2235 |
|
| 2236 |
# TIP#337 (log exception for background processing) dgp |
| 2237 |
declare 609 { |
| 2238 |
void Tcl_BackgroundException(Tcl_Interp *interp, int code) |
| 2239 |
} |
| 2240 |
|
| 2241 |
# TIP#234 (zlib interface) dkf/Pascal Scheffers |
| 2242 |
declare 610 { |
| 2243 |
int Tcl_ZlibDeflate(Tcl_Interp *interp, int format, Tcl_Obj *data, |
| 2244 |
int level, Tcl_Obj *gzipHeaderDictObj) |
| 2245 |
} |
| 2246 |
declare 611 { |
| 2247 |
int Tcl_ZlibInflate(Tcl_Interp *interp, int format, Tcl_Obj *data, |
| 2248 |
int buffersize, Tcl_Obj *gzipHeaderDictObj) |
| 2249 |
} |
| 2250 |
declare 612 { |
| 2251 |
unsigned int Tcl_ZlibCRC32(unsigned int crc, const unsigned char *buf, |
| 2252 |
int len) |
| 2253 |
} |
| 2254 |
declare 613 { |
| 2255 |
unsigned int Tcl_ZlibAdler32(unsigned int adler, const unsigned char *buf, |
| 2256 |
int len) |
| 2257 |
} |
| 2258 |
declare 614 { |
| 2259 |
int Tcl_ZlibStreamInit(Tcl_Interp *interp, int mode, int format, |
| 2260 |
int level, Tcl_Obj *dictObj, Tcl_ZlibStream *zshandle) |
| 2261 |
} |
| 2262 |
declare 615 { |
| 2263 |
Tcl_Obj *Tcl_ZlibStreamGetCommandName(Tcl_ZlibStream zshandle) |
| 2264 |
} |
| 2265 |
declare 616 { |
| 2266 |
int Tcl_ZlibStreamEof(Tcl_ZlibStream zshandle) |
| 2267 |
} |
| 2268 |
declare 617 { |
| 2269 |
int Tcl_ZlibStreamChecksum(Tcl_ZlibStream zshandle) |
| 2270 |
} |
| 2271 |
declare 618 { |
| 2272 |
int Tcl_ZlibStreamPut(Tcl_ZlibStream zshandle, Tcl_Obj *data, int flush) |
| 2273 |
} |
| 2274 |
declare 619 { |
| 2275 |
int Tcl_ZlibStreamGet(Tcl_ZlibStream zshandle, Tcl_Obj *data, |
| 2276 |
int count) |
| 2277 |
} |
| 2278 |
declare 620 { |
| 2279 |
int Tcl_ZlibStreamClose(Tcl_ZlibStream zshandle) |
| 2280 |
} |
| 2281 |
declare 621 { |
| 2282 |
int Tcl_ZlibStreamReset(Tcl_ZlibStream zshandle) |
| 2283 |
} |
| 2284 |
|
| 2285 |
# TIP 338 (control over startup script) dgp |
| 2286 |
declare 622 { |
| 2287 |
void Tcl_SetStartupScript(Tcl_Obj *path, const char *encoding) |
| 2288 |
} |
| 2289 |
declare 623 { |
| 2290 |
Tcl_Obj *Tcl_GetStartupScript(const char **encodingPtr) |
| 2291 |
} |
| 2292 |
|
| 2293 |
# TIP#332 (half-close made public) aferrieux |
| 2294 |
declare 624 { |
| 2295 |
int Tcl_CloseEx(Tcl_Interp *interp, Tcl_Channel chan, int flags) |
| 2296 |
} |
| 2297 |
|
| 2298 |
# TIP #353 (NR-enabled expressions) dgp |
| 2299 |
declare 625 { |
| 2300 |
int Tcl_NRExprObj(Tcl_Interp *interp, Tcl_Obj *objPtr, Tcl_Obj *resultPtr) |
| 2301 |
} |
| 2302 |
|
| 2303 |
# TIP #356 (NR-enabled substitution) dgp |
| 2304 |
declare 626 { |
| 2305 |
int Tcl_NRSubstObj(Tcl_Interp *interp, Tcl_Obj *objPtr, int flags) |
| 2306 |
} |
| 2307 |
|
| 2308 |
# TIP #357 (Export TclLoadFile and TclpFindSymbol) kbk |
| 2309 |
declare 627 { |
| 2310 |
int Tcl_LoadFile(Tcl_Interp *interp, Tcl_Obj *pathPtr, |
| 2311 |
const char *const symv[], int flags, void *procPtrs, |
| 2312 |
Tcl_LoadHandle *handlePtr) |
| 2313 |
} |
| 2314 |
declare 628 { |
| 2315 |
void *Tcl_FindSymbol(Tcl_Interp *interp, Tcl_LoadHandle handle, |
| 2316 |
const char *symbol) |
| 2317 |
} |
| 2318 |
declare 629 { |
| 2319 |
int Tcl_FSUnloadFile(Tcl_Interp *interp, Tcl_LoadHandle handlePtr) |
| 2320 |
} |
| 2321 |
|
| 2322 |
# TIP #400 |
| 2323 |
declare 630 { |
| 2324 |
void Tcl_ZlibStreamSetCompressionDictionary(Tcl_ZlibStream zhandle, |
| 2325 |
Tcl_Obj *compressionDictionaryObj) |
| 2326 |
} |
| 2327 |
|
| 2328 |
# ----- BASELINE -- FOR -- 8.6.0 ----- # |
| 2329 |
|
| 2330 |
declare 690 { |
| 2331 |
void TclUnusedStubEntry(void) |
| 2332 |
} |
| 2333 |
|
| 2334 |
############################################################################## |
| 2335 |
|
| 2336 |
# Define the platform specific public Tcl interface. These functions are only |
| 2337 |
# available on the designated platform. |
| 2338 |
|
| 2339 |
interface tclPlat |
| 2340 |
|
| 2341 |
################################ |
| 2342 |
# Unix specific functions |
| 2343 |
# (none) |
| 2344 |
|
| 2345 |
################################ |
| 2346 |
# Windows specific functions |
| 2347 |
|
| 2348 |
# Added in Tcl 8.1 |
| 2349 |
|
| 2350 |
declare 0 win { |
| 2351 |
TCHAR *Tcl_WinUtfToTChar(const char *str, int len, Tcl_DString *dsPtr) |
| 2352 |
} |
| 2353 |
declare 1 win { |
| 2354 |
char *Tcl_WinTCharToUtf(const TCHAR *str, int len, Tcl_DString *dsPtr) |
| 2355 |
} |
| 2356 |
declare 3 win { |
| 2357 |
void TclWinConvertError_(unsigned errCode) |
| 2358 |
} |
| 2359 |
|
| 2360 |
################################ |
| 2361 |
# Mac OS X specific functions |
| 2362 |
|
| 2363 |
declare 0 macosx { |
| 2364 |
int Tcl_MacOSXOpenBundleResources(Tcl_Interp *interp, |
| 2365 |
const char *bundleName, int hasResourceFile, |
| 2366 |
int maxPathLen, char *libraryPath) |
| 2367 |
} |
| 2368 |
declare 1 macosx { |
| 2369 |
int Tcl_MacOSXOpenVersionedBundleResources(Tcl_Interp *interp, |
| 2370 |
const char *bundleName, const char *bundleVersion, |
| 2371 |
int hasResourceFile, int maxPathLen, char *libraryPath) |
| 2372 |
} |
| 2373 |
declare 2 macosx { |
| 2374 |
void TclMacOSXNotifierAddRunLoopMode_(const void *runLoopMode) |
| 2375 |
} |
| 2376 |
|
| 2377 |
############################################################################## |
| 2378 |
|
| 2379 |
# Public functions that are not accessible via the stubs table. |
| 2380 |
|
| 2381 |
export { |
| 2382 |
void Tcl_Main(int argc, char **argv, Tcl_AppInitProc *appInitProc) |
| 2383 |
} |
| 2384 |
export { |
| 2385 |
void Tcl_MainEx(int argc, char **argv, Tcl_AppInitProc *appInitProc, |
| 2386 |
Tcl_Interp *interp) |
| 2387 |
} |
| 2388 |
export { |
| 2389 |
const char *Tcl_InitStubs(Tcl_Interp *interp, const char *version, |
| 2390 |
int exact) |
| 2391 |
} |
| 2392 |
export { |
| 2393 |
const char *TclTomMathInitializeStubs(Tcl_Interp* interp, |
| 2394 |
const char* version, int epoch, int revision) |
| 2395 |
} |
| 2396 |
export { |
| 2397 |
const char *Tcl_PkgInitStubsCheck(Tcl_Interp *interp, const char *version, |
| 2398 |
int exact) |
| 2399 |
} |
| 2400 |
export { |
| 2401 |
void Tcl_GetMemoryInfo(Tcl_DString *dsPtr) |
| 2402 |
} |
| 2403 |
|
| 2404 |
|
| 2405 |
# Local Variables: |
| 2406 |
# mode: tcl |
| 2407 |
# End: |