|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _TCLINTDECLS |
|
#define _TCLINTDECLS |
|
|
|
|
|
#undef TCL_STORAGE_CLASS |
|
#ifdef BUILD_tcl |
|
# define TCL_STORAGE_CLASS DLLEXPORT |
|
#else |
|
# ifdef USE_TCL_STUBS |
|
# define TCL_STORAGE_CLASS |
|
# else |
|
# define TCL_STORAGE_CLASS DLLIMPORT |
|
# endif |
|
#endif |
|
|
|
|
|
#undef Tcl_CreateNamespace |
|
#undef Tcl_DeleteNamespace |
|
#undef Tcl_AppendExportList |
|
#undef Tcl_Export |
|
#undef Tcl_Import |
|
#undef Tcl_ForgetImport |
|
#undef Tcl_GetCurrentNamespace |
|
#undef Tcl_GetGlobalNamespace |
|
#undef Tcl_FindNamespace |
|
#undef Tcl_FindCommand |
|
#undef Tcl_GetCommandFromObj |
|
#undef Tcl_GetCommandFullName |
|
#undef Tcl_SetStartupScript |
|
#undef Tcl_GetStartupScript |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EXTERN void TclAllocateFreeObjects(void); |
|
|
|
|
|
EXTERN int TclCleanupChildren(Tcl_Interp *interp, int numPids, |
|
Tcl_Pid *pidPtr, Tcl_Channel errorChan); |
|
|
|
EXTERN void TclCleanupCommand(Command *cmdPtr); |
|
|
|
EXTERN int TclCopyAndCollapse(int count, const char *src, |
|
char *dst); |
|
|
|
EXTERN int TclCopyChannelOld(Tcl_Interp *interp, |
|
Tcl_Channel inChan, Tcl_Channel outChan, |
|
int toRead, Tcl_Obj *cmdPtr); |
|
|
|
EXTERN int TclCreatePipeline(Tcl_Interp *interp, int argc, |
|
const char **argv, Tcl_Pid **pidArrayPtr, |
|
TclFile *inPipePtr, TclFile *outPipePtr, |
|
TclFile *errFilePtr); |
|
|
|
EXTERN int TclCreateProc(Tcl_Interp *interp, Namespace *nsPtr, |
|
const char *procName, Tcl_Obj *argsPtr, |
|
Tcl_Obj *bodyPtr, Proc **procPtrPtr); |
|
|
|
EXTERN void TclDeleteCompiledLocalVars(Interp *iPtr, |
|
CallFrame *framePtr); |
|
|
|
EXTERN void TclDeleteVars(Interp *iPtr, |
|
TclVarHashTable *tablePtr); |
|
|
|
|
|
EXTERN int TclDumpMemoryInfo(ClientData clientData, int flags); |
|
|
|
|
|
EXTERN void TclExprFloatError(Tcl_Interp *interp, double value); |
|
|
|
|
|
|
|
|
|
|
|
|
|
EXTERN int TclFindElement(Tcl_Interp *interp, |
|
const char *listStr, int listLength, |
|
const char **elementPtr, |
|
const char **nextPtr, int *sizePtr, |
|
int *bracePtr); |
|
|
|
EXTERN Proc * TclFindProc(Interp *iPtr, const char *procName); |
|
|
|
EXTERN int TclFormatInt(char *buffer, long n); |
|
|
|
EXTERN void TclFreePackageInfo(Interp *iPtr); |
|
|
|
|
|
|
|
EXTERN Tcl_Channel TclpGetDefaultStdChannel(int type); |
|
|
|
|
|
|
|
EXTERN const char * TclGetExtension(const char *name); |
|
|
|
EXTERN int TclGetFrame(Tcl_Interp *interp, const char *str, |
|
CallFrame **framePtrPtr); |
|
|
|
|
|
EXTERN int TclGetIntForIndex(Tcl_Interp *interp, |
|
Tcl_Obj *objPtr, int endValue, int *indexPtr); |
|
|
|
|
|
|
|
EXTERN int TclGetLoadedPackages(Tcl_Interp *interp, |
|
const char *targetName); |
|
|
|
EXTERN int TclGetNamespaceForQualName(Tcl_Interp *interp, |
|
const char *qualName, Namespace *cxtNsPtr, |
|
int flags, Namespace **nsPtrPtr, |
|
Namespace **altNsPtrPtr, |
|
Namespace **actualCxtPtrPtr, |
|
const char **simpleNamePtr); |
|
|
|
EXTERN Tcl_ObjCmdProc * TclGetObjInterpProc(void); |
|
|
|
EXTERN int TclGetOpenMode(Tcl_Interp *interp, const char *str, |
|
int *seekFlagPtr); |
|
|
|
EXTERN Tcl_Command TclGetOriginalCommand(Tcl_Command command); |
|
|
|
EXTERN CONST86 char * TclpGetUserHome(const char *name, |
|
Tcl_DString *bufferPtr); |
|
|
|
|
|
EXTERN int TclGuessPackageName(const char *fileName, |
|
Tcl_DString *bufPtr); |
|
|
|
EXTERN int TclHideUnsafeCommands(Tcl_Interp *interp); |
|
|
|
EXTERN int TclInExit(void); |
|
|
|
|
|
|
|
|
|
EXTERN void TclInitCompiledLocals(Tcl_Interp *interp, |
|
CallFrame *framePtr, Namespace *nsPtr); |
|
|
|
EXTERN int TclInterpInit(Tcl_Interp *interp); |
|
|
|
|
|
EXTERN int TclInvokeObjectCommand(ClientData clientData, |
|
Tcl_Interp *interp, int argc, |
|
CONST84 char **argv); |
|
|
|
EXTERN int TclInvokeStringCommand(ClientData clientData, |
|
Tcl_Interp *interp, int objc, |
|
Tcl_Obj *const objv[]); |
|
|
|
EXTERN Proc * TclIsProc(Command *cmdPtr); |
|
|
|
|
|
|
|
EXTERN Var * TclLookupVar(Tcl_Interp *interp, const char *part1, |
|
const char *part2, int flags, |
|
const char *msg, int createPart1, |
|
int createPart2, Var **arrayPtrPtr); |
|
|
|
|
|
EXTERN int TclNeedSpace(const char *start, const char *end); |
|
|
|
EXTERN Tcl_Obj * TclNewProcBodyObj(Proc *procPtr); |
|
|
|
EXTERN int TclObjCommandComplete(Tcl_Obj *cmdPtr); |
|
|
|
EXTERN int TclObjInterpProc(ClientData clientData, |
|
Tcl_Interp *interp, int objc, |
|
Tcl_Obj *const objv[]); |
|
|
|
EXTERN int TclObjInvoke(Tcl_Interp *interp, int objc, |
|
Tcl_Obj *const objv[], int flags); |
|
|
|
|
|
|
|
|
|
|
|
EXTERN char * TclpAlloc(unsigned int size); |
|
|
|
|
|
|
|
|
|
|
|
EXTERN void TclpFree(char *ptr); |
|
|
|
EXTERN unsigned long TclpGetClicks(void); |
|
|
|
EXTERN unsigned long TclpGetSeconds(void); |
|
|
|
EXTERN void TclpGetTime(Tcl_Time *time); |
|
|
|
|
|
|
|
|
|
EXTERN char * TclpRealloc(char *ptr, unsigned int size); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EXTERN char * TclPrecTraceProc(ClientData clientData, |
|
Tcl_Interp *interp, const char *name1, |
|
const char *name2, int flags); |
|
|
|
EXTERN int TclPreventAliasLoop(Tcl_Interp *interp, |
|
Tcl_Interp *cmdInterp, Tcl_Command cmd); |
|
|
|
|
|
EXTERN void TclProcCleanupProc(Proc *procPtr); |
|
|
|
EXTERN int TclProcCompileProc(Tcl_Interp *interp, Proc *procPtr, |
|
Tcl_Obj *bodyPtr, Namespace *nsPtr, |
|
const char *description, |
|
const char *procName); |
|
|
|
EXTERN void TclProcDeleteProc(ClientData clientData); |
|
|
|
|
|
|
|
EXTERN int TclRenameCommand(Tcl_Interp *interp, |
|
const char *oldName, const char *newName); |
|
|
|
EXTERN void TclResetShadowedCmdRefs(Tcl_Interp *interp, |
|
Command *newCmdPtr); |
|
|
|
EXTERN int TclServiceIdle(void); |
|
|
|
|
|
|
|
EXTERN CONST86 char * TclSetPreInitScript(const char *string); |
|
|
|
EXTERN void TclSetupEnv(Tcl_Interp *interp); |
|
|
|
EXTERN int TclSockGetPort(Tcl_Interp *interp, const char *str, |
|
const char *proto, int *portPtr); |
|
|
|
EXTERN int TclSockMinimumBuffersOld(int sock, int size); |
|
|
|
|
|
|
|
|
|
EXTERN void TclTeardownNamespace(Namespace *nsPtr); |
|
|
|
EXTERN int TclUpdateReturnInfo(Interp *iPtr); |
|
|
|
EXTERN int TclSockMinimumBuffers(void *sock, int size); |
|
|
|
EXTERN void Tcl_AddInterpResolvers(Tcl_Interp *interp, |
|
const char *name, |
|
Tcl_ResolveCmdProc *cmdProc, |
|
Tcl_ResolveVarProc *varProc, |
|
Tcl_ResolveCompiledVarProc *compiledVarProc); |
|
|
|
EXTERN int Tcl_AppendExportList(Tcl_Interp *interp, |
|
Tcl_Namespace *nsPtr, Tcl_Obj *objPtr); |
|
|
|
EXTERN Tcl_Namespace * Tcl_CreateNamespace(Tcl_Interp *interp, |
|
const char *name, ClientData clientData, |
|
Tcl_NamespaceDeleteProc *deleteProc); |
|
|
|
EXTERN void Tcl_DeleteNamespace(Tcl_Namespace *nsPtr); |
|
|
|
EXTERN int Tcl_Export(Tcl_Interp *interp, Tcl_Namespace *nsPtr, |
|
const char *pattern, int resetListFirst); |
|
|
|
EXTERN Tcl_Command Tcl_FindCommand(Tcl_Interp *interp, const char *name, |
|
Tcl_Namespace *contextNsPtr, int flags); |
|
|
|
EXTERN Tcl_Namespace * Tcl_FindNamespace(Tcl_Interp *interp, |
|
const char *name, |
|
Tcl_Namespace *contextNsPtr, int flags); |
|
|
|
EXTERN int Tcl_GetInterpResolvers(Tcl_Interp *interp, |
|
const char *name, Tcl_ResolverInfo *resInfo); |
|
|
|
EXTERN int Tcl_GetNamespaceResolvers( |
|
Tcl_Namespace *namespacePtr, |
|
Tcl_ResolverInfo *resInfo); |
|
|
|
EXTERN Tcl_Var Tcl_FindNamespaceVar(Tcl_Interp *interp, |
|
const char *name, |
|
Tcl_Namespace *contextNsPtr, int flags); |
|
|
|
EXTERN int Tcl_ForgetImport(Tcl_Interp *interp, |
|
Tcl_Namespace *nsPtr, const char *pattern); |
|
|
|
EXTERN Tcl_Command Tcl_GetCommandFromObj(Tcl_Interp *interp, |
|
Tcl_Obj *objPtr); |
|
|
|
EXTERN void Tcl_GetCommandFullName(Tcl_Interp *interp, |
|
Tcl_Command command, Tcl_Obj *objPtr); |
|
|
|
EXTERN Tcl_Namespace * Tcl_GetCurrentNamespace(Tcl_Interp *interp); |
|
|
|
EXTERN Tcl_Namespace * Tcl_GetGlobalNamespace(Tcl_Interp *interp); |
|
|
|
EXTERN void Tcl_GetVariableFullName(Tcl_Interp *interp, |
|
Tcl_Var variable, Tcl_Obj *objPtr); |
|
|
|
EXTERN int Tcl_Import(Tcl_Interp *interp, Tcl_Namespace *nsPtr, |
|
const char *pattern, int allowOverwrite); |
|
|
|
EXTERN void Tcl_PopCallFrame(Tcl_Interp *interp); |
|
|
|
EXTERN int Tcl_PushCallFrame(Tcl_Interp *interp, |
|
Tcl_CallFrame *framePtr, |
|
Tcl_Namespace *nsPtr, int isProcCallFrame); |
|
|
|
EXTERN int Tcl_RemoveInterpResolvers(Tcl_Interp *interp, |
|
const char *name); |
|
|
|
EXTERN void Tcl_SetNamespaceResolvers( |
|
Tcl_Namespace *namespacePtr, |
|
Tcl_ResolveCmdProc *cmdProc, |
|
Tcl_ResolveVarProc *varProc, |
|
Tcl_ResolveCompiledVarProc *compiledVarProc); |
|
|
|
EXTERN int TclpHasSockets(Tcl_Interp *interp); |
|
|
|
EXTERN struct tm * TclpGetDate(const time_t *time, int useGMT); |
|
|
|
|
|
|
|
|
|
|
|
EXTERN CONST84_RETURN char * TclGetEnv(const char *name, |
|
Tcl_DString *valuePtr); |
|
|
|
|
|
|
|
EXTERN CONST84_RETURN char * TclpGetCwd(Tcl_Interp *interp, |
|
Tcl_DString *cwdPtr); |
|
|
|
EXTERN int TclSetByteCodeFromAny(Tcl_Interp *interp, |
|
Tcl_Obj *objPtr, CompileHookProc *hookProc, |
|
ClientData clientData); |
|
|
|
EXTERN int TclAddLiteralObj(struct CompileEnv *envPtr, |
|
Tcl_Obj *objPtr, LiteralEntry **litPtrPtr); |
|
|
|
EXTERN void TclHideLiteral(Tcl_Interp *interp, |
|
struct CompileEnv *envPtr, int index); |
|
|
|
EXTERN const struct AuxDataType * TclGetAuxDataType(const char *typeName); |
|
|
|
EXTERN TclHandle TclHandleCreate(void *ptr); |
|
|
|
EXTERN void TclHandleFree(TclHandle handle); |
|
|
|
EXTERN TclHandle TclHandlePreserve(TclHandle handle); |
|
|
|
EXTERN void TclHandleRelease(TclHandle handle); |
|
|
|
EXTERN int TclRegAbout(Tcl_Interp *interp, Tcl_RegExp re); |
|
|
|
EXTERN void TclRegExpRangeUniChar(Tcl_RegExp re, int index, |
|
int *startPtr, int *endPtr); |
|
|
|
EXTERN void TclSetLibraryPath(Tcl_Obj *pathPtr); |
|
|
|
EXTERN Tcl_Obj * TclGetLibraryPath(void); |
|
|
|
|
|
|
|
EXTERN void TclRegError(Tcl_Interp *interp, const char *msg, |
|
int status); |
|
|
|
EXTERN Var * TclVarTraceExists(Tcl_Interp *interp, |
|
const char *varName); |
|
|
|
EXTERN void TclSetStartupScriptFileName(const char *filename); |
|
|
|
EXTERN const char * TclGetStartupScriptFileName(void); |
|
|
|
|
|
EXTERN int TclChannelTransform(Tcl_Interp *interp, |
|
Tcl_Channel chan, Tcl_Obj *cmdObjPtr); |
|
|
|
EXTERN void TclChannelEventScriptInvoker(ClientData clientData, |
|
int flags); |
|
|
|
EXTERN const void * TclGetInstructionTable(void); |
|
|
|
EXTERN void TclExpandCodeArray(void *envPtr); |
|
|
|
EXTERN void TclpSetInitialEncodings(void); |
|
|
|
EXTERN int TclListObjSetElement(Tcl_Interp *interp, |
|
Tcl_Obj *listPtr, int index, |
|
Tcl_Obj *valuePtr); |
|
|
|
EXTERN void TclSetStartupScriptPath(Tcl_Obj *pathPtr); |
|
|
|
EXTERN Tcl_Obj * TclGetStartupScriptPath(void); |
|
|
|
EXTERN int TclpUtfNcmp2(const char *s1, const char *s2, |
|
unsigned long n); |
|
|
|
EXTERN int TclCheckInterpTraces(Tcl_Interp *interp, |
|
const char *command, int numChars, |
|
Command *cmdPtr, int result, int traceFlags, |
|
int objc, Tcl_Obj *const objv[]); |
|
|
|
EXTERN int TclCheckExecutionTraces(Tcl_Interp *interp, |
|
const char *command, int numChars, |
|
Command *cmdPtr, int result, int traceFlags, |
|
int objc, Tcl_Obj *const objv[]); |
|
|
|
EXTERN int TclInThreadExit(void); |
|
|
|
EXTERN int TclUniCharMatch(const Tcl_UniChar *string, |
|
int strLen, const Tcl_UniChar *pattern, |
|
int ptnLen, int flags); |
|
|
|
|
|
EXTERN int TclCallVarTraces(Interp *iPtr, Var *arrayPtr, |
|
Var *varPtr, const char *part1, |
|
const char *part2, int flags, |
|
int leaveErrMsg); |
|
|
|
EXTERN void TclCleanupVar(Var *varPtr, Var *arrayPtr); |
|
|
|
EXTERN void TclVarErrMsg(Tcl_Interp *interp, const char *part1, |
|
const char *part2, const char *operation, |
|
const char *reason); |
|
|
|
EXTERN void Tcl_SetStartupScript(Tcl_Obj *pathPtr, |
|
const char *encodingName); |
|
|
|
EXTERN Tcl_Obj * Tcl_GetStartupScript(const char **encodingNamePtr); |
|
|
|
|
|
|
|
EXTERN struct tm * TclpLocaltime(const time_t *clock); |
|
|
|
EXTERN struct tm * TclpGmtime(const time_t *clock); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EXTERN int TclObjGetFrame(Tcl_Interp *interp, Tcl_Obj *objPtr, |
|
CallFrame **framePtrPtr); |
|
|
|
|
|
EXTERN int TclpObjRemoveDirectory(Tcl_Obj *pathPtr, |
|
int recursive, Tcl_Obj **errorPtr); |
|
|
|
EXTERN int TclpObjCopyDirectory(Tcl_Obj *srcPathPtr, |
|
Tcl_Obj *destPathPtr, Tcl_Obj **errorPtr); |
|
|
|
EXTERN int TclpObjCreateDirectory(Tcl_Obj *pathPtr); |
|
|
|
EXTERN int TclpObjDeleteFile(Tcl_Obj *pathPtr); |
|
|
|
EXTERN int TclpObjCopyFile(Tcl_Obj *srcPathPtr, |
|
Tcl_Obj *destPathPtr); |
|
|
|
EXTERN int TclpObjRenameFile(Tcl_Obj *srcPathPtr, |
|
Tcl_Obj *destPathPtr); |
|
|
|
EXTERN int TclpObjStat(Tcl_Obj *pathPtr, Tcl_StatBuf *buf); |
|
|
|
EXTERN int TclpObjAccess(Tcl_Obj *pathPtr, int mode); |
|
|
|
EXTERN Tcl_Channel TclpOpenFileChannel(Tcl_Interp *interp, |
|
Tcl_Obj *pathPtr, int mode, int permissions); |
|
|
|
|
|
|
|
|
|
EXTERN void TclpFindExecutable(const char *argv0); |
|
|
|
EXTERN Tcl_Obj * TclGetObjNameOfExecutable(void); |
|
|
|
EXTERN void TclSetObjNameOfExecutable(Tcl_Obj *name, |
|
Tcl_Encoding encoding); |
|
|
|
EXTERN void * TclStackAlloc(Tcl_Interp *interp, int numBytes); |
|
|
|
EXTERN void TclStackFree(Tcl_Interp *interp, void *freePtr); |
|
|
|
EXTERN int TclPushStackFrame(Tcl_Interp *interp, |
|
Tcl_CallFrame **framePtrPtr, |
|
Tcl_Namespace *namespacePtr, |
|
int isProcCallFrame); |
|
|
|
EXTERN void TclPopStackFrame(Tcl_Interp *interp); |
|
|
|
|
|
|
|
|
|
|
|
EXTERN void * TclGetCStackPtr(void); |
|
|
|
EXTERN TclPlatformType * TclGetPlatform(void); |
|
|
|
EXTERN Tcl_Obj * TclTraceDictPath(Tcl_Interp *interp, |
|
Tcl_Obj *rootPtr, int keyc, |
|
Tcl_Obj *const keyv[], int flags); |
|
|
|
EXTERN int TclObjBeingDeleted(Tcl_Obj *objPtr); |
|
|
|
EXTERN void TclSetNsPath(Namespace *nsPtr, int pathLength, |
|
Tcl_Namespace *pathAry[]); |
|
|
|
|
|
EXTERN int TclPtrMakeUpvar(Tcl_Interp *interp, Var *otherP1Ptr, |
|
const char *myName, int myFlags, int index); |
|
|
|
EXTERN Var * TclObjLookupVar(Tcl_Interp *interp, |
|
Tcl_Obj *part1Ptr, const char *part2, |
|
int flags, const char *msg, int createPart1, |
|
int createPart2, Var **arrayPtrPtr); |
|
|
|
EXTERN int TclGetNamespaceFromObj(Tcl_Interp *interp, |
|
Tcl_Obj *objPtr, Tcl_Namespace **nsPtrPtr); |
|
|
|
EXTERN int TclEvalObjEx(Tcl_Interp *interp, Tcl_Obj *objPtr, |
|
int flags, const CmdFrame *invoker, int word); |
|
|
|
EXTERN void TclGetSrcInfoForPc(CmdFrame *contextPtr); |
|
|
|
EXTERN Var * TclVarHashCreateVar(TclVarHashTable *tablePtr, |
|
const char *key, int *newPtr); |
|
|
|
EXTERN void TclInitVarHashTable(TclVarHashTable *tablePtr, |
|
Namespace *nsPtr); |
|
|
|
EXTERN void TclBackgroundException(Tcl_Interp *interp, int code); |
|
|
|
EXTERN int TclResetCancellation(Tcl_Interp *interp, int force); |
|
|
|
EXTERN int TclNRInterpProc(ClientData clientData, |
|
Tcl_Interp *interp, int objc, |
|
Tcl_Obj *const objv[]); |
|
|
|
EXTERN int TclNRInterpProcCore(Tcl_Interp *interp, |
|
Tcl_Obj *procNameObj, int skip, |
|
ProcErrorProc *errorProc); |
|
|
|
EXTERN int TclNRRunCallbacks(Tcl_Interp *interp, int result, |
|
struct NRE_callback *rootPtr); |
|
|
|
EXTERN int TclNREvalObjEx(Tcl_Interp *interp, Tcl_Obj *objPtr, |
|
int flags, const CmdFrame *invoker, int word); |
|
|
|
EXTERN int TclNREvalObjv(Tcl_Interp *interp, int objc, |
|
Tcl_Obj *const objv[], int flags, |
|
Command *cmdPtr); |
|
|
|
EXTERN void TclDbDumpActiveObjects(FILE *outFile); |
|
|
|
EXTERN Tcl_HashTable * TclGetNamespaceChildTable(Tcl_Namespace *nsPtr); |
|
|
|
EXTERN Tcl_HashTable * TclGetNamespaceCommandTable(Tcl_Namespace *nsPtr); |
|
|
|
EXTERN int TclInitRewriteEnsemble(Tcl_Interp *interp, |
|
int numRemoved, int numInserted, |
|
Tcl_Obj *const *objv); |
|
|
|
EXTERN void TclResetRewriteEnsemble(Tcl_Interp *interp, |
|
int isRootEnsemble); |
|
|
|
EXTERN int TclCopyChannel(Tcl_Interp *interp, |
|
Tcl_Channel inChan, Tcl_Channel outChan, |
|
Tcl_WideInt toRead, Tcl_Obj *cmdPtr); |
|
|
|
EXTERN char * TclDoubleDigits(double dv, int ndigits, int flags, |
|
int *decpt, int *signum, char **endPtr); |
|
|
|
EXTERN void TclSetSlaveCancelFlags(Tcl_Interp *interp, int flags, |
|
int force); |
|
|
|
EXTERN int TclRegisterLiteral(void *envPtr, char *bytes, |
|
int length, int flags); |
|
|
|
EXTERN Tcl_Obj * TclPtrGetVar(Tcl_Interp *interp, Tcl_Var varPtr, |
|
Tcl_Var arrayPtr, Tcl_Obj *part1Ptr, |
|
Tcl_Obj *part2Ptr, int flags); |
|
|
|
EXTERN Tcl_Obj * TclPtrSetVar(Tcl_Interp *interp, Tcl_Var varPtr, |
|
Tcl_Var arrayPtr, Tcl_Obj *part1Ptr, |
|
Tcl_Obj *part2Ptr, Tcl_Obj *newValuePtr, |
|
int flags); |
|
|
|
EXTERN Tcl_Obj * TclPtrIncrObjVar(Tcl_Interp *interp, Tcl_Var varPtr, |
|
Tcl_Var arrayPtr, Tcl_Obj *part1Ptr, |
|
Tcl_Obj *part2Ptr, Tcl_Obj *incrPtr, |
|
int flags); |
|
|
|
EXTERN int TclPtrObjMakeUpvar(Tcl_Interp *interp, |
|
Tcl_Var otherPtr, Tcl_Obj *myNamePtr, |
|
int myFlags); |
|
|
|
EXTERN int TclPtrUnsetVar(Tcl_Interp *interp, Tcl_Var varPtr, |
|
Tcl_Var arrayPtr, Tcl_Obj *part1Ptr, |
|
Tcl_Obj *part2Ptr, int flags); |
|
|
|
EXTERN void TclStaticPackage(Tcl_Interp *interp, |
|
const char *prefix, |
|
Tcl_PackageInitProc *initProc, |
|
Tcl_PackageInitProc *safeInitProc); |
|
|
|
|
|
|
|
|
|
EXTERN void TclUnusedStubEntry(void); |
|
|
|
typedef struct TclIntStubs { |
|
int magic; |
|
void *hooks; |
|
|
|
void (*reserved0)(void); |
|
void (*reserved1)(void); |
|
void (*reserved2)(void); |
|
void (*tclAllocateFreeObjects) (void); |
|
void (*reserved4)(void); |
|
int (*tclCleanupChildren) (Tcl_Interp *interp, int numPids, Tcl_Pid *pidPtr, Tcl_Channel errorChan); |
|
void (*tclCleanupCommand) (Command *cmdPtr); |
|
int (*tclCopyAndCollapse) (int count, const char *src, char *dst); |
|
int (*tclCopyChannelOld) (Tcl_Interp *interp, Tcl_Channel inChan, Tcl_Channel outChan, int toRead, Tcl_Obj *cmdPtr); |
|
int (*tclCreatePipeline) (Tcl_Interp *interp, int argc, const char **argv, Tcl_Pid **pidArrayPtr, TclFile *inPipePtr, TclFile *outPipePtr, TclFile *errFilePtr); |
|
int (*tclCreateProc) (Tcl_Interp *interp, Namespace *nsPtr, const char *procName, Tcl_Obj *argsPtr, Tcl_Obj *bodyPtr, Proc **procPtrPtr); |
|
void (*tclDeleteCompiledLocalVars) (Interp *iPtr, CallFrame *framePtr); |
|
void (*tclDeleteVars) (Interp *iPtr, TclVarHashTable *tablePtr); |
|
void (*reserved13)(void); |
|
int (*tclDumpMemoryInfo) (ClientData clientData, int flags); |
|
void (*reserved15)(void); |
|
void (*tclExprFloatError) (Tcl_Interp *interp, double value); |
|
void (*reserved17)(void); |
|
void (*reserved18)(void); |
|
void (*reserved19)(void); |
|
void (*reserved20)(void); |
|
void (*reserved21)(void); |
|
int (*tclFindElement) (Tcl_Interp *interp, const char *listStr, int listLength, const char **elementPtr, const char **nextPtr, int *sizePtr, int *bracePtr); |
|
Proc * (*tclFindProc) (Interp *iPtr, const char *procName); |
|
int (*tclFormatInt) (char *buffer, long n); |
|
void (*tclFreePackageInfo) (Interp *iPtr); |
|
void (*reserved26)(void); |
|
void (*reserved27)(void); |
|
Tcl_Channel (*tclpGetDefaultStdChannel) (int type); |
|
void (*reserved29)(void); |
|
void (*reserved30)(void); |
|
const char * (*tclGetExtension) (const char *name); |
|
int (*tclGetFrame) (Tcl_Interp *interp, const char *str, CallFrame **framePtrPtr); |
|
void (*reserved33)(void); |
|
int (*tclGetIntForIndex) (Tcl_Interp *interp, Tcl_Obj *objPtr, int endValue, int *indexPtr); |
|
void (*reserved35)(void); |
|
void (*reserved36)(void); |
|
int (*tclGetLoadedPackages) (Tcl_Interp *interp, const char *targetName); |
|
int (*tclGetNamespaceForQualName) (Tcl_Interp *interp, const char *qualName, Namespace *cxtNsPtr, int flags, Namespace **nsPtrPtr, Namespace **altNsPtrPtr, Namespace **actualCxtPtrPtr, const char **simpleNamePtr); |
|
Tcl_ObjCmdProc * (*tclGetObjInterpProc) (void); |
|
int (*tclGetOpenMode) (Tcl_Interp *interp, const char *str, int *seekFlagPtr); |
|
Tcl_Command (*tclGetOriginalCommand) (Tcl_Command command); |
|
CONST86 char * (*tclpGetUserHome) (const char *name, Tcl_DString *bufferPtr); |
|
void (*reserved43)(void); |
|
int (*tclGuessPackageName) (const char *fileName, Tcl_DString *bufPtr); |
|
int (*tclHideUnsafeCommands) (Tcl_Interp *interp); |
|
int (*tclInExit) (void); |
|
void (*reserved47)(void); |
|
void (*reserved48)(void); |
|
void (*reserved49)(void); |
|
void (*tclInitCompiledLocals) (Tcl_Interp *interp, CallFrame *framePtr, Namespace *nsPtr); |
|
int (*tclInterpInit) (Tcl_Interp *interp); |
|
void (*reserved52)(void); |
|
int (*tclInvokeObjectCommand) (ClientData clientData, Tcl_Interp *interp, int argc, CONST84 char **argv); |
|
int (*tclInvokeStringCommand) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); |
|
Proc * (*tclIsProc) (Command *cmdPtr); |
|
void (*reserved56)(void); |
|
void (*reserved57)(void); |
|
Var * (*tclLookupVar) (Tcl_Interp *interp, const char *part1, const char *part2, int flags, const char *msg, int createPart1, int createPart2, Var **arrayPtrPtr); |
|
void (*reserved59)(void); |
|
int (*tclNeedSpace) (const char *start, const char *end); |
|
Tcl_Obj * (*tclNewProcBodyObj) (Proc *procPtr); |
|
int (*tclObjCommandComplete) (Tcl_Obj *cmdPtr); |
|
int (*tclObjInterpProc) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); |
|
int (*tclObjInvoke) (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], int flags); |
|
void (*reserved65)(void); |
|
void (*reserved66)(void); |
|
void (*reserved67)(void); |
|
void (*reserved68)(void); |
|
char * (*tclpAlloc) (unsigned int size); |
|
void (*reserved70)(void); |
|
void (*reserved71)(void); |
|
void (*reserved72)(void); |
|
void (*reserved73)(void); |
|
void (*tclpFree) (char *ptr); |
|
unsigned long (*tclpGetClicks) (void); |
|
unsigned long (*tclpGetSeconds) (void); |
|
void (*tclpGetTime) (Tcl_Time *time); |
|
void (*reserved78)(void); |
|
void (*reserved79)(void); |
|
void (*reserved80)(void); |
|
char * (*tclpRealloc) (char *ptr, unsigned int size); |
|
void (*reserved82)(void); |
|
void (*reserved83)(void); |
|
void (*reserved84)(void); |
|
void (*reserved85)(void); |
|
void (*reserved86)(void); |
|
void (*reserved87)(void); |
|
char * (*tclPrecTraceProc) (ClientData clientData, Tcl_Interp *interp, const char *name1, const char *name2, int flags); |
|
int (*tclPreventAliasLoop) (Tcl_Interp *interp, Tcl_Interp *cmdInterp, Tcl_Command cmd); |
|
void (*reserved90)(void); |
|
void (*tclProcCleanupProc) (Proc *procPtr); |
|
int (*tclProcCompileProc) (Tcl_Interp *interp, Proc *procPtr, Tcl_Obj *bodyPtr, Namespace *nsPtr, const char *description, const char *procName); |
|
void (*tclProcDeleteProc) (ClientData clientData); |
|
void (*reserved94)(void); |
|
void (*reserved95)(void); |
|
int (*tclRenameCommand) (Tcl_Interp *interp, const char *oldName, const char *newName); |
|
void (*tclResetShadowedCmdRefs) (Tcl_Interp *interp, Command *newCmdPtr); |
|
int (*tclServiceIdle) (void); |
|
void (*reserved99)(void); |
|
void (*reserved100)(void); |
|
CONST86 char * (*tclSetPreInitScript) (const char *string); |
|
void (*tclSetupEnv) (Tcl_Interp *interp); |
|
int (*tclSockGetPort) (Tcl_Interp *interp, const char *str, const char *proto, int *portPtr); |
|
int (*tclSockMinimumBuffersOld) (int sock, int size); |
|
void (*reserved105)(void); |
|
void (*reserved106)(void); |
|
void (*reserved107)(void); |
|
void (*tclTeardownNamespace) (Namespace *nsPtr); |
|
int (*tclUpdateReturnInfo) (Interp *iPtr); |
|
int (*tclSockMinimumBuffers) (void *sock, int size); |
|
void (*tcl_AddInterpResolvers) (Tcl_Interp *interp, const char *name, Tcl_ResolveCmdProc *cmdProc, Tcl_ResolveVarProc *varProc, Tcl_ResolveCompiledVarProc *compiledVarProc); |
|
int (*tcl_AppendExportList) (Tcl_Interp *interp, Tcl_Namespace *nsPtr, Tcl_Obj *objPtr); |
|
Tcl_Namespace * (*tcl_CreateNamespace) (Tcl_Interp *interp, const char *name, ClientData clientData, Tcl_NamespaceDeleteProc *deleteProc); |
|
void (*tcl_DeleteNamespace) (Tcl_Namespace *nsPtr); |
|
int (*tcl_Export) (Tcl_Interp *interp, Tcl_Namespace *nsPtr, const char *pattern, int resetListFirst); |
|
Tcl_Command (*tcl_FindCommand) (Tcl_Interp *interp, const char *name, Tcl_Namespace *contextNsPtr, int flags); |
|
Tcl_Namespace * (*tcl_FindNamespace) (Tcl_Interp *interp, const char *name, Tcl_Namespace *contextNsPtr, int flags); |
|
int (*tcl_GetInterpResolvers) (Tcl_Interp *interp, const char *name, Tcl_ResolverInfo *resInfo); |
|
int (*tcl_GetNamespaceResolvers) (Tcl_Namespace *namespacePtr, Tcl_ResolverInfo *resInfo); |
|
Tcl_Var (*tcl_FindNamespaceVar) (Tcl_Interp *interp, const char *name, Tcl_Namespace *contextNsPtr, int flags); |
|
int (*tcl_ForgetImport) (Tcl_Interp *interp, Tcl_Namespace *nsPtr, const char *pattern); |
|
Tcl_Command (*tcl_GetCommandFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr); |
|
void (*tcl_GetCommandFullName) (Tcl_Interp *interp, Tcl_Command command, Tcl_Obj *objPtr); |
|
Tcl_Namespace * (*tcl_GetCurrentNamespace) (Tcl_Interp *interp); |
|
Tcl_Namespace * (*tcl_GetGlobalNamespace) (Tcl_Interp *interp); |
|
void (*tcl_GetVariableFullName) (Tcl_Interp *interp, Tcl_Var variable, Tcl_Obj *objPtr); |
|
int (*tcl_Import) (Tcl_Interp *interp, Tcl_Namespace *nsPtr, const char *pattern, int allowOverwrite); |
|
void (*tcl_PopCallFrame) (Tcl_Interp *interp); |
|
int (*tcl_PushCallFrame) (Tcl_Interp *interp, Tcl_CallFrame *framePtr, Tcl_Namespace *nsPtr, int isProcCallFrame); |
|
int (*tcl_RemoveInterpResolvers) (Tcl_Interp *interp, const char *name); |
|
void (*tcl_SetNamespaceResolvers) (Tcl_Namespace *namespacePtr, Tcl_ResolveCmdProc *cmdProc, Tcl_ResolveVarProc *varProc, Tcl_ResolveCompiledVarProc *compiledVarProc); |
|
int (*tclpHasSockets) (Tcl_Interp *interp); |
|
struct tm * (*tclpGetDate) (const time_t *time, int useGMT); |
|
void (*reserved134)(void); |
|
void (*reserved135)(void); |
|
void (*reserved136)(void); |
|
void (*reserved137)(void); |
|
CONST84_RETURN char * (*tclGetEnv) (const char *name, Tcl_DString *valuePtr); |
|
void (*reserved139)(void); |
|
void (*reserved140)(void); |
|
CONST84_RETURN char * (*tclpGetCwd) (Tcl_Interp *interp, Tcl_DString *cwdPtr); |
|
int (*tclSetByteCodeFromAny) (Tcl_Interp *interp, Tcl_Obj *objPtr, CompileHookProc *hookProc, ClientData clientData); |
|
int (*tclAddLiteralObj) (struct CompileEnv *envPtr, Tcl_Obj *objPtr, LiteralEntry **litPtrPtr); |
|
void (*tclHideLiteral) (Tcl_Interp *interp, struct CompileEnv *envPtr, int index); |
|
const struct AuxDataType * (*tclGetAuxDataType) (const char *typeName); |
|
TclHandle (*tclHandleCreate) (void *ptr); |
|
void (*tclHandleFree) (TclHandle handle); |
|
TclHandle (*tclHandlePreserve) (TclHandle handle); |
|
void (*tclHandleRelease) (TclHandle handle); |
|
int (*tclRegAbout) (Tcl_Interp *interp, Tcl_RegExp re); |
|
void (*tclRegExpRangeUniChar) (Tcl_RegExp re, int index, int *startPtr, int *endPtr); |
|
void (*tclSetLibraryPath) (Tcl_Obj *pathPtr); |
|
Tcl_Obj * (*tclGetLibraryPath) (void); |
|
void (*reserved154)(void); |
|
void (*reserved155)(void); |
|
void (*tclRegError) (Tcl_Interp *interp, const char *msg, int status); |
|
Var * (*tclVarTraceExists) (Tcl_Interp *interp, const char *varName); |
|
void (*tclSetStartupScriptFileName) (const char *filename); |
|
const char * (*tclGetStartupScriptFileName) (void); |
|
void (*reserved160)(void); |
|
int (*tclChannelTransform) (Tcl_Interp *interp, Tcl_Channel chan, Tcl_Obj *cmdObjPtr); |
|
void (*tclChannelEventScriptInvoker) (ClientData clientData, int flags); |
|
const void * (*tclGetInstructionTable) (void); |
|
void (*tclExpandCodeArray) (void *envPtr); |
|
void (*tclpSetInitialEncodings) (void); |
|
int (*tclListObjSetElement) (Tcl_Interp *interp, Tcl_Obj *listPtr, int index, Tcl_Obj *valuePtr); |
|
void (*tclSetStartupScriptPath) (Tcl_Obj *pathPtr); |
|
Tcl_Obj * (*tclGetStartupScriptPath) (void); |
|
int (*tclpUtfNcmp2) (const char *s1, const char *s2, unsigned long n); |
|
int (*tclCheckInterpTraces) (Tcl_Interp *interp, const char *command, int numChars, Command *cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *const objv[]); |
|
int (*tclCheckExecutionTraces) (Tcl_Interp *interp, const char *command, int numChars, Command *cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *const objv[]); |
|
int (*tclInThreadExit) (void); |
|
int (*tclUniCharMatch) (const Tcl_UniChar *string, int strLen, const Tcl_UniChar *pattern, int ptnLen, int flags); |
|
void (*reserved174)(void); |
|
int (*tclCallVarTraces) (Interp *iPtr, Var *arrayPtr, Var *varPtr, const char *part1, const char *part2, int flags, int leaveErrMsg); |
|
void (*tclCleanupVar) (Var *varPtr, Var *arrayPtr); |
|
void (*tclVarErrMsg) (Tcl_Interp *interp, const char *part1, const char *part2, const char *operation, const char *reason); |
|
void (*tcl_SetStartupScript) (Tcl_Obj *pathPtr, const char *encodingName); |
|
Tcl_Obj * (*tcl_GetStartupScript) (const char **encodingNamePtr); |
|
void (*reserved180)(void); |
|
void (*reserved181)(void); |
|
struct tm * (*tclpLocaltime) (const time_t *clock); |
|
struct tm * (*tclpGmtime) (const time_t *clock); |
|
void (*reserved184)(void); |
|
void (*reserved185)(void); |
|
void (*reserved186)(void); |
|
void (*reserved187)(void); |
|
void (*reserved188)(void); |
|
void (*reserved189)(void); |
|
void (*reserved190)(void); |
|
void (*reserved191)(void); |
|
void (*reserved192)(void); |
|
void (*reserved193)(void); |
|
void (*reserved194)(void); |
|
void (*reserved195)(void); |
|
void (*reserved196)(void); |
|
void (*reserved197)(void); |
|
int (*tclObjGetFrame) (Tcl_Interp *interp, Tcl_Obj *objPtr, CallFrame **framePtrPtr); |
|
void (*reserved199)(void); |
|
int (*tclpObjRemoveDirectory) (Tcl_Obj *pathPtr, int recursive, Tcl_Obj **errorPtr); |
|
int (*tclpObjCopyDirectory) (Tcl_Obj *srcPathPtr, Tcl_Obj *destPathPtr, Tcl_Obj **errorPtr); |
|
int (*tclpObjCreateDirectory) (Tcl_Obj *pathPtr); |
|
int (*tclpObjDeleteFile) (Tcl_Obj *pathPtr); |
|
int (*tclpObjCopyFile) (Tcl_Obj *srcPathPtr, Tcl_Obj *destPathPtr); |
|
int (*tclpObjRenameFile) (Tcl_Obj *srcPathPtr, Tcl_Obj *destPathPtr); |
|
int (*tclpObjStat) (Tcl_Obj *pathPtr, Tcl_StatBuf *buf); |
|
int (*tclpObjAccess) (Tcl_Obj *pathPtr, int mode); |
|
Tcl_Channel (*tclpOpenFileChannel) (Tcl_Interp *interp, Tcl_Obj *pathPtr, int mode, int permissions); |
|
void (*reserved209)(void); |
|
void (*reserved210)(void); |
|
void (*reserved211)(void); |
|
void (*tclpFindExecutable) (const char *argv0); |
|
Tcl_Obj * (*tclGetObjNameOfExecutable) (void); |
|
void (*tclSetObjNameOfExecutable) (Tcl_Obj *name, Tcl_Encoding encoding); |
|
void * (*tclStackAlloc) (Tcl_Interp *interp, int numBytes); |
|
void (*tclStackFree) (Tcl_Interp *interp, void *freePtr); |
|
int (*tclPushStackFrame) (Tcl_Interp *interp, Tcl_CallFrame **framePtrPtr, Tcl_Namespace *namespacePtr, int isProcCallFrame); |
|
void (*tclPopStackFrame) (Tcl_Interp *interp); |
|
void (*reserved219)(void); |
|
void (*reserved220)(void); |
|
void (*reserved221)(void); |
|
void (*reserved222)(void); |
|
void * (*tclGetCStackPtr) (void); |
|
TclPlatformType * (*tclGetPlatform) (void); |
|
Tcl_Obj * (*tclTraceDictPath) (Tcl_Interp *interp, Tcl_Obj *rootPtr, int keyc, Tcl_Obj *const keyv[], int flags); |
|
int (*tclObjBeingDeleted) (Tcl_Obj *objPtr); |
|
void (*tclSetNsPath) (Namespace *nsPtr, int pathLength, Tcl_Namespace *pathAry[]); |
|
void (*reserved228)(void); |
|
int (*tclPtrMakeUpvar) (Tcl_Interp *interp, Var *otherP1Ptr, const char *myName, int myFlags, int index); |
|
Var * (*tclObjLookupVar) (Tcl_Interp *interp, Tcl_Obj *part1Ptr, const char *part2, int flags, const char *msg, int createPart1, int createPart2, Var **arrayPtrPtr); |
|
int (*tclGetNamespaceFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Tcl_Namespace **nsPtrPtr); |
|
int (*tclEvalObjEx) (Tcl_Interp *interp, Tcl_Obj *objPtr, int flags, const CmdFrame *invoker, int word); |
|
void (*tclGetSrcInfoForPc) (CmdFrame *contextPtr); |
|
Var * (*tclVarHashCreateVar) (TclVarHashTable *tablePtr, const char *key, int *newPtr); |
|
void (*tclInitVarHashTable) (TclVarHashTable *tablePtr, Namespace *nsPtr); |
|
void (*tclBackgroundException) (Tcl_Interp *interp, int code); |
|
int (*tclResetCancellation) (Tcl_Interp *interp, int force); |
|
int (*tclNRInterpProc) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); |
|
int (*tclNRInterpProcCore) (Tcl_Interp *interp, Tcl_Obj *procNameObj, int skip, ProcErrorProc *errorProc); |
|
int (*tclNRRunCallbacks) (Tcl_Interp *interp, int result, struct NRE_callback *rootPtr); |
|
int (*tclNREvalObjEx) (Tcl_Interp *interp, Tcl_Obj *objPtr, int flags, const CmdFrame *invoker, int word); |
|
int (*tclNREvalObjv) (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], int flags, Command *cmdPtr); |
|
void (*tclDbDumpActiveObjects) (FILE *outFile); |
|
Tcl_HashTable * (*tclGetNamespaceChildTable) (Tcl_Namespace *nsPtr); |
|
Tcl_HashTable * (*tclGetNamespaceCommandTable) (Tcl_Namespace *nsPtr); |
|
int (*tclInitRewriteEnsemble) (Tcl_Interp *interp, int numRemoved, int numInserted, Tcl_Obj *const *objv); |
|
void (*tclResetRewriteEnsemble) (Tcl_Interp *interp, int isRootEnsemble); |
|
int (*tclCopyChannel) (Tcl_Interp *interp, Tcl_Channel inChan, Tcl_Channel outChan, Tcl_WideInt toRead, Tcl_Obj *cmdPtr); |
|
char * (*tclDoubleDigits) (double dv, int ndigits, int flags, int *decpt, int *signum, char **endPtr); |
|
void (*tclSetSlaveCancelFlags) (Tcl_Interp *interp, int flags, int force); |
|
int (*tclRegisterLiteral) (void *envPtr, char *bytes, int length, int flags); |
|
Tcl_Obj * (*tclPtrGetVar) (Tcl_Interp *interp, Tcl_Var varPtr, Tcl_Var arrayPtr, Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, int flags); |
|
Tcl_Obj * (*tclPtrSetVar) (Tcl_Interp *interp, Tcl_Var varPtr, Tcl_Var arrayPtr, Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, Tcl_Obj *newValuePtr, int flags); |
|
Tcl_Obj * (*tclPtrIncrObjVar) (Tcl_Interp *interp, Tcl_Var varPtr, Tcl_Var arrayPtr, Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, Tcl_Obj *incrPtr, int flags); |
|
int (*tclPtrObjMakeUpvar) (Tcl_Interp *interp, Tcl_Var otherPtr, Tcl_Obj *myNamePtr, int myFlags); |
|
int (*tclPtrUnsetVar) (Tcl_Interp *interp, Tcl_Var varPtr, Tcl_Var arrayPtr, Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, int flags); |
|
void (*tclStaticPackage) (Tcl_Interp *interp, const char *prefix, Tcl_PackageInitProc *initProc, Tcl_PackageInitProc *safeInitProc); |
|
void (*reserved258)(void); |
|
void (*reserved259)(void); |
|
void (*reserved260)(void); |
|
void (*tclUnusedStubEntry) (void); |
|
} TclIntStubs; |
|
|
|
extern const TclIntStubs *tclIntStubsPtr; |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#if defined(USE_TCL_STUBS) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define TclAllocateFreeObjects \ |
|
(tclIntStubsPtr->tclAllocateFreeObjects) |
|
|
|
#define TclCleanupChildren \ |
|
(tclIntStubsPtr->tclCleanupChildren) |
|
#define TclCleanupCommand \ |
|
(tclIntStubsPtr->tclCleanupCommand) |
|
#define TclCopyAndCollapse \ |
|
(tclIntStubsPtr->tclCopyAndCollapse) |
|
#define TclCopyChannelOld \ |
|
(tclIntStubsPtr->tclCopyChannelOld) |
|
#define TclCreatePipeline \ |
|
(tclIntStubsPtr->tclCreatePipeline) |
|
#define TclCreateProc \ |
|
(tclIntStubsPtr->tclCreateProc) |
|
#define TclDeleteCompiledLocalVars \ |
|
(tclIntStubsPtr->tclDeleteCompiledLocalVars) |
|
#define TclDeleteVars \ |
|
(tclIntStubsPtr->tclDeleteVars) |
|
|
|
#define TclDumpMemoryInfo \ |
|
(tclIntStubsPtr->tclDumpMemoryInfo) |
|
|
|
#define TclExprFloatError \ |
|
(tclIntStubsPtr->tclExprFloatError) |
|
|
|
|
|
|
|
|
|
|
|
#define TclFindElement \ |
|
(tclIntStubsPtr->tclFindElement) |
|
#define TclFindProc \ |
|
(tclIntStubsPtr->tclFindProc) |
|
#define TclFormatInt \ |
|
(tclIntStubsPtr->tclFormatInt) |
|
#define TclFreePackageInfo \ |
|
(tclIntStubsPtr->tclFreePackageInfo) |
|
|
|
|
|
#define TclpGetDefaultStdChannel \ |
|
(tclIntStubsPtr->tclpGetDefaultStdChannel) |
|
|
|
|
|
#define TclGetExtension \ |
|
(tclIntStubsPtr->tclGetExtension) |
|
#define TclGetFrame \ |
|
(tclIntStubsPtr->tclGetFrame) |
|
|
|
#define TclGetIntForIndex \ |
|
(tclIntStubsPtr->tclGetIntForIndex) |
|
|
|
|
|
#define TclGetLoadedPackages \ |
|
(tclIntStubsPtr->tclGetLoadedPackages) |
|
#define TclGetNamespaceForQualName \ |
|
(tclIntStubsPtr->tclGetNamespaceForQualName) |
|
#define TclGetObjInterpProc \ |
|
(tclIntStubsPtr->tclGetObjInterpProc) |
|
#define TclGetOpenMode \ |
|
(tclIntStubsPtr->tclGetOpenMode) |
|
#define TclGetOriginalCommand \ |
|
(tclIntStubsPtr->tclGetOriginalCommand) |
|
#define TclpGetUserHome \ |
|
(tclIntStubsPtr->tclpGetUserHome) |
|
|
|
#define TclGuessPackageName \ |
|
(tclIntStubsPtr->tclGuessPackageName) |
|
#define TclHideUnsafeCommands \ |
|
(tclIntStubsPtr->tclHideUnsafeCommands) |
|
#define TclInExit \ |
|
(tclIntStubsPtr->tclInExit) |
|
|
|
|
|
|
|
#define TclInitCompiledLocals \ |
|
(tclIntStubsPtr->tclInitCompiledLocals) |
|
#define TclInterpInit \ |
|
(tclIntStubsPtr->tclInterpInit) |
|
|
|
#define TclInvokeObjectCommand \ |
|
(tclIntStubsPtr->tclInvokeObjectCommand) |
|
#define TclInvokeStringCommand \ |
|
(tclIntStubsPtr->tclInvokeStringCommand) |
|
#define TclIsProc \ |
|
(tclIntStubsPtr->tclIsProc) |
|
|
|
|
|
#define TclLookupVar \ |
|
(tclIntStubsPtr->tclLookupVar) |
|
|
|
#define TclNeedSpace \ |
|
(tclIntStubsPtr->tclNeedSpace) |
|
#define TclNewProcBodyObj \ |
|
(tclIntStubsPtr->tclNewProcBodyObj) |
|
#define TclObjCommandComplete \ |
|
(tclIntStubsPtr->tclObjCommandComplete) |
|
#define TclObjInterpProc \ |
|
(tclIntStubsPtr->tclObjInterpProc) |
|
#define TclObjInvoke \ |
|
(tclIntStubsPtr->tclObjInvoke) |
|
|
|
|
|
|
|
|
|
#define TclpAlloc \ |
|
(tclIntStubsPtr->tclpAlloc) |
|
|
|
|
|
|
|
|
|
#define TclpFree \ |
|
(tclIntStubsPtr->tclpFree) |
|
#define TclpGetClicks \ |
|
(tclIntStubsPtr->tclpGetClicks) |
|
#define TclpGetSeconds \ |
|
(tclIntStubsPtr->tclpGetSeconds) |
|
#define TclpGetTime \ |
|
(tclIntStubsPtr->tclpGetTime) |
|
|
|
|
|
|
|
#define TclpRealloc \ |
|
(tclIntStubsPtr->tclpRealloc) |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define TclPrecTraceProc \ |
|
(tclIntStubsPtr->tclPrecTraceProc) |
|
#define TclPreventAliasLoop \ |
|
(tclIntStubsPtr->tclPreventAliasLoop) |
|
|
|
#define TclProcCleanupProc \ |
|
(tclIntStubsPtr->tclProcCleanupProc) |
|
#define TclProcCompileProc \ |
|
(tclIntStubsPtr->tclProcCompileProc) |
|
#define TclProcDeleteProc \ |
|
(tclIntStubsPtr->tclProcDeleteProc) |
|
|
|
|
|
#define TclRenameCommand \ |
|
(tclIntStubsPtr->tclRenameCommand) |
|
#define TclResetShadowedCmdRefs \ |
|
(tclIntStubsPtr->tclResetShadowedCmdRefs) |
|
#define TclServiceIdle \ |
|
(tclIntStubsPtr->tclServiceIdle) |
|
|
|
|
|
#define TclSetPreInitScript \ |
|
(tclIntStubsPtr->tclSetPreInitScript) |
|
#define TclSetupEnv \ |
|
(tclIntStubsPtr->tclSetupEnv) |
|
#define TclSockGetPort \ |
|
(tclIntStubsPtr->tclSockGetPort) |
|
#define TclSockMinimumBuffersOld \ |
|
(tclIntStubsPtr->tclSockMinimumBuffersOld) |
|
|
|
|
|
|
|
#define TclTeardownNamespace \ |
|
(tclIntStubsPtr->tclTeardownNamespace) |
|
#define TclUpdateReturnInfo \ |
|
(tclIntStubsPtr->tclUpdateReturnInfo) |
|
#define TclSockMinimumBuffers \ |
|
(tclIntStubsPtr->tclSockMinimumBuffers) |
|
#define Tcl_AddInterpResolvers \ |
|
(tclIntStubsPtr->tcl_AddInterpResolvers) |
|
#define Tcl_AppendExportList \ |
|
(tclIntStubsPtr->tcl_AppendExportList) |
|
#define Tcl_CreateNamespace \ |
|
(tclIntStubsPtr->tcl_CreateNamespace) |
|
#define Tcl_DeleteNamespace \ |
|
(tclIntStubsPtr->tcl_DeleteNamespace) |
|
#define Tcl_Export \ |
|
(tclIntStubsPtr->tcl_Export) |
|
#define Tcl_FindCommand \ |
|
(tclIntStubsPtr->tcl_FindCommand) |
|
#define Tcl_FindNamespace \ |
|
(tclIntStubsPtr->tcl_FindNamespace) |
|
#define Tcl_GetInterpResolvers \ |
|
(tclIntStubsPtr->tcl_GetInterpResolvers) |
|
#define Tcl_GetNamespaceResolvers \ |
|
(tclIntStubsPtr->tcl_GetNamespaceResolvers) |
|
#define Tcl_FindNamespaceVar \ |
|
(tclIntStubsPtr->tcl_FindNamespaceVar) |
|
#define Tcl_ForgetImport \ |
|
(tclIntStubsPtr->tcl_ForgetImport) |
|
#define Tcl_GetCommandFromObj \ |
|
(tclIntStubsPtr->tcl_GetCommandFromObj) |
|
#define Tcl_GetCommandFullName \ |
|
(tclIntStubsPtr->tcl_GetCommandFullName) |
|
#define Tcl_GetCurrentNamespace \ |
|
(tclIntStubsPtr->tcl_GetCurrentNamespace) |
|
#define Tcl_GetGlobalNamespace \ |
|
(tclIntStubsPtr->tcl_GetGlobalNamespace) |
|
#define Tcl_GetVariableFullName \ |
|
(tclIntStubsPtr->tcl_GetVariableFullName) |
|
#define Tcl_Import \ |
|
(tclIntStubsPtr->tcl_Import) |
|
#define Tcl_PopCallFrame \ |
|
(tclIntStubsPtr->tcl_PopCallFrame) |
|
#define Tcl_PushCallFrame \ |
|
(tclIntStubsPtr->tcl_PushCallFrame) |
|
#define Tcl_RemoveInterpResolvers \ |
|
(tclIntStubsPtr->tcl_RemoveInterpResolvers) |
|
#define Tcl_SetNamespaceResolvers \ |
|
(tclIntStubsPtr->tcl_SetNamespaceResolvers) |
|
#define TclpHasSockets \ |
|
(tclIntStubsPtr->tclpHasSockets) |
|
#define TclpGetDate \ |
|
(tclIntStubsPtr->tclpGetDate) |
|
|
|
|
|
|
|
|
|
#define TclGetEnv \ |
|
(tclIntStubsPtr->tclGetEnv) |
|
|
|
|
|
#define TclpGetCwd \ |
|
(tclIntStubsPtr->tclpGetCwd) |
|
#define TclSetByteCodeFromAny \ |
|
(tclIntStubsPtr->tclSetByteCodeFromAny) |
|
#define TclAddLiteralObj \ |
|
(tclIntStubsPtr->tclAddLiteralObj) |
|
#define TclHideLiteral \ |
|
(tclIntStubsPtr->tclHideLiteral) |
|
#define TclGetAuxDataType \ |
|
(tclIntStubsPtr->tclGetAuxDataType) |
|
#define TclHandleCreate \ |
|
(tclIntStubsPtr->tclHandleCreate) |
|
#define TclHandleFree \ |
|
(tclIntStubsPtr->tclHandleFree) |
|
#define TclHandlePreserve \ |
|
(tclIntStubsPtr->tclHandlePreserve) |
|
#define TclHandleRelease \ |
|
(tclIntStubsPtr->tclHandleRelease) |
|
#define TclRegAbout \ |
|
(tclIntStubsPtr->tclRegAbout) |
|
#define TclRegExpRangeUniChar \ |
|
(tclIntStubsPtr->tclRegExpRangeUniChar) |
|
#define TclSetLibraryPath \ |
|
(tclIntStubsPtr->tclSetLibraryPath) |
|
#define TclGetLibraryPath \ |
|
(tclIntStubsPtr->tclGetLibraryPath) |
|
|
|
|
|
#define TclRegError \ |
|
(tclIntStubsPtr->tclRegError) |
|
#define TclVarTraceExists \ |
|
(tclIntStubsPtr->tclVarTraceExists) |
|
#define TclSetStartupScriptFileName \ |
|
(tclIntStubsPtr->tclSetStartupScriptFileName) |
|
#define TclGetStartupScriptFileName \ |
|
(tclIntStubsPtr->tclGetStartupScriptFileName) |
|
|
|
#define TclChannelTransform \ |
|
(tclIntStubsPtr->tclChannelTransform) |
|
#define TclChannelEventScriptInvoker \ |
|
(tclIntStubsPtr->tclChannelEventScriptInvoker) |
|
#define TclGetInstructionTable \ |
|
(tclIntStubsPtr->tclGetInstructionTable) |
|
#define TclExpandCodeArray \ |
|
(tclIntStubsPtr->tclExpandCodeArray) |
|
#define TclpSetInitialEncodings \ |
|
(tclIntStubsPtr->tclpSetInitialEncodings) |
|
#define TclListObjSetElement \ |
|
(tclIntStubsPtr->tclListObjSetElement) |
|
#define TclSetStartupScriptPath \ |
|
(tclIntStubsPtr->tclSetStartupScriptPath) |
|
#define TclGetStartupScriptPath \ |
|
(tclIntStubsPtr->tclGetStartupScriptPath) |
|
#define TclpUtfNcmp2 \ |
|
(tclIntStubsPtr->tclpUtfNcmp2) |
|
#define TclCheckInterpTraces \ |
|
(tclIntStubsPtr->tclCheckInterpTraces) |
|
#define TclCheckExecutionTraces \ |
|
(tclIntStubsPtr->tclCheckExecutionTraces) |
|
#define TclInThreadExit \ |
|
(tclIntStubsPtr->tclInThreadExit) |
|
#define TclUniCharMatch \ |
|
(tclIntStubsPtr->tclUniCharMatch) |
|
|
|
#define TclCallVarTraces \ |
|
(tclIntStubsPtr->tclCallVarTraces) |
|
#define TclCleanupVar \ |
|
(tclIntStubsPtr->tclCleanupVar) |
|
#define TclVarErrMsg \ |
|
(tclIntStubsPtr->tclVarErrMsg) |
|
#define Tcl_SetStartupScript \ |
|
(tclIntStubsPtr->tcl_SetStartupScript) |
|
#define Tcl_GetStartupScript \ |
|
(tclIntStubsPtr->tcl_GetStartupScript) |
|
|
|
|
|
#define TclpLocaltime \ |
|
(tclIntStubsPtr->tclpLocaltime) |
|
#define TclpGmtime \ |
|
(tclIntStubsPtr->tclpGmtime) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define TclObjGetFrame \ |
|
(tclIntStubsPtr->tclObjGetFrame) |
|
|
|
#define TclpObjRemoveDirectory \ |
|
(tclIntStubsPtr->tclpObjRemoveDirectory) |
|
#define TclpObjCopyDirectory \ |
|
(tclIntStubsPtr->tclpObjCopyDirectory) |
|
#define TclpObjCreateDirectory \ |
|
(tclIntStubsPtr->tclpObjCreateDirectory) |
|
#define TclpObjDeleteFile \ |
|
(tclIntStubsPtr->tclpObjDeleteFile) |
|
#define TclpObjCopyFile \ |
|
(tclIntStubsPtr->tclpObjCopyFile) |
|
#define TclpObjRenameFile \ |
|
(tclIntStubsPtr->tclpObjRenameFile) |
|
#define TclpObjStat \ |
|
(tclIntStubsPtr->tclpObjStat) |
|
#define TclpObjAccess \ |
|
(tclIntStubsPtr->tclpObjAccess) |
|
#define TclpOpenFileChannel \ |
|
(tclIntStubsPtr->tclpOpenFileChannel) |
|
|
|
|
|
|
|
#define TclpFindExecutable \ |
|
(tclIntStubsPtr->tclpFindExecutable) |
|
#define TclGetObjNameOfExecutable \ |
|
(tclIntStubsPtr->tclGetObjNameOfExecutable) |
|
#define TclSetObjNameOfExecutable \ |
|
(tclIntStubsPtr->tclSetObjNameOfExecutable) |
|
#define TclStackAlloc \ |
|
(tclIntStubsPtr->tclStackAlloc) |
|
#define TclStackFree \ |
|
(tclIntStubsPtr->tclStackFree) |
|
#define TclPushStackFrame \ |
|
(tclIntStubsPtr->tclPushStackFrame) |
|
#define TclPopStackFrame \ |
|
(tclIntStubsPtr->tclPopStackFrame) |
|
|
|
|
|
|
|
|
|
#define TclGetCStackPtr \ |
|
(tclIntStubsPtr->tclGetCStackPtr) |
|
#define TclGetPlatform \ |
|
(tclIntStubsPtr->tclGetPlatform) |
|
#define TclTraceDictPath \ |
|
(tclIntStubsPtr->tclTraceDictPath) |
|
#define TclObjBeingDeleted \ |
|
(tclIntStubsPtr->tclObjBeingDeleted) |
|
#define TclSetNsPath \ |
|
(tclIntStubsPtr->tclSetNsPath) |
|
|
|
#define TclPtrMakeUpvar \ |
|
(tclIntStubsPtr->tclPtrMakeUpvar) |
|
#define TclObjLookupVar \ |
|
(tclIntStubsPtr->tclObjLookupVar) |
|
#define TclGetNamespaceFromObj \ |
|
(tclIntStubsPtr->tclGetNamespaceFromObj) |
|
#define TclEvalObjEx \ |
|
(tclIntStubsPtr->tclEvalObjEx) |
|
#define TclGetSrcInfoForPc \ |
|
(tclIntStubsPtr->tclGetSrcInfoForPc) |
|
#define TclVarHashCreateVar \ |
|
(tclIntStubsPtr->tclVarHashCreateVar) |
|
#define TclInitVarHashTable \ |
|
(tclIntStubsPtr->tclInitVarHashTable) |
|
#define TclBackgroundException \ |
|
(tclIntStubsPtr->tclBackgroundException) |
|
#define TclResetCancellation \ |
|
(tclIntStubsPtr->tclResetCancellation) |
|
#define TclNRInterpProc \ |
|
(tclIntStubsPtr->tclNRInterpProc) |
|
#define TclNRInterpProcCore \ |
|
(tclIntStubsPtr->tclNRInterpProcCore) |
|
#define TclNRRunCallbacks \ |
|
(tclIntStubsPtr->tclNRRunCallbacks) |
|
#define TclNREvalObjEx \ |
|
(tclIntStubsPtr->tclNREvalObjEx) |
|
#define TclNREvalObjv \ |
|
(tclIntStubsPtr->tclNREvalObjv) |
|
#define TclDbDumpActiveObjects \ |
|
(tclIntStubsPtr->tclDbDumpActiveObjects) |
|
#define TclGetNamespaceChildTable \ |
|
(tclIntStubsPtr->tclGetNamespaceChildTable) |
|
#define TclGetNamespaceCommandTable \ |
|
(tclIntStubsPtr->tclGetNamespaceCommandTable) |
|
#define TclInitRewriteEnsemble \ |
|
(tclIntStubsPtr->tclInitRewriteEnsemble) |
|
#define TclResetRewriteEnsemble \ |
|
(tclIntStubsPtr->tclResetRewriteEnsemble) |
|
#define TclCopyChannel \ |
|
(tclIntStubsPtr->tclCopyChannel) |
|
#define TclDoubleDigits \ |
|
(tclIntStubsPtr->tclDoubleDigits) |
|
#define TclSetSlaveCancelFlags \ |
|
(tclIntStubsPtr->tclSetSlaveCancelFlags) |
|
#define TclRegisterLiteral \ |
|
(tclIntStubsPtr->tclRegisterLiteral) |
|
#define TclPtrGetVar \ |
|
(tclIntStubsPtr->tclPtrGetVar) |
|
#define TclPtrSetVar \ |
|
(tclIntStubsPtr->tclPtrSetVar) |
|
#define TclPtrIncrObjVar \ |
|
(tclIntStubsPtr->tclPtrIncrObjVar) |
|
#define TclPtrObjMakeUpvar \ |
|
(tclIntStubsPtr->tclPtrObjMakeUpvar) |
|
#define TclPtrUnsetVar \ |
|
(tclIntStubsPtr->tclPtrUnsetVar) |
|
#define TclStaticPackage \ |
|
(tclIntStubsPtr->tclStaticPackage) |
|
|
|
|
|
|
|
#define TclUnusedStubEntry \ |
|
(tclIntStubsPtr->tclUnusedStubEntry) |
|
|
|
#endif |
|
|
|
|
|
|
|
#undef TCL_STORAGE_CLASS |
|
#define TCL_STORAGE_CLASS DLLIMPORT |
|
|
|
#undef TclGetStartupScriptFileName |
|
#undef TclSetStartupScriptFileName |
|
#undef TclGetStartupScriptPath |
|
#undef TclSetStartupScriptPath |
|
#undef TclBackgroundException |
|
#undef TclUnusedStubEntry |
|
#undef TclObjInterpProc |
|
#define TclObjInterpProc TclGetObjInterpProc() |
|
|
|
#if defined(USE_TCL_STUBS) && defined(TCL_NO_DEPRECATED) |
|
# undef Tcl_SetStartupScript |
|
# define Tcl_SetStartupScript \ |
|
(tclStubsPtr->tcl_SetStartupScript) |
|
# undef Tcl_GetStartupScript |
|
# define Tcl_GetStartupScript \ |
|
(tclStubsPtr->tcl_GetStartupScript) |
|
# undef Tcl_CreateNamespace |
|
# define Tcl_CreateNamespace \ |
|
(tclStubsPtr->tcl_CreateNamespace) |
|
# undef Tcl_DeleteNamespace |
|
# define Tcl_DeleteNamespace \ |
|
(tclStubsPtr->tcl_DeleteNamespace) |
|
# undef Tcl_AppendExportList |
|
# define Tcl_AppendExportList \ |
|
(tclStubsPtr->tcl_AppendExportList) |
|
# undef Tcl_Export |
|
# define Tcl_Export \ |
|
(tclStubsPtr->tcl_Export) |
|
# undef Tcl_Import |
|
# define Tcl_Import \ |
|
(tclStubsPtr->tcl_Import) |
|
# undef Tcl_ForgetImport |
|
# define Tcl_ForgetImport \ |
|
(tclStubsPtr->tcl_ForgetImport) |
|
# undef Tcl_GetCurrentNamespace |
|
# define Tcl_GetCurrentNamespace \ |
|
(tclStubsPtr->tcl_GetCurrentNamespace) |
|
# undef Tcl_GetGlobalNamespace |
|
# define Tcl_GetGlobalNamespace \ |
|
(tclStubsPtr->tcl_GetGlobalNamespace) |
|
# undef Tcl_FindNamespace |
|
# define Tcl_FindNamespace \ |
|
(tclStubsPtr->tcl_FindNamespace) |
|
# undef Tcl_FindCommand |
|
# define Tcl_FindCommand \ |
|
(tclStubsPtr->tcl_FindCommand) |
|
# undef Tcl_GetCommandFromObj |
|
# define Tcl_GetCommandFromObj \ |
|
(tclStubsPtr->tcl_GetCommandFromObj) |
|
# undef Tcl_GetCommandFullName |
|
# define Tcl_GetCommandFullName \ |
|
(tclStubsPtr->tcl_GetCommandFullName) |
|
#endif |
|
|
|
#undef TclCopyChannelOld |
|
#undef TclSockMinimumBuffersOld |
|
|
|
#define TclSetChildCancelFlags TclSetSlaveCancelFlags |
|
|
|
#endif |
|
|