tclMain.c File Reference#include "tclInt.h"
Go to the source code of this file.
Define Documentation
#define DEFAULT_PRIMARY_PROMPT "% " |
#define TCL_STORAGE_CLASS DLLEXPORT |
Enumeration Type Documentation
- Enumerator:
-
PROMPT_NONE |
|
PROMPT_START |
|
PROMPT_CONTINUE |
|
Definition at line 45 of file tclMain.c.
Function Documentation
CRTIMPORT int isatty |
( |
int |
fd |
) |
|
Tcl_Obj* Tcl_GetStartupScript |
( |
CONST char ** |
encodingPtr |
) |
|
void Tcl_Main |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
Tcl_AppInitProc * |
appInitProc | |
|
) |
| | |
Definition at line 331 of file tclMain.c.
References ckalloc, ckfree, InteractiveState::commandPtr, CONST, InteractiveState::input, InteractiveState::interp, isatty(), InteractiveState::prompt, PROMPT_CONTINUE, PROMPT_START, Tcl_AppendToObj(), Tcl_CreateChannelHandler(), Tcl_CreateInterp(), Tcl_DecrRefCount, Tcl_DeleteChannelHandler(), Tcl_DeleteInterp(), Tcl_DictObjGet(), Tcl_DStringFree(), Tcl_DStringLength, Tcl_DStringValue, Tcl_DuplicateObj(), TCL_EVAL_GLOBAL, Tcl_EvalObjEx(), Tcl_Exit(), Tcl_ExternalToUtfDString(), Tcl_FindExecutable(), Tcl_FSEvalFileEx(), Tcl_GetObjResult(), Tcl_GetReturnOptions(), Tcl_GetsObj(), Tcl_GetStartupScript(), Tcl_GetStdChannel(), Tcl_GetStringFromObj(), TCL_GLOBAL_ONLY, Tcl_IncrRefCount, Tcl_InitMemory, Tcl_InputBlocked(), Tcl_InterpDeleted(), Tcl_IsShared, Tcl_LimitExceeded(), TCL_LINK_BOOLEAN, Tcl_LinkVar(), Tcl_ListObjAppendElement(), Tcl_NewIntObj(), Tcl_NewListObj(), Tcl_NewObj(), Tcl_NewStringObj(), Tcl_ObjPrintf(), TCL_OK, Tcl_Preserve(), TCL_READABLE, Tcl_RecordAndEvalObj(), Tcl_Release(), Tcl_SetObjLength(), Tcl_SetStartupScript(), Tcl_SetVar(), Tcl_SetVar2Ex(), Tcl_SourceRCFile(), TCL_STDERR, TCL_STDIN, TCL_STDOUT, Tcl_UnlinkVar(), Tcl_WriteChars(), Tcl_WriteObj(), tclMemDumpFileName, TclNewLiteralStringObj, TclObjCommandComplete(), and InteractiveState::tty.
Referenced by main().
void Tcl_SetMainLoop |
( |
Tcl_MainLoopProc * |
proc |
) |
|
void Tcl_SetStartupScript |
( |
Tcl_Obj * |
path, |
|
|
CONST char * |
encoding | |
|
) |
| | |
Definition at line 271 of file tclMain.c.
References CONST, Tcl_Close(), Tcl_DStringFree(), Tcl_DStringInit(), Tcl_EvalFile(), Tcl_GetObjResult(), Tcl_GetStdChannel(), Tcl_GetVar(), TCL_GLOBAL_ONLY, TCL_OK, Tcl_OpenFileChannel(), TCL_STDERR, Tcl_TranslateFileName(), Tcl_WriteChars(), and Tcl_WriteObj().
Referenced by Tcl_Main().
CONST char* TclGetStartupScriptFileName |
( |
void |
|
) |
|
Tcl_Obj* TclGetStartupScriptPath |
( |
void |
|
) |
|
void TclSetStartupScriptFileName |
( |
CONST char * |
fileName |
) |
|
void TclSetStartupScriptPath |
( |
Tcl_Obj * |
path |
) |
|
Generated on Wed Mar 12 12:18:32 2008 by
1.5.1
|