#include "config.h"Include dependency graph for tclAppInit.cc:

Go to the source code of this file.
Functions | |
| void | init_misc (void) |
| int | main (int argc, char **argv) |
| void | fix_i386_linux_floats () |
| int | Tcl_AppInit (Tcl_Interp *interp) |
| void | abort () |
Variables | |
| EmbeddedTcl | et_ns_lib |
| EmbeddedTcl | et_ns_ptypes |
|
|
|
Definition at line 126 of file tclAppInit.cc. Referenced by Tcl_AppInit().
00127 {}
|
|
|
Definition at line 228 of file misc.cc.
00229 {
00230 (void)new VersionCommand;
00231 (void)new RandomCommand;
00232 (void)new TimeAtofCommand;
00233 (void)new HasInt64Command;
00234 (void)new HasSTLCommand;
00235 #if defined(HAVE_INT64)
00236 (void)new Add64Command;
00237 (void)new Mult64Command;
00238 (void)new Int64ToDoubleCommand;
00239 #endif
00240 }
|
|
||||||||||||
|
Definition at line 58 of file tclAppInit.cc. References Tcl_AppInit().
00059 {
00060 Tcl_Main(argc, argv, Tcl_AppInit);
00061 return 0; /* Needed only to prevent compiler warning. */
00062 }
|
Here is the call graph for this function:

|
|
Definition at line 151 of file tclAppInit.cc. References et_ns_lib, et_ns_ptypes, fix_i386_linux_floats(), init(), and init_misc(). Referenced by main().
00152 {
00153 #ifdef MEMDEBUG_SIMULATIONS
00154 extern MemTrace *globalMemTrace;
00155 globalMemTrace = new MemTrace;
00156 #endif
00157
00158 fix_i386_linux_floats();
00159
00160 if (Tcl_Init(interp) == TCL_ERROR ||
00161 Otcl_Init(interp) == TCL_ERROR)
00162 return TCL_ERROR;
00163
00164 #ifdef HAVE_LIBTCLDBG
00165 extern int Tcldbg_Init(Tcl_Interp *); // hackorama
00166 if (Tcldbg_Init(interp) == TCL_ERROR) {
00167 return TCL_ERROR;
00168 }
00169 #endif
00170
00171 Tcl_SetVar(interp, "tcl_rcFileName", "~/.ns.tcl", TCL_GLOBAL_ONLY);
00172 Tcl::init(interp, "ns");
00173 init_misc();
00174 et_ns_ptypes.load();
00175 et_ns_lib.load();
00176
00177
00178 #ifdef TCL_TEST
00179 if (Tcltest_Init(interp) == TCL_ERROR) {
00180 return TCL_ERROR;
00181 }
00182 Tcl_StaticPackage(interp, "Tcltest", Tcltest_Init,
00183 (Tcl_PackageInitProc *) NULL);
00184 #endif /* TCL_TEST */
00185
00186 return TCL_OK;
00187 }
|
Here is the call graph for this function:

|
|
Definition at line 20 of file tclAppInit.cc. Referenced by Tcl_AppInit(). |
|
|
Definition at line 21 of file tclAppInit.cc. Referenced by Tcl_AppInit(). |
1.3.3