PLplot  5.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
tclMain.c File Reference
#include "pltcl.h"
#include "plplotP.h"

Go to the source code of this file.

Macros

#define TCL_STORAGE_CLASS   DLLEXPORT
 

Functions

EXTERN int TclFormatInt _ANSI_ARGS_ ((char *buffer, long n))
 
EXTERN int TclObjCommandComplete _ANSI_ARGS_ ((Tcl_Obj *cmdPtr))
 
EXTERN int Tcl_LinkVar ()
 
int isatty _ANSI_ARGS_ ((int fd))
 
char *strcpy _ANSI_ARGS_ ((char *dst, CONST char *src))
 
static void plPrepOutputHandler (Tcl_Interp *interp, int code, int tty)
 
void TclSetStartupScriptFileName (char *fileName)
 
const char * TclGetStartupScriptFileName (void)
 
int PLDLLEXPORT pltclMain (int argc, const char **argv, char *PL_UNUSED(RcFileName), int(*appInitProc)(Tcl_Interp *interp))
 
static void plPrepOutputHandler (Tcl_Interp *PL_UNUSED(interp), int PL_UNUSED(code), int PL_UNUSED(tty))
 

Variables

int(* tclDummyLinkVarPtr )() = Tcl_LinkVar
 
static const char * tclStartupScriptFileName = NULL
 
void(* tclErrorHandler )(Tcl_Interp *interp, int code, int tty) = NULL
 
void(* tclPrepOutputHandler )(Tcl_Interp *interp, int code, int tty) = plPrepOutputHandler
 
static char * tclStartupScript = NULL
 
static const char * pltcl_notes []
 
static PLOptionTable options []
 

Macro Definition Documentation

#define TCL_STORAGE_CLASS   DLLEXPORT

Definition at line 68 of file tclMain.c.

Function Documentation

EXTERN int TclFormatInt _ANSI_ARGS_ ( (char *buffer, long n)  )
EXTERN int TclObjCommandComplete _ANSI_ARGS_ ( (Tcl_Obj *cmdPtr)  )
int isatty _ANSI_ARGS_ ( (int fd)  )
char* strcpy _ANSI_ARGS_ ( (char *dst, CONST char *src)  )
static void plPrepOutputHandler ( Tcl_Interp *  interp,
int  code,
int  tty 
)
static
static void plPrepOutputHandler ( Tcl_Interp *  PL_UNUSEDinterp,
int   PL_UNUSEDcode,
int   PL_UNUSEDtty 
)
static

Definition at line 515 of file tclMain.c.

int PLDLLEXPORT pltclMain ( int  argc,
const char **  argv,
char *  PL_UNUSEDRcFileName,
int(*)(Tcl_Interp *interp appInitProc 
)

Definition at line 226 of file tclMain.c.

EXTERN int Tcl_LinkVar ( )
const char * TclGetStartupScriptFileName ( void  )

Definition at line 199 of file tclMain.c.

void TclSetStartupScriptFileName ( char *  fileName)

Definition at line 177 of file tclMain.c.

Variable Documentation

PLOptionTable options[]
static

Definition at line 120 of file tclMain.c.

const char* pltcl_notes[]
static
Initial value:
= {
"Specifying the filename on the command line is compatible with modern",
"tclsh syntax. Old tclsh's used the -f syntax, which is still supported.",
"You may use either syntax but not both.",
NULL
}

Definition at line 113 of file tclMain.c.

int( * tclDummyLinkVarPtr)() = Tcl_LinkVar

Definition at line 78 of file tclMain.c.

void( * tclErrorHandler)(Tcl_Interp *interp, int code, int tty) = NULL

Definition at line 105 of file tclMain.c.

void( * tclPrepOutputHandler)(Tcl_Interp *interp, int code, int tty) = plPrepOutputHandler

Definition at line 107 of file tclMain.c.

char* tclStartupScript = NULL
static

Definition at line 112 of file tclMain.c.

const char* tclStartupScriptFileName = NULL
static

Definition at line 92 of file tclMain.c.