⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tclstubinit.c

📁 tcl是工具命令语言
💻 C
📖 第 1 页 / 共 2 页
字号:
/*  * tclStubInit.c -- * *	This file contains the initializers for the Tcl stub vectors. * * Copyright (c) 1998-1999 by Scriptics Corporation. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * RCS: @(#) $Id: tclStubInit.c,v 1.79 2003/02/18 02:25:45 hobbs Exp $ */#include "tclInt.h"#include "tclPort.h"/* * Remove macros that will interfere with the definitions below. */#undef Tcl_Alloc#undef Tcl_Free#undef Tcl_Realloc#undef Tcl_NewBooleanObj#undef Tcl_NewByteArrayObj#undef Tcl_NewDoubleObj#undef Tcl_NewIntObj#undef Tcl_NewListObj#undef Tcl_NewLongObj#undef Tcl_NewObj#undef Tcl_NewStringObj#undef Tcl_DumpActiveMemory#undef Tcl_ValidateAllMemory#if TCL_PRESERVE_BINARY_COMPATABILITY#   undef Tcl_FindHashEntry#   undef Tcl_CreateHashEntry#endif/* * WARNING: The contents of this file is automatically generated by the * tools/genStubs.tcl script. Any modifications to the function declarations * below should be made in the generic/tcl.decls script. *//* !BEGIN!: Do not edit below this line. */TclIntStubs tclIntStubs = {    TCL_STUB_MAGIC,    NULL,    NULL, /* 0 */    TclAccessDeleteProc, /* 1 */    TclAccessInsertProc, /* 2 */    TclAllocateFreeObjects, /* 3 */    NULL, /* 4 */#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */    TclCleanupChildren, /* 5 */#endif /* UNIX */#ifdef __WIN32__    TclCleanupChildren, /* 5 */#endif /* __WIN32__ */#ifdef MAC_TCL    NULL, /* 5 */#endif /* MAC_TCL */    TclCleanupCommand, /* 6 */    TclCopyAndCollapse, /* 7 */    TclCopyChannel, /* 8 */#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */    TclCreatePipeline, /* 9 */#endif /* UNIX */#ifdef __WIN32__    TclCreatePipeline, /* 9 */#endif /* __WIN32__ */#ifdef MAC_TCL    NULL, /* 9 */#endif /* MAC_TCL */    TclCreateProc, /* 10 */    TclDeleteCompiledLocalVars, /* 11 */    TclDeleteVars, /* 12 */    TclDoGlob, /* 13 */    TclDumpMemoryInfo, /* 14 */    NULL, /* 15 */    TclExprFloatError, /* 16 */    NULL, /* 17 */    NULL, /* 18 */    NULL, /* 19 */    NULL, /* 20 */    NULL, /* 21 */    TclFindElement, /* 22 */    TclFindProc, /* 23 */    TclFormatInt, /* 24 */    TclFreePackageInfo, /* 25 */    NULL, /* 26 */    TclGetDate, /* 27 */    TclpGetDefaultStdChannel, /* 28 */    NULL, /* 29 */    NULL, /* 30 */    TclGetExtension, /* 31 */    TclGetFrame, /* 32 */    TclGetInterpProc, /* 33 */    TclGetIntForIndex, /* 34 */    NULL, /* 35 */    TclGetLong, /* 36 */    TclGetLoadedPackages, /* 37 */    TclGetNamespaceForQualName, /* 38 */    TclGetObjInterpProc, /* 39 */    TclGetOpenMode, /* 40 */    TclGetOriginalCommand, /* 41 */    TclpGetUserHome, /* 42 */    TclGlobalInvoke, /* 43 */    TclGuessPackageName, /* 44 */    TclHideUnsafeCommands, /* 45 */    TclInExit, /* 46 */    NULL, /* 47 */    NULL, /* 48 */    TclIncrVar2, /* 49 */    TclInitCompiledLocals, /* 50 */    TclInterpInit, /* 51 */    TclInvoke, /* 52 */    TclInvokeObjectCommand, /* 53 */    TclInvokeStringCommand, /* 54 */    TclIsProc, /* 55 */    NULL, /* 56 */    NULL, /* 57 */    TclLookupVar, /* 58 */    NULL, /* 59 */    TclNeedSpace, /* 60 */    TclNewProcBodyObj, /* 61 */    TclObjCommandComplete, /* 62 */    TclObjInterpProc, /* 63 */    TclObjInvoke, /* 64 */    TclObjInvokeGlobal, /* 65 */    TclOpenFileChannelDeleteProc, /* 66 */    TclOpenFileChannelInsertProc, /* 67 */    NULL, /* 68 */    TclpAlloc, /* 69 */    NULL, /* 70 */    NULL, /* 71 */    NULL, /* 72 */    NULL, /* 73 */    TclpFree, /* 74 */    TclpGetClicks, /* 75 */    TclpGetSeconds, /* 76 */    TclpGetTime, /* 77 */    TclpGetTimeZone, /* 78 */    NULL, /* 79 */    NULL, /* 80 */    TclpRealloc, /* 81 */    NULL, /* 82 */    NULL, /* 83 */    NULL, /* 84 */    NULL, /* 85 */    NULL, /* 86 */    NULL, /* 87 */    TclPrecTraceProc, /* 88 */    TclPreventAliasLoop, /* 89 */    NULL, /* 90 */    TclProcCleanupProc, /* 91 */    TclProcCompileProc, /* 92 */    TclProcDeleteProc, /* 93 */    TclProcInterpProc, /* 94 */    NULL, /* 95 */    TclRenameCommand, /* 96 */    TclResetShadowedCmdRefs, /* 97 */    TclServiceIdle, /* 98 */    NULL, /* 99 */    NULL, /* 100 */    TclSetPreInitScript, /* 101 */    TclSetupEnv, /* 102 */    TclSockGetPort, /* 103 */#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */    TclSockMinimumBuffers, /* 104 */#endif /* UNIX */#ifdef __WIN32__    TclSockMinimumBuffers, /* 104 */#endif /* __WIN32__ */#ifdef MAC_TCL    NULL, /* 104 */#endif /* MAC_TCL */    NULL, /* 105 */    TclStatDeleteProc, /* 106 */    TclStatInsertProc, /* 107 */    TclTeardownNamespace, /* 108 */    TclUpdateReturnInfo, /* 109 */    NULL, /* 110 */    Tcl_AddInterpResolvers, /* 111 */    Tcl_AppendExportList, /* 112 */    Tcl_CreateNamespace, /* 113 */    Tcl_DeleteNamespace, /* 114 */    Tcl_Export, /* 115 */    Tcl_FindCommand, /* 116 */    Tcl_FindNamespace, /* 117 */    Tcl_GetInterpResolvers, /* 118 */    Tcl_GetNamespaceResolvers, /* 119 */    Tcl_FindNamespaceVar, /* 120 */    Tcl_ForgetImport, /* 121 */    Tcl_GetCommandFromObj, /* 122 */    Tcl_GetCommandFullName, /* 123 */    Tcl_GetCurrentNamespace, /* 124 */    Tcl_GetGlobalNamespace, /* 125 */    Tcl_GetVariableFullName, /* 126 */    Tcl_Import, /* 127 */    Tcl_PopCallFrame, /* 128 */    Tcl_PushCallFrame, /* 129 */    Tcl_RemoveInterpResolvers, /* 130 */    Tcl_SetNamespaceResolvers, /* 131 */    TclpHasSockets, /* 132 */    TclpGetDate, /* 133 */    TclpStrftime, /* 134 */    TclpCheckStackSpace, /* 135 */    NULL, /* 136 */    NULL, /* 137 */    TclGetEnv, /* 138 */    NULL, /* 139 */    TclLooksLikeInt, /* 140 */    TclpGetCwd, /* 141 */    TclSetByteCodeFromAny, /* 142 */    TclAddLiteralObj, /* 143 */    TclHideLiteral, /* 144 */    TclGetAuxDataType, /* 145 */    TclHandleCreate, /* 146 */    TclHandleFree, /* 147 */    TclHandlePreserve, /* 148 */    TclHandleRelease, /* 149 */    TclRegAbout, /* 150 */    TclRegExpRangeUniChar, /* 151 */    TclSetLibraryPath, /* 152 */    TclGetLibraryPath, /* 153 */    NULL, /* 154 */    NULL, /* 155 */    TclRegError, /* 156 */    TclVarTraceExists, /* 157 */    TclSetStartupScriptFileName, /* 158 */    TclGetStartupScriptFileName, /* 159 */    NULL, /* 160 */    TclChannelTransform, /* 161 */    TclChannelEventScriptInvoker, /* 162 */    TclGetInstructionTable, /* 163 */    TclExpandCodeArray, /* 164 */    TclpSetInitialEncodings, /* 165 */    TclListObjSetElement, /* 166 */    TclSetStartupScriptPath, /* 167 */    TclGetStartupScriptPath, /* 168 */    TclpUtfNcmp2, /* 169 */    TclCheckInterpTraces, /* 170 */    TclCheckExecutionTraces, /* 171 */    TclInThreadExit, /* 172 */    TclUniCharMatch, /* 173 */};TclIntPlatStubs tclIntPlatStubs = {    TCL_STUB_MAGIC,    NULL,#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */    TclGetAndDetachPids, /* 0 */    TclpCloseFile, /* 1 */    TclpCreateCommandChannel, /* 2 */    TclpCreatePipe, /* 3 */    TclpCreateProcess, /* 4 */    NULL, /* 5 */    TclpMakeFile, /* 6 */    TclpOpenFile, /* 7 */    TclUnixWaitForFile, /* 8 */    TclpCreateTempFile, /* 9 */    TclpReaddir, /* 10 */    TclpLocaltime, /* 11 */    TclpGmtime, /* 12 */    TclpInetNtoa, /* 13 */#endif /* UNIX */#ifdef __WIN32__    TclWinConvertError, /* 0 */    TclWinConvertWSAError, /* 1 */    TclWinGetServByName, /* 2 */    TclWinGetSockOpt, /* 3 */    TclWinGetTclInstance, /* 4 */    NULL, /* 5 */    TclWinNToHS, /* 6 */    TclWinSetSockOpt, /* 7 */    TclpGetPid, /* 8 */    TclWinGetPlatformId, /* 9 */    NULL, /* 10 */    TclGetAndDetachPids, /* 11 */    TclpCloseFile, /* 12 */    TclpCreateCommandChannel, /* 13 */    TclpCreatePipe, /* 14 */    TclpCreateProcess, /* 15 */    NULL, /* 16 */    NULL, /* 17 */    TclpMakeFile, /* 18 */    TclpOpenFile, /* 19 */    TclWinAddProcess, /* 20 */    NULL, /* 21 */    TclpCreateTempFile, /* 22 */    TclpGetTZName, /* 23 */    TclWinNoBackslash, /* 24 */    TclWinGetPlatform, /* 25 */    TclWinSetInterfaces, /* 26 */    TclWinFlushDirtyChannels, /* 27 */    TclWinResetInterfaces, /* 28 */#endif /* __WIN32__ */#ifdef MAC_TCL    TclpSysAlloc, /* 0 */    TclpSysFree, /* 1 */    TclpSysRealloc, /* 2 */    TclpExit, /* 3 */    FSpGetDefaultDir, /* 4 */    FSpSetDefaultDir, /* 5 */    FSpFindFolder, /* 6 */    GetGlobalMouseTcl, /* 7 */    FSpGetDirectoryIDTcl, /* 8 */    FSpOpenResFileCompatTcl, /* 9 */    FSpCreateResFileCompatTcl, /* 10 */    FSpLocationFromPath, /* 11 */    FSpPathFromLocation, /* 12 */    TclMacExitHandler, /* 13 */    TclMacInitExitToShell, /* 14 */    TclMacInstallExitToShellPatch, /* 15 */    TclMacOSErrorToPosixError, /* 16 */    TclMacRemoveTimer, /* 17 */    TclMacStartTimer, /* 18 */    TclMacTimerExpired, /* 19 */    TclMacRegisterResourceFork, /* 20 */    TclMacUnRegisterResourceFork, /* 21 */    TclMacCreateEnv, /* 22 */    TclMacFOpenHack, /* 23 */    TclpGetTZName, /* 24 */    TclMacChmod, /* 25 */    FSpLLocationFromPath, /* 26 */#endif /* MAC_TCL */};TclPlatStubs tclPlatStubs = {    TCL_STUB_MAGIC,    NULL,#ifdef __WIN32__    Tcl_WinUtfToTChar, /* 0 */    Tcl_WinTCharToUtf, /* 1 */#endif /* __WIN32__ */#ifdef MAC_TCL    Tcl_MacSetEventProc, /* 0 */    Tcl_MacConvertTextResource, /* 1 */    Tcl_MacEvalResource, /* 2 */    Tcl_MacFindResource, /* 3 */    Tcl_GetOSTypeFromObj, /* 4 */    Tcl_SetOSTypeObj, /* 5 */    Tcl_NewOSTypeObj, /* 6 */    strncasecmp, /* 7 */    strcasecmp, /* 8 */#endif /* MAC_TCL */#ifdef MAC_OSX_TCL    Tcl_MacOSXOpenBundleResources, /* 0 */#endif /* MAC_OSX_TCL */};static TclStubHooks tclStubHooks = {    &tclPlatStubs,    &tclIntStubs,    &tclIntPlatStubs};TclStubs tclStubs = {    TCL_STUB_MAGIC,    &tclStubHooks,    Tcl_PkgProvideEx, /* 0 */    Tcl_PkgRequireEx, /* 1 */    Tcl_Panic, /* 2 */    Tcl_Alloc, /* 3 */    Tcl_Free, /* 4 */    Tcl_Realloc, /* 5 */    Tcl_DbCkalloc, /* 6 */    Tcl_DbCkfree, /* 7 */    Tcl_DbCkrealloc, /* 8 */#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */    Tcl_CreateFileHandler, /* 9 */#endif /* UNIX */#ifdef __WIN32__    NULL, /* 9 */#endif /* __WIN32__ */#ifdef MAC_TCL    NULL, /* 9 */#endif /* MAC_TCL */#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */    Tcl_DeleteFileHandler, /* 10 */#endif /* UNIX */#ifdef __WIN32__    NULL, /* 10 */#endif /* __WIN32__ */#ifdef MAC_TCL    NULL, /* 10 */#endif /* MAC_TCL */    Tcl_SetTimer, /* 11 */    Tcl_Sleep, /* 12 */    Tcl_WaitForEvent, /* 13 */    Tcl_AppendAllObjTypes, /* 14 */    Tcl_AppendStringsToObj, /* 15 */    Tcl_AppendToObj, /* 16 */    Tcl_ConcatObj, /* 17 */    Tcl_ConvertToType, /* 18 */    Tcl_DbDecrRefCount, /* 19 */    Tcl_DbIncrRefCount, /* 20 */    Tcl_DbIsShared, /* 21 */    Tcl_DbNewBooleanObj, /* 22 */    Tcl_DbNewByteArrayObj, /* 23 */    Tcl_DbNewDoubleObj, /* 24 */    Tcl_DbNewListObj, /* 25 */    Tcl_DbNewLongObj, /* 26 */    Tcl_DbNewObj, /* 27 */    Tcl_DbNewStringObj, /* 28 */    Tcl_DuplicateObj, /* 29 */    TclFreeObj, /* 30 */    Tcl_GetBoolean, /* 31 */    Tcl_GetBooleanFromObj, /* 32 */    Tcl_GetByteArrayFromObj, /* 33 */    Tcl_GetDouble, /* 34 */    Tcl_GetDoubleFromObj, /* 35 */    Tcl_GetIndexFromObj, /* 36 */    Tcl_GetInt, /* 37 */    Tcl_GetIntFromObj, /* 38 */    Tcl_GetLongFromObj, /* 39 */    Tcl_GetObjType, /* 40 */    Tcl_GetStringFromObj, /* 41 */    Tcl_InvalidateStringRep, /* 42 */    Tcl_ListObjAppendList, /* 43 */    Tcl_ListObjAppendElement, /* 44 */    Tcl_ListObjGetElements, /* 45 */    Tcl_ListObjIndex, /* 46 */    Tcl_ListObjLength, /* 47 */    Tcl_ListObjReplace, /* 48 */    Tcl_NewBooleanObj, /* 49 */    Tcl_NewByteArrayObj, /* 50 */    Tcl_NewDoubleObj, /* 51 */    Tcl_NewIntObj, /* 52 */    Tcl_NewListObj, /* 53 */    Tcl_NewLongObj, /* 54 */    Tcl_NewObj, /* 55 */    Tcl_NewStringObj, /* 56 */    Tcl_SetBooleanObj, /* 57 */    Tcl_SetByteArrayLength, /* 58 */    Tcl_SetByteArrayObj, /* 59 */    Tcl_SetDoubleObj, /* 60 */    Tcl_SetIntObj, /* 61 */    Tcl_SetListObj, /* 62 */    Tcl_SetLongObj, /* 63 */    Tcl_SetObjLength, /* 64 */    Tcl_SetStringObj, /* 65 */    Tcl_AddErrorInfo, /* 66 */    Tcl_AddObjErrorInfo, /* 67 */    Tcl_AllowExceptions, /* 68 */    Tcl_AppendElement, /* 69 */    Tcl_AppendResult, /* 70 */    Tcl_AsyncCreate, /* 71 */    Tcl_AsyncDelete, /* 72 */    Tcl_AsyncInvoke, /* 73 */    Tcl_AsyncMark, /* 74 */    Tcl_AsyncReady, /* 75 */

⌨️ 快捷键说明

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