tclint.decls

来自「tcl是工具命令语言」· DECLS 代码 · 共 992 行 · 第 1/2 页

DECLS
992
字号
    void Tcl_GetVariableFullName(Tcl_Interp *interp, Tcl_Var variable,	    Tcl_Obj *objPtr)}declare 127 generic {    int Tcl_Import(Tcl_Interp *interp, Tcl_Namespace *nsPtr,	    CONST char *pattern, int allowOverwrite)}declare 128 generic {    void Tcl_PopCallFrame(Tcl_Interp* interp)}declare 129 generic {    int Tcl_PushCallFrame(Tcl_Interp* interp, Tcl_CallFrame *framePtr,	    Tcl_Namespace *nsPtr, int isProcCallFrame)} declare 130 generic {    int Tcl_RemoveInterpResolvers(Tcl_Interp *interp, CONST char *name)}declare 131 generic {    void Tcl_SetNamespaceResolvers(Tcl_Namespace *namespacePtr,	    Tcl_ResolveCmdProc *cmdProc, Tcl_ResolveVarProc *varProc,	    Tcl_ResolveCompiledVarProc *compiledVarProc)}declare 132 generic {    int TclpHasSockets(Tcl_Interp *interp)}declare 133 generic {    struct tm *	TclpGetDate(TclpTime_t time, int useGMT)}declare 134 generic {    size_t TclpStrftime(char *s, size_t maxsize, CONST char *format,	    CONST struct tm *t, int useGMT)}declare 135 generic {    int TclpCheckStackSpace(void)}# Added in 8.1:#declare 137 generic {#   int TclpChdir(CONST char *dirName)#}declare 138 generic {    CONST84_RETURN char * TclGetEnv(CONST char *name, Tcl_DString *valuePtr)}#declare 139 generic {#    int TclpLoadFile(Tcl_Interp *interp, char *fileName, char *sym1,#	    char *sym2, Tcl_PackageInitProc **proc1Ptr,#	    Tcl_PackageInitProc **proc2Ptr, ClientData *clientDataPtr)#}declare 140 generic {    int TclLooksLikeInt(CONST char *bytes, int length)}# This is used by TclX, but should otherwise be considered privatedeclare 141 generic {    CONST84_RETURN char *TclpGetCwd(Tcl_Interp *interp, Tcl_DString *cwdPtr)}declare 142 generic {    int TclSetByteCodeFromAny(Tcl_Interp *interp, Tcl_Obj *objPtr,	    CompileHookProc *hookProc, ClientData clientData)}declare 143 generic {    int TclAddLiteralObj(struct CompileEnv *envPtr, Tcl_Obj *objPtr,	    LiteralEntry **litPtrPtr)}declare 144 generic {    void TclHideLiteral(Tcl_Interp *interp, struct CompileEnv *envPtr,	    int index)}declare 145 generic {    struct AuxDataType *TclGetAuxDataType(char *typeName)}declare 146 generic {    TclHandle TclHandleCreate(VOID *ptr)}declare 147 generic {    void TclHandleFree(TclHandle handle)}declare 148 generic {    TclHandle TclHandlePreserve(TclHandle handle)}declare 149 generic {    void TclHandleRelease(TclHandle handle)}# Added for Tcl 8.2declare 150 generic {    int TclRegAbout(Tcl_Interp *interp, Tcl_RegExp re)}declare 151 generic {    void TclRegExpRangeUniChar(Tcl_RegExp re, int index, int *startPtr,	    int *endPtr)}declare 152 generic {    void TclSetLibraryPath(Tcl_Obj *pathPtr)}declare 153 generic {    Tcl_Obj *TclGetLibraryPath(void)}# moved to tclTest.c (static) in 8.3.2/8.4a2#declare 154 generic {#    int TclTestChannelCmd(ClientData clientData,#    Tcl_Interp *interp, int argc, char **argv)#}#declare 155 generic {#    int TclTestChannelEventCmd(ClientData clientData,#	     Tcl_Interp *interp, int argc, char **argv)#}declare 156 generic {    void TclRegError (Tcl_Interp *interp, CONST char *msg,	    int status)}declare 157 generic {    Var * TclVarTraceExists (Tcl_Interp *interp, CONST char *varName)}declare 158 generic {    void TclSetStartupScriptFileName(CONST char *filename)}declare 159 generic {    CONST84_RETURN char *TclGetStartupScriptFileName(void)}#declare 160 generic {#    int TclpMatchFilesTypes(Tcl_Interp *interp, char *separators,#	    Tcl_DString *dirPtr, char *pattern, char *tail, GlobTypeData *types)#}# new in 8.3.2/8.4a2declare 161 generic {    int TclChannelTransform(Tcl_Interp *interp, Tcl_Channel chan,	    Tcl_Obj *cmdObjPtr)}declare 162 generic {    void TclChannelEventScriptInvoker(ClientData clientData, int flags)}# ALERT: The result of 'TclGetInstructionTable' is actually an# "InstructionDesc*" but we do not want to describe this structure in# "tclInt.h". It is described in "tclCompile.h". Use a cast to the# correct type when calling this procedure.declare 163 generic {	void * TclGetInstructionTable (void)}# ALERT: The argument of 'TclExpandCodeArray' is actually a# "CompileEnv*" but we do not want to describe this structure in# "tclInt.h". It is described in "tclCompile.h".declare 164 generic {	void TclExpandCodeArray (void *envPtr)}# These functions are vfs aware, but are generally only useful internally.declare 165 generic {    void TclpSetInitialEncodings(void)}# New function due to TIP #33declare 166 generic {    int TclListObjSetElement(Tcl_Interp *interp, Tcl_Obj *listPtr, 	    int index, Tcl_Obj *valuePtr)}# VFS-aware versions of Tcl*StartupScriptFileName (158 and 159 above)declare 167 generic {    void TclSetStartupScriptPath(Tcl_Obj *pathPtr)}declare 168 generic {    Tcl_Obj *TclGetStartupScriptPath(void)}# variant of Tcl_UtfNCmp that takes n as bytes, not charsdeclare 169 generic {    int TclpUtfNcmp2(CONST char *s1, CONST char *s2, unsigned long n)}declare 170 generic {    int TclCheckInterpTraces (Tcl_Interp *interp, CONST char *command, int numChars, \            Command *cmdPtr, int result, int traceFlags, int objc, \	    Tcl_Obj *CONST objv[])}declare 171 generic {    int TclCheckExecutionTraces (Tcl_Interp *interp, CONST char *command, int numChars, \            Command *cmdPtr, int result, int traceFlags, int objc, \	    Tcl_Obj *CONST objv[])}declare 172 generic {    int TclInThreadExit(void)}# added for 8.4.2declare 173 generic {    int TclUniCharMatch (CONST Tcl_UniChar *string, int strLen, \	    CONST Tcl_UniChar *pattern, int ptnLen, int nocase)}############################################################################### Define the platform specific internal Tcl interface. These functions are# only available on the designated platform.interface tclIntPlat######################### Mac specific internalsdeclare 0 mac {    VOID * TclpSysAlloc(long size, int isBin)}declare 1 mac {    void TclpSysFree(VOID *ptr)}declare 2 mac {    VOID * TclpSysRealloc(VOID *cp, unsigned int size)}declare 3 mac {    void TclpExit(int status)}# Prototypes for functions found in the tclMacUtil.c compatability library.declare 4 mac {    int FSpGetDefaultDir(FSSpecPtr theSpec)}declare 5 mac {    int FSpSetDefaultDir(FSSpecPtr theSpec)}declare 6 mac {    OSErr FSpFindFolder(short vRefNum, OSType folderType,	    Boolean createFolder, FSSpec *spec)}declare 7 mac {    void GetGlobalMouseTcl(Point *mouse)}# The following routines are utility functions in Tcl.  They are exported# here because they are needed in Tk.  They are not officially supported,# however.  The first set are from the MoreFiles package.declare 8 mac {    pascal OSErr FSpGetDirectoryIDTcl(CONST FSSpec *spec, long *theDirID,	    Boolean *isDirectory)}declare 9 mac {    pascal short FSpOpenResFileCompatTcl(CONST FSSpec *spec,	    SignedByte permission)}declare 10 mac {    pascal void FSpCreateResFileCompatTcl(CONST FSSpec *spec, OSType creator,	    OSType fileType, ScriptCode scriptTag)}# Like the MoreFiles routines these fix problems in the standard# Mac calls.  These routines are from tclMacUtils.h.declare 11 mac {    int FSpLocationFromPath(int length, CONST char *path, FSSpecPtr theSpec)}declare 12 mac {    OSErr FSpPathFromLocation(FSSpecPtr theSpec, int *length,	    Handle *fullPath)}# Prototypes of Mac only internal functions.declare 13 mac {    void TclMacExitHandler(void)}declare 14 mac {    void TclMacInitExitToShell(int usePatch)}declare 15 mac {    OSErr TclMacInstallExitToShellPatch(ExitToShellProcPtr newProc)}declare 16 mac {    int TclMacOSErrorToPosixError(int error)}declare 17 mac {    void TclMacRemoveTimer(void *timerToken)}declare 18 mac {    void * TclMacStartTimer(long ms)}declare 19 mac {    int TclMacTimerExpired(void *timerToken)}declare 20 mac {    int TclMacRegisterResourceFork(short fileRef, Tcl_Obj *tokenPtr,	    int insert)}	declare 21 mac {    short TclMacUnRegisterResourceFork(char *tokenPtr, Tcl_Obj *resultPtr)}	declare 22 mac {    int TclMacCreateEnv(void)}declare 23 mac {    FILE * TclMacFOpenHack(CONST char *path, CONST char *mode)}# Replaced in 8.1 by TclpReadLink:#  declare 24 mac {#      int TclMacReadlink(char *path, char *buf, int size)#  }declare 24 mac {    char * TclpGetTZName(int isdst)}declare 25 mac {    int TclMacChmod(CONST char *path, int mode)}# version of FSpLocationFromPath that doesn't resolve the last path componentdeclare 26 mac {    int FSpLLocationFromPath(int length, CONST char *path, FSSpecPtr theSpec)}############################# Windows specific internalsdeclare 0 win {    void TclWinConvertError(DWORD errCode)}declare 1 win {    void TclWinConvertWSAError(DWORD errCode)}declare 2 win {    struct servent * TclWinGetServByName(CONST char *nm,	    CONST char *proto)}declare 3 win {    int TclWinGetSockOpt(SOCKET s, int level, int optname,	    char FAR * optval, int FAR *optlen)}declare 4 win {    HINSTANCE TclWinGetTclInstance(void)}# Removed in 8.1:#  declare 5 win {#      HINSTANCE TclWinLoadLibrary(char *name)#  }declare 6 win {    u_short TclWinNToHS(u_short ns)}declare 7 win {    int TclWinSetSockOpt(SOCKET s, int level, int optname,	    CONST char FAR * optval, int optlen)}declare 8 win {    unsigned long TclpGetPid(Tcl_Pid pid)}declare 9 win {    int TclWinGetPlatformId(void)}# Removed in 8.3.1 (for Win32s only)#declare 10 win {#    int TclWinSynchSpawn(void *args, int type, void **trans, Tcl_Pid *pidPtr)#}# Pipe channel functionsdeclare 11 win {    void TclGetAndDetachPids(Tcl_Interp *interp, Tcl_Channel chan)}declare 12 win {    int TclpCloseFile(TclFile file)}declare 13 win {    Tcl_Channel TclpCreateCommandChannel(TclFile readFile,	    TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid *pidPtr)}declare 14 win {    int TclpCreatePipe(TclFile *readPipe, TclFile *writePipe)}declare 15 win {    int TclpCreateProcess(Tcl_Interp *interp, int argc, CONST char **argv,	    TclFile inputFile, TclFile outputFile, TclFile errorFile,	    Tcl_Pid *pidPtr)}# Signature changed in 8.1:#  declare 16 win {#      TclFile TclpCreateTempFile(char *contents, Tcl_DString *namePtr)#  }#  declare 17 win {#      char * TclpGetTZName(void)#  }declare 18 win {    TclFile TclpMakeFile(Tcl_Channel channel, int direction)}declare 19 win {    TclFile TclpOpenFile(CONST char *fname, int mode)}declare 20 win {    void TclWinAddProcess(HANDLE hProcess, DWORD id)}# removed permanently for 8.4#declare 21 win {#    void TclpAsyncMark(Tcl_AsyncHandler async)#}# Added in 8.1:declare 22 win {    TclFile TclpCreateTempFile(CONST char *contents)}declare 23 win {    char * TclpGetTZName(int isdst)}declare 24 win {    char * TclWinNoBackslash(char *path)}declare 25 win {    TclPlatformType *TclWinGetPlatform(void)}declare 26 win {    void TclWinSetInterfaces(int wide)}# Added in Tcl 8.3.3 / 8.4declare 27 win {    void TclWinFlushDirtyChannels (void)}# Added in 8.4.2declare 28 win {    void TclWinResetInterfaces(void)}########################## Unix specific internals# Pipe channel functionsdeclare 0 unix {    void TclGetAndDetachPids(Tcl_Interp *interp, Tcl_Channel chan)}declare 1 unix {    int TclpCloseFile(TclFile file)}declare 2 unix {    Tcl_Channel TclpCreateCommandChannel(TclFile readFile,	    TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid *pidPtr)}declare 3 unix {    int TclpCreatePipe(TclFile *readPipe, TclFile *writePipe)}declare 4 unix {    int TclpCreateProcess(Tcl_Interp *interp, int argc, CONST char **argv,	    TclFile inputFile, TclFile outputFile, TclFile errorFile,	    Tcl_Pid *pidPtr)}# Signature changed in 8.1:#  declare 5 unix {#      TclFile TclpCreateTempFile(char *contents, Tcl_DString *namePtr)#  }declare 6 unix {    TclFile TclpMakeFile(Tcl_Channel channel, int direction)}declare 7 unix {    TclFile TclpOpenFile(CONST char *fname, int mode)}declare 8 unix {    int TclUnixWaitForFile(int fd, int mask, int timeout)}# Added in 8.1:declare 9 unix {    TclFile TclpCreateTempFile(CONST char *contents)}# Added in 8.4:declare 10 unix {    Tcl_DirEntry * TclpReaddir(DIR * dir)}declare 11 unix {    struct tm * TclpLocaltime(time_t * clock)}declare 12 unix {    struct tm * TclpGmtime(time_t * clock)}declare 13 unix {    char * TclpInetNtoa(struct in_addr addr)}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?