tcl.decls
来自「tcl是工具命令语言」· DECLS 代码 · 共 1,836 行 · 第 1/4 页
DECLS
1,836 行
}declare 389 generic { int Tcl_GetChannelNamesEx(Tcl_Interp *interp, CONST char *pattern)}declare 390 generic { int Tcl_ProcObjCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])}declare 391 generic { void Tcl_ConditionFinalize(Tcl_Condition *condPtr)}declare 392 generic { void Tcl_MutexFinalize(Tcl_Mutex *mutex)}declare 393 generic { int Tcl_CreateThread(Tcl_ThreadId *idPtr, Tcl_ThreadCreateProc proc, ClientData clientData, int stackSize, int flags)}# Introduced in 8.3.2declare 394 generic { int Tcl_ReadRaw(Tcl_Channel chan, char *dst, int bytesToRead)}declare 395 generic { int Tcl_WriteRaw(Tcl_Channel chan, CONST char *src, int srcLen)}declare 396 generic { Tcl_Channel Tcl_GetTopChannel(Tcl_Channel chan)}declare 397 generic { int Tcl_ChannelBuffered(Tcl_Channel chan)}declare 398 generic { CONST84_RETURN char * Tcl_ChannelName(Tcl_ChannelType *chanTypePtr)}declare 399 generic { Tcl_ChannelTypeVersion Tcl_ChannelVersion(Tcl_ChannelType *chanTypePtr)}declare 400 generic { Tcl_DriverBlockModeProc * Tcl_ChannelBlockModeProc(Tcl_ChannelType *chanTypePtr)}declare 401 generic { Tcl_DriverCloseProc * Tcl_ChannelCloseProc(Tcl_ChannelType *chanTypePtr)}declare 402 generic { Tcl_DriverClose2Proc * Tcl_ChannelClose2Proc(Tcl_ChannelType *chanTypePtr)}declare 403 generic { Tcl_DriverInputProc * Tcl_ChannelInputProc(Tcl_ChannelType *chanTypePtr)}declare 404 generic { Tcl_DriverOutputProc * Tcl_ChannelOutputProc(Tcl_ChannelType *chanTypePtr)}declare 405 generic { Tcl_DriverSeekProc * Tcl_ChannelSeekProc(Tcl_ChannelType *chanTypePtr)}declare 406 generic { Tcl_DriverSetOptionProc * Tcl_ChannelSetOptionProc(Tcl_ChannelType *chanTypePtr)}declare 407 generic { Tcl_DriverGetOptionProc * Tcl_ChannelGetOptionProc(Tcl_ChannelType *chanTypePtr)}declare 408 generic { Tcl_DriverWatchProc * Tcl_ChannelWatchProc(Tcl_ChannelType *chanTypePtr)}declare 409 generic { Tcl_DriverGetHandleProc * Tcl_ChannelGetHandleProc(Tcl_ChannelType *chanTypePtr)}declare 410 generic { Tcl_DriverFlushProc * Tcl_ChannelFlushProc(Tcl_ChannelType *chanTypePtr)}declare 411 generic { Tcl_DriverHandlerProc * Tcl_ChannelHandlerProc(Tcl_ChannelType *chanTypePtr)}# Introduced in 8.4a2declare 412 generic { int Tcl_JoinThread(Tcl_ThreadId id, int* result)}declare 413 generic { int Tcl_IsChannelShared(Tcl_Channel channel)}declare 414 generic { int Tcl_IsChannelRegistered(Tcl_Interp* interp, Tcl_Channel channel)}declare 415 generic { void Tcl_CutChannel(Tcl_Channel channel)}declare 416 generic { void Tcl_SpliceChannel(Tcl_Channel channel)}declare 417 generic { void Tcl_ClearChannelHandlers(Tcl_Channel channel)}declare 418 generic { int Tcl_IsChannelExisting(CONST char* channelName)}declare 419 generic { int Tcl_UniCharNcasecmp(CONST Tcl_UniChar *cs, CONST Tcl_UniChar *ct, unsigned long n)}declare 420 generic { int Tcl_UniCharCaseMatch(CONST Tcl_UniChar *ustr, CONST Tcl_UniChar *pattern, int nocase)}declare 421 generic { Tcl_HashEntry *Tcl_FindHashEntry(Tcl_HashTable *tablePtr, CONST char *key)}declare 422 generic { Tcl_HashEntry *Tcl_CreateHashEntry(Tcl_HashTable *tablePtr, CONST char *key, int *newPtr)}declare 423 generic { void Tcl_InitCustomHashTable(Tcl_HashTable *tablePtr, int keyType, Tcl_HashKeyType *typePtr)}declare 424 generic { void Tcl_InitObjHashTable(Tcl_HashTable *tablePtr)}declare 425 generic { ClientData Tcl_CommandTraceInfo(Tcl_Interp *interp, CONST char *varName, int flags, Tcl_CommandTraceProc *procPtr, ClientData prevClientData)}declare 426 generic { int Tcl_TraceCommand(Tcl_Interp *interp, CONST char *varName, int flags, Tcl_CommandTraceProc *proc, ClientData clientData)}declare 427 generic { void Tcl_UntraceCommand(Tcl_Interp *interp, CONST char *varName, int flags, Tcl_CommandTraceProc *proc, ClientData clientData)}declare 428 generic { char * Tcl_AttemptAlloc(unsigned int size)}declare 429 generic { char * Tcl_AttemptDbCkalloc(unsigned int size, CONST char *file, int line)}declare 430 generic { char * Tcl_AttemptRealloc(char *ptr, unsigned int size)}declare 431 generic { char * Tcl_AttemptDbCkrealloc(char *ptr, unsigned int size, CONST char *file, int line)}declare 432 generic { int Tcl_AttemptSetObjLength(Tcl_Obj *objPtr, int length)}declare 433 generic { Tcl_ThreadId Tcl_GetChannelThread(Tcl_Channel channel)}# introduced in 8.4a3declare 434 generic { Tcl_UniChar * Tcl_GetUnicodeFromObj(Tcl_Obj *objPtr, int *lengthPtr)}declare 435 generic { int Tcl_GetMathFuncInfo(Tcl_Interp *interp, CONST char *name, int *numArgsPtr, Tcl_ValueType **argTypesPtr, Tcl_MathProc **procPtr, ClientData *clientDataPtr)}declare 436 generic { Tcl_Obj * Tcl_ListMathFuncs(Tcl_Interp *interp, CONST char *pattern)}declare 437 generic { Tcl_Obj * Tcl_SubstObj(Tcl_Interp *interp, Tcl_Obj *objPtr, int flags)}declare 438 generic { int Tcl_DetachChannel(Tcl_Interp* interp, Tcl_Channel channel)}declare 439 generic { int Tcl_IsStandardChannel(Tcl_Channel channel)}# New functions due to TIP#17declare 440 generic { int Tcl_FSCopyFile(Tcl_Obj *srcPathPtr, Tcl_Obj *destPathPtr)}declare 441 generic { int Tcl_FSCopyDirectory(Tcl_Obj *srcPathPtr, Tcl_Obj *destPathPtr, Tcl_Obj **errorPtr)}declare 442 generic { int Tcl_FSCreateDirectory(Tcl_Obj *pathPtr)}declare 443 generic { int Tcl_FSDeleteFile(Tcl_Obj *pathPtr)}declare 444 generic { int Tcl_FSLoadFile(Tcl_Interp * interp, Tcl_Obj *pathPtr, CONST char * sym1, CONST char * sym2, Tcl_PackageInitProc ** proc1Ptr, Tcl_PackageInitProc ** proc2Ptr, Tcl_LoadHandle * handlePtr, Tcl_FSUnloadFileProc **unloadProcPtr)}declare 445 generic { int Tcl_FSMatchInDirectory(Tcl_Interp *interp, Tcl_Obj *result, Tcl_Obj *pathPtr, CONST char *pattern, Tcl_GlobTypeData *types)}declare 446 generic { Tcl_Obj * Tcl_FSLink(Tcl_Obj *pathPtr, Tcl_Obj *toPtr, int linkAction)}declare 447 generic { int Tcl_FSRemoveDirectory(Tcl_Obj *pathPtr, int recursive, Tcl_Obj **errorPtr)}declare 448 generic { int Tcl_FSRenameFile(Tcl_Obj *srcPathPtr, Tcl_Obj *destPathPtr)}declare 449 generic { int Tcl_FSLstat(Tcl_Obj *pathPtr, Tcl_StatBuf *buf)}declare 450 generic { int Tcl_FSUtime(Tcl_Obj *pathPtr, struct utimbuf *tval)}declare 451 generic { int Tcl_FSFileAttrsGet(Tcl_Interp *interp, int index, Tcl_Obj *pathPtr, Tcl_Obj **objPtrRef)}declare 452 generic { int Tcl_FSFileAttrsSet(Tcl_Interp *interp, int index, Tcl_Obj *pathPtr, Tcl_Obj *objPtr)}declare 453 generic { CONST char ** Tcl_FSFileAttrStrings(Tcl_Obj *pathPtr, Tcl_Obj **objPtrRef)}declare 454 generic { int Tcl_FSStat(Tcl_Obj *pathPtr, Tcl_StatBuf *buf)}declare 455 generic { int Tcl_FSAccess(Tcl_Obj *pathPtr, int mode)}declare 456 generic { Tcl_Channel Tcl_FSOpenFileChannel(Tcl_Interp *interp, Tcl_Obj *pathPtr, CONST char *modeString, int permissions)}declare 457 generic { Tcl_Obj* Tcl_FSGetCwd(Tcl_Interp *interp)}declare 458 generic { int Tcl_FSChdir(Tcl_Obj *pathPtr)}declare 459 generic { int Tcl_FSConvertToPathType(Tcl_Interp *interp, Tcl_Obj *pathPtr)}declare 460 generic { Tcl_Obj* Tcl_FSJoinPath(Tcl_Obj *listObj, int elements)}declare 461 generic { Tcl_Obj* Tcl_FSSplitPath(Tcl_Obj* pathPtr, int *lenPtr)}declare 462 generic { int Tcl_FSEqualPaths(Tcl_Obj* firstPtr, Tcl_Obj* secondPtr)}declare 463 generic { Tcl_Obj* Tcl_FSGetNormalizedPath(Tcl_Interp *interp, Tcl_Obj* pathObjPtr)}declare 464 generic { Tcl_Obj* Tcl_FSJoinToPath(Tcl_Obj *basePtr, int objc, Tcl_Obj *CONST objv[])}declare 465 generic { ClientData Tcl_FSGetInternalRep(Tcl_Obj* pathObjPtr, Tcl_Filesystem *fsPtr)}declare 466 generic { Tcl_Obj* Tcl_FSGetTranslatedPath(Tcl_Interp *interp, Tcl_Obj* pathPtr)}declare 467 generic { int Tcl_FSEvalFile(Tcl_Interp *interp, Tcl_Obj *fileName)}declare 468 generic { Tcl_Obj* Tcl_FSNewNativePath(Tcl_Filesystem* fromFilesystem, ClientData clientData)}declare 469 generic { CONST char* Tcl_FSGetNativePath(Tcl_Obj* pathObjPtr)}declare 470 generic { Tcl_Obj* Tcl_FSFileSystemInfo(Tcl_Obj* pathObjPtr)}declare 471 generic { Tcl_Obj* Tcl_FSPathSeparator(Tcl_Obj* pathObjPtr)}declare 472 generic { Tcl_Obj* Tcl_FSListVolumes(void)}declare 473 generic { int Tcl_FSRegister(ClientData clientData, Tcl_Filesystem *fsPtr)}declare 474 generic { int Tcl_FSUnregister(Tcl_Filesystem *fsPtr)}declare 475 generic { ClientData Tcl_FSData(Tcl_Filesystem *fsPtr)}declare 476 generic { CONST char* Tcl_FSGetTranslatedStringPath(Tcl_Interp *interp, Tcl_Obj* pathPtr)}declare 477 generic { Tcl_Filesystem* Tcl_FSGetFileSystemForPath(Tcl_Obj* pathObjPtr)}declare 478 generic { Tcl_PathType Tcl_FSGetPathType(Tcl_Obj *pathObjPtr)}# New function due to TIP#49declare 479 generic { int Tcl_OutputBuffered(Tcl_Channel chan)}declare 480 generic { void Tcl_FSMountsChanged(Tcl_Filesystem *fsPtr)} # New function due to TIP#56declare 481 generic { int Tcl_EvalTokensStandard(Tcl_Interp *interp, Tcl_Token *tokenPtr, int count)}# New export due to TIP#73 declare 482 generic { void Tcl_GetTime(Tcl_Time* timeBuf)}# New exports due to TIP#32declare 483 generic { Tcl_Trace Tcl_CreateObjTrace(Tcl_Interp* interp, int level, int flags, Tcl_CmdObjTraceProc* objProc, ClientData clientData, Tcl_CmdObjTraceDeleteProc* delProc)}declare 484 generic { int Tcl_GetCommandInfoFromToken(Tcl_Command token, Tcl_CmdInfo* infoPtr)}declare 485 generic { int Tcl_SetCommandInfoFromToken(Tcl_Command token, CONST Tcl_CmdInfo* infoPtr)}### New functions on 64-bit dev branch ###declare 486 generic { Tcl_Obj * Tcl_DbNewWideIntObj(Tcl_WideInt wideValue, CONST char *file, int line)}declare 487 generic { int Tcl_GetWideIntFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, Tcl_WideInt *widePtr)}declare 488 generic { Tcl_Obj * Tcl_NewWideIntObj(Tcl_WideInt wideValue)}declare 489 generic { void Tcl_SetWideIntObj(Tcl_Obj *objPtr, Tcl_WideInt wideValue)}declare 490 generic { Tcl_StatBuf * Tcl_AllocStatBuf(void)}declare 491 generic { Tcl_WideInt Tcl_Seek(Tcl_Channel chan, Tcl_WideInt offset, int mode)}declare 492 generic { Tcl_WideInt Tcl_Tell(Tcl_Channel chan)}# New export due to TIP#91declare 493 generic { Tcl_DriverWideSeekProc * Tcl_ChannelWideSeekProc( Tcl_ChannelType *chanTypePtr)}############################################################################### Define the platform specific public Tcl interface. These functions are# only available on the designated platform.interface tclPlat####################### Windows declarations# Added in Tcl 8.1declare 0 win { TCHAR * Tcl_WinUtfToTChar(CONST char *str, int len, Tcl_DString *dsPtr)}declare 1 win { char * Tcl_WinTCharToUtf(CONST TCHAR *str, int len, Tcl_DString *dsPtr)}################### Mac declarations# This is needed by the shells to handle Macintosh events. declare 0 mac { void Tcl_MacSetEventProc(Tcl_MacConvertEventPtr procPtr)}# These routines are useful for handling using scripts from resources # in the application shelldeclare 1 mac { char * Tcl_MacConvertTextResource(Handle resource)}declare 2 mac { int Tcl_MacEvalResource(Tcl_Interp *interp, CONST char *resourceName, int resourceNumber, CONST char *fileName)}declare 3 mac { Handle Tcl_MacFindResource(Tcl_Interp *interp, long resourceType, CONST char *resourceName, int resourceNumber, CONST char *resFileRef, int * releaseIt)}# These routines support the new OSType object type (i.e. the packed 4# character type and creator codes).declare 4 mac { int Tcl_GetOSTypeFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, OSType *osTypePtr)}declare 5 mac { void Tcl_SetOSTypeObj(Tcl_Obj *objPtr, OSType osType)}declare 6 mac { Tcl_Obj * Tcl_NewOSTypeObj(OSType osType)}# These are not in MSL 2.1.2, so we need to export them from the# Tcl shared library. They are found in the compat directory. declare 7 mac { int strncasecmp(CONST char *s1, CONST char *s2, size_t n)}declare 8 mac { int strcasecmp(CONST char *s1, CONST char *s2)}################### Mac OS X declarations#declare 0 macosx { int Tcl_MacOSXOpenBundleResources(Tcl_Interp *interp, CONST char *bundleName, int hasResourceFile, int maxPathLen, char *libraryPath)}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?