Defines | Functions | Variables

tclMain.c File Reference

#include <tcl.h>
#include "plplot.h"

Go to the source code of this file.

Defines

#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 *RcFileName, int(*appInitProc)(Tcl_Interp *interp))

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 []

Define Documentation

#define TCL_STORAGE_CLASS   DLLEXPORT

Definition at line 67 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]

Definition at line 510 of file tclMain.c.

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

Definition at line 221 of file tclMain.c.

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

Definition at line 194 of file tclMain.c.

void TclSetStartupScriptFileName ( char *  fileName  ) 

Definition at line 172 of file tclMain.c.


Variable Documentation

PLOptionTable options[] [static]

Definition at line 115 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 108 of file tclMain.c.

int( * tclDummyLinkVarPtr)() = Tcl_LinkVar

Definition at line 77 of file tclMain.c.

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

Definition at line 100 of file tclMain.c.

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

Definition at line 102 of file tclMain.c.

char* tclStartupScript = NULL [static]

Definition at line 107 of file tclMain.c.

const char* tclStartupScriptFileName = NULL [static]

Definition at line 91 of file tclMain.c.