tclMain.c File Reference

#include "tclInt.h"

Go to the source code of this file.

Data Structures

struct  InteractiveState

Defines

#define TCL_STORAGE_CLASS   DLLEXPORT
#define DEFAULT_PRIMARY_PROMPT   "% "

Enumerations

enum  PromptType { PROMPT_NONE, PROMPT_START, PROMPT_CONTINUE }

Functions

CRTIMPORT int isatty (int fd)
void Tcl_SetStartupScript (Tcl_Obj *path, CONST char *encoding)
Tcl_ObjTcl_GetStartupScript (CONST char **encodingPtr)
void TclSetStartupScriptPath (Tcl_Obj *path)
Tcl_ObjTclGetStartupScriptPath (void)
void TclSetStartupScriptFileName (CONST char *fileName)
CONST char * TclGetStartupScriptFileName (void)
void Tcl_SourceRCFile (Tcl_Interp *interp)
void Tcl_Main (int argc, char **argv, Tcl_AppInitProc *appInitProc)
void Tcl_SetMainLoop (Tcl_MainLoopProc *proc)


Define Documentation

#define DEFAULT_PRIMARY_PROMPT   "% "

Definition at line 25 of file tclMain.c.

#define TCL_STORAGE_CLASS   DLLEXPORT

Definition at line 19 of file tclMain.c.


Enumeration Type Documentation

enum PromptType

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  ) 

Definition at line 135 of file tclMain.c.

References Tcl_GetString().

Referenced by Tcl_Main(), TclGetStartupScriptFileName(), and TclGetStartupScriptPath().

void Tcl_SetMainLoop ( Tcl_MainLoopProc *  proc  ) 

Definition at line 709 of file tclMain.c.

void Tcl_SetStartupScript ( Tcl_Obj path,
CONST char *  encoding 
)

CONST char* TclGetStartupScriptFileName ( void   ) 

Definition at line 243 of file tclMain.c.

References Tcl_GetStartupScript(), and Tcl_GetString().

Tcl_Obj* TclGetStartupScriptPath ( void   ) 

Definition at line 194 of file tclMain.c.

References Tcl_GetStartupScript().

void TclSetStartupScriptFileName ( CONST char *  fileName  ) 

Definition at line 218 of file tclMain.c.

References Tcl_NewStringObj(), and Tcl_SetStartupScript().

void TclSetStartupScriptPath ( Tcl_Obj path  ) 

Definition at line 170 of file tclMain.c.

References Tcl_SetStartupScript().



Generated on Wed Mar 12 12:18:32 2008 by  doxygen 1.5.1